I uploaded a cleaned up version of the Unity package. I included some comments in the scripts to help understand what they are doing. I did this for myself to keep it all straight.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You will need to change the jump button section in the player script to make it playable
if (Input.GetButtonDown ("Jump")) {
...
}
///This is where the change is needed. Should be getbuttonup and not down
if (Input.GetButtonUp ("Jump")) {
if (velocity.y > minJumpVelocity) {
velocity.y = minJumpVelocity;
}
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I uploaded a cleaned up version of the Unity package. I included some comments in the scripts to help understand what they are doing. I did this for myself to keep it all straight.
The new default level is robolevel the level1 scene is using the smaller lizard sprite.
You will need to change the jump button section in the player script to make it playable