![]() ![]() The Paddle Game was one of the first 2 dimensional games ever released, in which two players can play against one another trying to hit a ball past the opponent. The Paddle Game is a game based off of table tennis (Ping Pong). With this task complete, you can now play games with two players in it: these players can currently only move around the screen, but you can implement any other behavior you want. ![]() Change ||variables:mySprite|| to ||variables:player2|| Get a ||controller:player 2 move mySprite with buttons||.Draw a different smiley face for the image, and change the variable name to ||variables:player2|| Get another ||variables:set mySprite to||.The button mappings depend on the controller, and some gamepads may not work.Īdditionally, multiple gamepads can be used to allow for more than the two players a keyboard supports, allowing for three or more players in a single game.Ĭontroller.moveSprite(player1) Student Task #1: Loading Player Two ![]() Many gamepads (for example, an Xbox One controller) can be used to control the game as well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |