2. CREATING PLAYER SPRITE
Here it shows me creating a
player sprite so it can be used
for attaching coding to at a
later date, and here I have
tried to give the effect of the
blue flames bursting through
the engine to indicate the
spaceship is moving forward,
aswell as putting various
turrets where the laser will
fire from when I'm in a later
version of development, I
have also have made the
main colours of the
spaceship to be blue so
rather easy spot which player
is you and which is the
enemy.
3. MODIFYING MASK FOR PLAYER SPRITE
Here you can see where is
modify the mask of the
player sprite. I do this so
that when the player is hit
by an enemy laser it will
show the area where the
impact can occur on the
sprite, and I also make the
shape of the mask into a
diamond so that the
impact area is fair and
that there is no major
performance issues when
playing or testing the
game.
4. CODING PLAYER 1
Here I start to input code
onto the player object and
call this bit of code
“movement” where it will
hold all the different keys
which the controls will be
mapped to allow the
player sprite/object to
move across the screen, it
will also hold controls for
firing the laser that will be
produced by the player
5. ADDING MOVEMENT CODE TO PLAYER 1
In this part of the player
code I start to input the
movement code where
it tells the player object
which keys control the
movement and how fast
it travels when moving
left,right,up and down.
6. PLAYER 1 CODING: STEP
After creating the script
on where the code will
be placed I then start to
input the actual code
with the controls of
movement and firing
the player laser and
keys that controls will
be mapped to are
(W,A,S,D) for the
movement and (ENTER)
for the firing key.
7. CREATING BACKGROUND
I then start to create a
background for the
game which will give it
abit more of a theme
and will be more
satisfying to the eye in
some sense, so I wanted
to make space
background so I would
later design various
planets, asteroids and
stars.
8. EXPERIMENTING WITH DIFFERENT
BACKGROUNDS
Here I test out various
backgrounds and see
whether or not it they are
to a good enough
standard but on this
particular background I
discover that when the
player moves out of the
room and then enters
back into it there is a
very noticeable gap on
where I couldn’t add
detail to.
9. CREATING JET OBJECT CODE
After creating a suitable
background I move
back to the player object
where I start to add a jet
effect that will trail
behind the player to give
the indication that the
player is moving forward
by engine on the
spaceship.