Video 1:
I learned how to navigate through pixel pad and started on my space shooter tutorial. (No picture).
I learned how to navigate through pixel pad and started on my space shooter tutorial. (No picture).
Video 2:
I have started on space shooter and in this lesson i learned how to add characters to my project. I also managed to use if statements to get my spaceship moving with W,A,S,D. I learned how to set the speed of my ship using the game section in the classes tab and the size of my ship. (no picture).
I have started on space shooter and in this lesson i learned how to add characters to my project. I also managed to use if statements to get my spaceship moving with W,A,S,D. I learned how to set the speed of my ship using the game section in the classes tab and the size of my ship. (no picture).
Video 3:
In this session I was adding an enemy to my game. I learned how to have a starting point for my enemy and ship using game.enemy.y and game.player.y .
In this session I was adding an enemy to my game. I learned how to have a starting point for my enemy and ship using game.enemy.y and game.player.y .
Video 4:
In this lesson I learned how to clear up my algorithm and divide it into sections. Before most of my lines of code were in my game class, but I learned how to put specific lines into my enemy and player class using the self command. That made my algorithm simpler and easier to read. I also made a bullet that collides and destroys my enemy.
In this lesson I learned how to clear up my algorithm and divide it into sections. Before most of my lines of code were in my game class, but I learned how to put specific lines into my enemy and player class using the self command. That made my algorithm simpler and easier to read. I also made a bullet that collides and destroys my enemy.
Video 5:
I added more enemies to my game. I added a spawner which allowed me to multiple more enemies and i also had an error that made my bullet to crash, it turns out my on my start tab of the bullet class i had the letters typed AS accidentally. Also I learned how to let the game know enemies were being destroyed.
I added more enemies to my game. I added a spawner which allowed me to multiple more enemies and i also had an error that made my bullet to crash, it turns out my on my start tab of the bullet class i had the letters typed AS accidentally. Also I learned how to let the game know enemies were being destroyed.
Video 6:
Video 6 taught me how to set my enemies in random places. i did this my using the line random.uniform in the enemy tab of the game. i also learned how to display the score of when my bullet collides with the enemy and destroys it in the console tab. All this code was done through the bullet loop tab and i used code game.score.
Video 6 taught me how to set my enemies in random places. i did this my using the line random.uniform in the enemy tab of the game. i also learned how to display the score of when my bullet collides with the enemy and destroys it in the console tab. All this code was done through the bullet loop tab and i used code game.score.
Video 7:
Last video i learned how to get my score going. This video i learned how to have my score display in the game itself. I used lines of code like game.scoreText and game.scoretext.color. I also added a background to my game and have it displayed behind my game.
Last video i learned how to get my score going. This video i learned how to have my score display in the game itself. I used lines of code like game.scoreText and game.scoretext.color. I also added a background to my game and have it displayed behind my game.
Video 8:
In this video I learned how to get a power up to show onto my screen. I also chose a power up sprite. Also using the lines bulletL and bulletR my bullets triple but I still need to finish randomizing where my powerup goes.
In this video I learned how to get a power up to show onto my screen. I also chose a power up sprite. Also using the lines bulletL and bulletR my bullets triple but I still need to finish randomizing where my powerup goes.
Video 8:
i learned how to have my powerups randomly come and go. Also I added a game over screen to my game. I still have to get the screen to work but when i collide with an enemy it takes me to the game over screen. i also moved some lines of code to my play room from my game class and set room to play in the game class. i created another game over room in order for the game over screen to display.
i learned how to have my powerups randomly come and go. Also I added a game over screen to my game. I still have to get the screen to work but when i collide with an enemy it takes me to the game over screen. i also moved some lines of code to my play room from my game class and set room to play in the game class. i created another game over room in order for the game over screen to display.
Video 9:
I learned how to add a background to my game over screen and have the score displayed when the game over screen is displayed. Also i can press space to play again. I got it to work by adding some lines of code to my game over tab, like game.backround and in the loop tab, if space key is pressed set room back to play, so that makes the game reset. I also added sound to my bullet, when my enemy dies, powerup, when powerup runs out, and backround music too.
I learned how to add a background to my game over screen and have the score displayed when the game over screen is displayed. Also i can press space to play again. I got it to work by adding some lines of code to my game over tab, like game.backround and in the loop tab, if space key is pressed set room back to play, so that makes the game reset. I also added sound to my bullet, when my enemy dies, powerup, when powerup runs out, and backround music too.
Extensions:
I added a out of bounds area to my game. So if my player leaves the screen it dies(Kristian helped me with this). I also added a main menu screen.
I added a out of bounds area to my game. So if my player leaves the screen it dies(Kristian helped me with this). I also added a main menu screen.