I had mentioned to Erik the other day that it'd be nice to have a walkthrough for drawing images on games (and an introduction to sprites in general). I was wondering in particular, how you would go about drawing drawing backgrounds on games?
As an example, suppose I want to draw the ground on my game using the images attached to this post. Not having too much experience with this, I imagine you can take one of two approaches:
- Draw out the entire background in another program like Photoshop and upload one large image to your game.
- Use lots of smaller sprites and combine them together *within* the game to make it seem like one contiguous piece.
Intuitively the second one approach seems like the better one to me, but I'm not sure how to accomplish this in Excalibur without rendering lots and lots of actors. Is there a way to make sprites repeat within the context of a single actor? Thanks! -Alex