Tiny Wings - Placing items
Posted
by
Federico
on Game Development
See other posts from Game Development
or by Federico
Published on 2012-09-18T07:03:21Z
Indexed on
2012/09/18
9:52 UTC
Read the original article
Hit count: 307
actionscript-3
I'm currently developing a Flash game like 'Tiny Wings'. I have a lot of work done, but i'm currently working on placing the items ( coins and obstacles ) on the terrain.
My player it is moving on a auto-generated terrain (based on Emanuele Feronato's tutorials) so every time the player's x position is greater than (screenWidth + x) another hill is generated and so on.
I'm currently having problems placing the items in a correct angle and put 5 or more items together on a hill.
Could you please help me with this?
Thanks, Regards.
PS: This is the URL to the Emanuele Feronato post and the code to make the hills http://www.emanueleferonato.com/2011/10/04/create-a-terrain-like-the-one-in-tiny-wings-with-flash-and-box2d-%E2%80%93-adding-more-bumps/
© Game Development or respective owner