2d road sprite's size?

Started by
3 comments, last by taoufikallah 11 years, 11 months ago
I'm starting out a small 2d game and I need to know what to do about the road sprite.
Should it be a one piece image? or should it be divided into small pieces? and how high should the road be for a "racing car game"?

thank you!
Advertisement
Can you describe your game in a bit more detail? Is it top-down? Side-scrolling? Pseudo-3D? What kind of shapes will your roads take? What do you mean by "how high should the road be"?

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

Thanks for replying,
Well my game is like the old road fighter.
what I mean by how high the road should be...is the height. if I simply use one piece of image. how high should it be?
Ah, gotcha :-)

Usually the way this is done is to have a single sprite that you repeatedly draw in a vertical stack. So the sprite would be about as tall as one "stripe" on the road plus one "blank space" between stripes, if that makes sense. Then you just draw that several times, each copy going below the one above it, and you have the complete screen.

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

Thank you I got it all :)

This topic is closed to new replies.

Advertisement