diff --git a/Wallpapers/Rain.wlp/Config.cfg b/Wallpapers/Rain.wlp/Config.cfg deleted file mode 100644 index f76b4805..00000000 --- a/Wallpapers/Rain.wlp/Config.cfg +++ /dev/null @@ -1 +0,0 @@ -{["dropAmount"]=50,["speed"]=0.4,["backgroundColor"]=986895,["dropColor"]=43775} \ No newline at end of file diff --git a/Wallpapers/Snow.wlp/Main.lua b/Wallpapers/Snow.wlp/Main.lua index 7431fecf..ff661ab0 100644 --- a/Wallpapers/Snow.wlp/Main.lua +++ b/Wallpapers/Snow.wlp/Main.lua @@ -93,7 +93,7 @@ return { screenDrawSemiPixelRectangle(wallpaper.x + x, wallpaper.y + wallpaper.height * 2 - stackHeight + 1, 1, stackHeight, config.snowflakeColor) if stackHeight > config.maxStackHeight then - stacks[x] = 0 + stacks[x] = stackHeight - 2 end end @@ -136,6 +136,22 @@ return { if y >= doubleHeight - stackHeight then stacks[x] = stackHeight + 1 + + if x > 0 then + local leftStackHeight = stacks[x-1] or 0 + if stacks[x] - leftStackHeight > 2 then + stacks[x-1] = leftStackHeight + 1 + stacks[x] = stackHeight + end + end + + if x < wallpaper.width-1 then + local rightStackHeight = stacks[x+1] or 0 + if stacks[x] - rightStackHeight > 2 then + stacks[x+1] = rightStackHeight + 1 + stacks[x] = stackHeight + end + end tableRemove(snowflakes, i) else