Tiny Wings - Placing items
- by Federico
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/