Top down block shooter zombie4/5/2023 ![]() When I start as clone :: control hat // Do this if you did (O#1). If on edge, bounce // doesn't let the player go off the edge - going off the edge restricts the player from firing Set to ((0.9) * (xspeed)) // Decrease the x variable.Ĭreate clone of // This is optional (O#1). Set to ((0.9) * (yspeed)) // Decrease the y variable. If or > then // If d or right arrow key pressed. If or > then // If a or left arrow key pressed. If or > then // If s or down arrow key pressed. If or > then // If w or up arrow key pressed. Point towards // Make the pcs point towards the mouse pointer.Ĭhange x by (xspeed) // Change x by a variable.Ĭhange y by (yspeed) // Change y by a variable. Go to x(-100) y(0) // Move the pcs (player-controlled sprite) to the middle of the left side of the screen.įorever // Loop the following script forever. Switch costume to (player v) // Switch the costume to "player" or what you named your player costume. When flag clicked // You can change this if you would like to. By adding a positive to a negitave make the number smaller Move (Player Bounceback) steps // move the player backĬhange by (0.1) // increase (or decrease, whichever way you'd refer to it as) the player bounceback. If and> then // if the game isn't paused and the player bonunceback is less than 0(the variable will be negitave to make the player go backward) then. Set to (0) // reset the player bounceback After a base costume for the PCS (player-controlled sprite) has been made, create the variables (Player Bounceback), (xspeed), and (yspeed) for all sprites. This section will focus on the movement and direction of the player sprite. There are no given costumes included with this tutorial - be creative and create some! Show all variables that need to be shown in a fancy way.Release specific zombies at a specific rate depending on the level/wave the player is on.Include multiple weapons for the player to choose from.When a laser hits an enemy (in this tutorial, a zombie), make that zombie lose some health points when the zombie runs out of health points (has less than 0.1), delete the zombie and change the $ by an amount depending on what type of zombie it is.When a shape is destroyed, give the player a specific amount of money depending on what shape was destroyed. ![]() Make the player fire lasers when the left mouse button is down.Before starting to build the game, here's a plan that will be followed:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |