In any game, you move the main character by pressing a button. Run the game, and your players should now be in different places: Then we set the horizontal ( x ) position depending on the player ID: In this event, we set the vertical ( y ) position of the player to the vertical centre of the room. Open obj_player, and add the Create event. We need to place them in individual spots so they’re distinctly visible. Run the game, and you will see a player peeking from the top-left corner: We will later set this to false when taking our game online. Mplay game maker Offline#The second argument for rollback_create_game() is true, which enables offline testing. It will only start when both players have joined.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |