GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Efficient Falling Snow

rob.ertrob.ert Posts: 42Member
edited November -1 in Working with GS (Mac)
I've got a winter-themed game, and would like to have falling snow in the background. Is there any efficient way to do this? Perhaps using particles, etc? Thanks!

Comments

  • quantumsheepquantumsheep Posts: 8,188Member
    rob.ert said:
    I've got a winter-themed game, and would like to have falling snow in the background. Is there any efficient way to do this? Perhaps using particles, etc? Thanks!

    Could you not animate the background? Would be the simplest way I think...

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: http://www.quantum-sheep.com

  • ORBZORBZ Posts: 1,303Member
    A single tposition just off the top pf the camera view actor oscillating over the x axis position dropping particles at random intervals would work too.

    My first thought was animation too. But I'm a procesural guy because I can tweak the fx at runtime. Example, blizzard or rain is the same actor different particle.

    Less r, more CPU. Not much though.

    Either method will work. Animation if you can do it.
  • quantumsheepquantumsheep Posts: 8,188Member
    ORBZ said:
    But I'm a procesural guy

    Are you drunk?

    ;)

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: http://www.quantum-sheep.com

  • ORBZORBZ Posts: 1,303Member
    iPhone text correction eating my words.

    Procedural
  • jstrahanjstrahan Posts: 498Member
    lmao gotta luv that text correction
  • charlieaf92charlieaf92 Posts: 84Member
    What about layering a few backgrounds of snow flakes and animating them at slightly different speeds and directions?
  • synthesissynthesis Posts: 1,693Member
    Try tiling the snow and then interpolate Y on an oversized actor in a loop the distance of the texture sample height.

    Also....I've never tried it but maybe you can tile an animation behavior and make a small animated swatch of snow falling. You would just need to be clever on how the animation texture loops.
  • firemaplegamesfiremaplegames Posts: 3,206Member
    The new update of Bumps has some nice snowflakes in the new snow levels...
  • synthesissynthesis Posts: 1,693Member
    Here is a demo I just posted if you desire:
    http://gamesalad.com/forums/topic.php?id=10199
This discussion has been closed.