Creating the levels
The first thing I did was to create the first level. I did this be creating a room 600 pixels high by 90000 pixels wide! This ensured that I could add extra background objects like planets and so forth as the player moved along, something to break up the tiled space background.
Once I created the 'room' I needed someway to have it continually scroll to the left so the player could move along. I did this by creating a controller object (with no sprite) placing it in the room and set it moving to the right as soon as the game starts, I then focused the view on this object so the room had to scroll. I searched and found (as I did with nearly all the graphics) a nice space background that tiled well and used this, then I found some small moons / planets and nebulars which I created as objects which I could scatter about the level to break up the endless space backdrop.
So now I had a scrolling space level, it was time to add the player.
Once I created the 'room' I needed someway to have it continually scroll to the left so the player could move along. I did this by creating a controller object (with no sprite) placing it in the room and set it moving to the right as soon as the game starts, I then focused the view on this object so the room had to scroll. I searched and found (as I did with nearly all the graphics) a nice space background that tiled well and used this, then I found some small moons / planets and nebulars which I created as objects which I could scatter about the level to break up the endless space backdrop.
So now I had a scrolling space level, it was time to add the player.


0 Comments:
Post a Comment
<< Home