Falling snow

Member
Posts: 254
Joined: 2005.10
Post: #1
I remember this shareware game for the Atari ST back in the day called Snowball Fight. One of the cool features it had was that the 'ground' level would change as snow fell, players picked up snowballs, and snowballs landed on the ground. I have been thinking about how to accomplish this, but I'm can't think of any way to do it but to have an array to track the height of the ground at certain points across the screen. Does anyone know of a better/cooler way to do it?
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #2
There's nothing wrong with an array representing snow depth. It would be easy and fast.

I'm sure that you could come up with something really complex and inefficient if you try hard enough Rasp
Quote this message in a reply
Member
Posts: 567
Joined: 2004.07
Post: #3
you could have a 2d array of depth at certain cells and then interpolate the points to create a smoother surface, and during render time, translate some points for snow prints (footprints, snowangels, etc.) during render time.

It's not magic, it's Ruby.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Spaces on Snow Leopard and ctrl/arrow keys GolfHacker 19 15,714 Dec 4, 2012 03:18 PM
Last Post: bmantzey
  Falling Shunter 20 7,134 Oct 29, 2006 03:17 AM
Last Post: haydenm