Simple skeleton with libgdx.
Clone the project to Intellij.
Run the game once. Select "host game" (using the enter key). Enter your name when prompted. Press enter to start the game.
Click "edit run configurations". In the upper right corner, check the "allow parallell run" box. Run up to 4 iterations of the game. First, in one iteration, chose "host game", and enter your name when prompted. In the other iterations, choose "join game", enter adress "localhost" when prompted, then enter name when prompted. To start the game, all users must select a character. Mute 1 of the windows so the music doesnt overlap (if playing on one computer).
When in game, use the arrow keys to highlight a card. To select the card, press space. FOR DEBUGGING: WASD will let you control your character, enter will cause character to take 1hp of damage. WARNING: using WASD to control character will desync robots in multiplayer.
- Start the game and graphics appear means graphics work.
- Step on the HOLE will make the character die
- Step on the GEARS will make the character rotate
- Step on the CONVEYOR BELT will make the character move towards the direction it points
- Step in front of a PUSHER tile and it will PUSH the robot 1 tile in the direction of the PUSHER
- Step out of the MAP and the player will die
- Step on the GRILL and the player will lose HP
- Step in front of a LASER and the player will lose HP
- Step on a FLAG the player will gain HP
- Step on a FLAG the player will get a new RESPAWN POINT
- Do either step 1 or step 4 after step 7 or step 8, and the player will RESPAWN at the latest RESPAWN POINT
- Die 3 times and the player will not be able to move
- Step on all 4 FLAGS and you will win the game
Currently throws "WARNING: An illegal reflective access operation has occurred", when the java version used is >8. This has no effect on function or performance, and is just a warning.
Very rarely you get dealt an invisible card