Making Movement
Moving
I was the one in charge of coding our game and my first goal was to make the player move.
Since our game was first person you also needed to be able to move the camera, so i worked on that first. I realized i had another game with a camera and movement system so i thought it would be easy. First, I imported scripts some from my old game like camera movement and the player controller and put them in. Finally, when i actually tried using them--Nothing worked.
My code for my old game had to be tweaked. First of all my old game had many elements not needed in our game, so i had to remove the parts of code that referenced those. Now at least it would run and the camera movement worked. But the player was still a rock. Turns out i accidentally deleted the movement code while deleting the supposedly "unneeded" code.
Ok, i re-added that and now the player moves. Finally(again), I try to do some platforming and--Nothing worked.
I ALSO forgot my old game didn't have jumping and i never tried to jump until now. A few minutes of code later the player can finally jump around freely. I also added a double jump to the game because i felt that it would make it more fun to have greater control in the air. Just ignore the fact it that you get an extra jump if you start on the ground(It's not a bug, It's a feature).
Get Stop Da Spy
Stop Da Spy
Status | Released |
Authors | ThatOneRandom2, Maskjam, SumRandomPerson |
More posts
- Music and audio70 days ago
- Disk Projectile Imported70 days ago
- MovingStairs script , beta Time Stop & UpdateMar 28, 2025
- Continuation of level 2 and Ievel 2 design & ideasMar 14, 2025
- Disk ProjectileMar 14, 2025
- Enemies And More MovementMar 11, 2025
- levelsMar 06, 2025
Leave a comment
Log in with itch.io to leave a comment.