After using Python I have moved on to Blender which is a game engine which has 3D platform on it.
The first steps are to set up a platform with the game logic window.
To make a player move you have to use the x and y axis. To make the player move when pressing the keyboard keys you use the sensor, controller and actuator.
I have been able to make my cube jump and move up, down, left and right and collect coins that I have put in. I have added a platform so if the cube goes over the edge it would fall because of the game physics to the game which apply gravity to the game so if it goes over the edge it would fall down.
The controls for moment on the game are the W.A.S.D for up, down, left and right and space bar is to jump.
Making the cube being able to move I had to use the sensor controller and the actuator and connected all of them together so when I pushed one of the keys that I had made be able to move my cube it would.
The first steps are to set up a platform with the game logic window.
To make a player move you have to use the x and y axis. To make the player move when pressing the keyboard keys you use the sensor, controller and actuator.
I have been able to make my cube jump and move up, down, left and right and collect coins that I have put in. I have added a platform so if the cube goes over the edge it would fall because of the game physics to the game which apply gravity to the game so if it goes over the edge it would fall down.
The controls for moment on the game are the W.A.S.D for up, down, left and right and space bar is to jump.
Making the cube being able to move I had to use the sensor controller and the actuator and connected all of them together so when I pushed one of the keys that I had made be able to move my cube it would.
Comments
Post a Comment