Hi peps ive made a good scrolling shooter for my first game, now I have a good idea on what I need to do but thought get some other peoples thoughts on how to create some scrolling terrain based on sprite sheets.
Now I have not mastered sprites this is where my knowledge is weak.
I have created a sprite sheet with 20 50x50 images of a edge of a mountain, each sprite will seamlessly join on the Y axis perfectly at the same position.
Now I will drop sprites every 50 pixels as my level scrolls and move the dropped sprites, this is the easy part.
Now the part im unsure on is the collision detection, should I:
1.make each sprite a dynamic body, does the sprite api allow this easily
or
2. be trying to make one big physics shape the covers all the sprites that define my edge/terrain. Possibly updating the shape on every 50 pixels worth of scrolling when a new sprite is added/removed offscreen?
Would love to know if any one has done this well, I could easily make a straight Y limit to define my cliff edge/terrain but feel that it im losing the beauty of collision shapes.
THX
[import]uid: 118379 topic_id: 25420 reply_id: 325420[/import]
Glad you found something that works for you. [import]uid: 39846 topic_id: 25420 reply_id: 106981[/import]