Jump to content

Falling snowflakes


Irn3rd
 Share

Recommended Posts

I've been assigned to do some work creating a game where snowflakes fall from top to bottom, and you click to earn points etc, this is also my first proper go at game dev at all so there's a bit of a learning curve for me.

 

I've been looking through the documentation on-line, and couldn't find much relevant.

 

How would I go about creating the falling snowflakes?

 

Was thinking of having an array to hold each sprite/particle and when one is click record the score and then add a new one to start falling.

 

Any pointers or places to look for examples would be greatly appreciated.

 

 

Link to comment
Share on other sites

Have a look at the emitter in panda if you just want to simulate the visual effect of falling snowflakes. You can find the official example on the pandajs website. There are also some examples of emitters on: vermeire.home.xs4all.nl/panda.

In order to make them clickable you will have to use sprites and probably will need to pool them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...