Rocket Punch
Rocket Punch
Single-player
Alt-Controler
Three-week project
Design: FoxMiao, Rance
Code: FoxMiao
AltControler: Rance, FoxMiao
Asset: Rance, FoxMiao
Problem solving
There is many problem that me and Rance went through during this project, but there is one thing that is so important that I want to mention.
Rance testing the first version of Rocket Punch
In the beginning, I want to make the controller feel more realistic, more like an actual flight simulator.
I made the controller in Unity and tested it out with the keyboard, and soon found out the issue:
I can barely control the hand with the keyboard.
Yes, this was the control I wanted to have, realistic, move like a rocket… BUT IS NOT FUN!
I need to make a decision, keep the realistic movement, or change it to something much easier to control.
The first controller for Rocket Punch
I re-programmed the movement controller.
To make the movement feel like a fast and quick response, by the time I had, I used something no programmer would use for movement: move by the transform position.
Normally, programmers use Added force or physical ways to make a game object move, but those physical things need time to increase the speed, so the object won’t move fast from the start, which is how the first controller I made works.
Changing the transform position is bad because another object won’t stop the moving object; it will just go through a wall, enemy, floor, or any obstacle.
To solve the bad nature that comes with the new controller, I lock how far players can move right and left, up and down, so players can’t fly free like they used to. And from now on, players will get killed if they hit any wall.
New Controller
Old Controller
It is very easy to see the difference; the new controller offers players better control, and it makes the game more fun but less realistic than the old one.
This is not a change that affects the code; it changes the layout of the map to make it liner. Because players do not worry about the base control, they can use some other controller that makes the punch go fast and slow.