Log In  

Cart #snowfall-1 | 2024-04-22 | Embed ▽ | License: CC4-BY-NC-SA
8

Made this to try my hand at using sin and cos to draw shapes. plus i just wanted to make some snow :3 I overclocked it with the number of snowflakes because i wanted to see as many as possible. the framerate drops aren't so bad for the subject matter anyway...

EDIT: 1.1 Update!

  • number of flakes and max radius fluctuates now so it's a much more dynamic screensaver
  • refactored the code in a separate lua file for easy implementation into other projects
  • "manual" mode with button inputs for messing around, also intended for anyone who wants to use this for their own thing. to access this, load the cart and set "manual" to true in snowflakes.lua
P#145921 2024-04-06 19:45 ( Edited 2024-04-22 20:49)

This is beautiful!
I would love to do so something like this for my game instead of the classic falling pixels one.
Is it ok if I just use this and credit you?

P#145991 2024-04-07 18:30 ( Edited 2024-04-07 18:31)
1

oh absolutely, go for it!

P#145993 2024-04-07 19:17

[Please log in to post a comment]