https://pixelpad.io/app/ywcsimssjuf/
Video 1
On the first video, it guided me through the very basics of the creation of the Space Shooter Game. I was taught to create a new object, went through sprites and classes, player speed, and most importantly movement. My first "if" statement was taught to me and how to use it to move my player with "WASD". This made my player react to the code for each key pressed either individually or separately. I also learned how to differentiate the loop and start tab, how to create a new_object, use quotation marks, and use brackets in code.
|
In the second video, it was generalized about enemies, and detection. First I chose and enemy sprite and added it into the sprite section. Secondly, we learned scaleX and scaleY and how to adjust the enemy size. I also created an Enemy class. In the Game class I learned how to connect the enemy class to the game class. Aswell as adding a position for the enemy to spawn and make it go in a downwards direction. Finally I learned how to control the speed of the enemy and how fast it should go down.
|