Post on 18-Jul-2015
transcript
This project was to make our own side scrolling space shooter
I started with making my own sprites which are 2D pictures that can be used as an animation
This will be the playable character. I have named him Olaf_Spr so when it comes to coding I know what he is called.
To defend him self he will ire blue and green lasers at enemy's
EDIT - he now blinks
His outlines have been redone to make him stand out more from the background
The laser comes from his eye
This will be the enemy sprite named BarmyOwl_Spr, this enemy will fire lasers at the playable character.
EDIT-His eyes move as well as his tie flashes red and yellow as part of an animation.
His lasers come from his eyes
This is the mask, what enemy lasers and objects hit to damage him.
This will be done to all sprites so objects have an accurate boundary so lasers and other objects only damage if hit.
EDIT-all sprites have a precise mask.
This is all the coding for the player object witch includes collision with enemy objects and lasers.
This is the movement coding and the limits coding so the player can move, but not off-screen
EDIT-Limits widened due to being to small in height.
Movement is slightly faster to help dodge lasers.
This is he room or the level, full with moving backgrounds at different speeds, and a foreground of very fast moving stars.
EDIT-buttons taken out due to not enough sprite space
The audio for enemy's, lasers and player now work and are being used, each sound is unique and given to a separate object.
The sounds including music have been renamed to help me navigate
EDIT- music plays though the game with loop
The system has been edited to spawn enemies correctly and play music
EDIT-alarm 1 and 3 are working correctly.
Now when the players death animation finishes the room/level restarts
Destroying instances now work with all objects. So the build up off-screen isn't too big and enemies that are off-screen cannot shoot
The font for the point system has a better name, colour, size and placement, so it is not in the way.