Mason McCuskey
Spin Studios
www.spin-studios.com
Items in side scrollers
I've always just made special items seperate sprites with their own coordinates.
Founder, Cuttlefish Industries
The Cuttlefish Engine lets anyone develop great games for iPad, iPhone, Android, WP7, the web, and more!
The Cuttlefish Engine lets anyone develop great games for iPad, iPhone, Android, WP7, the web, and more!
You could (if you are making a multi-layer map) put the game objects end NPC's on the second layer in their starting positions then in your tile engine, update their positions accordingly. This might make it easier to plan out the complete level at a glance.
How would you all go about putting items into a side scroller?
Would you have items as a tile attribute, so that the item is just blitted transparently over top of a tile, and when the sprite touches the tile, the item attribute is set to zero?
Or would you just have the tiles as sprites with their own x,y coords?
I think that the second would look better, but the first would be less work. How would you do this?
------------------
"can't waste the day when the night brings a hearse"
"can't waste the day when the night brings a hearse"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement