Hey, so I don’t have that much experience coding I have been trying to make a game like Geometry Dash, but it hasn’t worked out that good so I was wondering if someone had a script that makes the object move forward and jump between platforms, and also not to jump when it’s in the air, I would appreciate the help and thank you.
Take one step at a time and you’ll get there.
- Create a script where in Update() you move the player to the right eg. PlayerObject.x += 1. Ensure your camera follows your player or update it in the script
- Place a few random objects on the scene and watch your player run past them
- Add storage of these objects and generate them from script - eg. in a variable/array store the floor height at each point in time or a way you can calculate it
- Generate these object through code
- Add code for determining if you are on the ground based on your location in time vs the variable/array