Menu

Source code

2015-11-05
2015-11-05
  • Josh Cunningham

    Josh Cunningham - 2015-11-05

    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.

     
  • Josh Cunningham

    Josh Cunningham - 2015-11-05

    The new default level is robolevel the level1 scene is using the smaller lizard sprite.

     
  • Josh Cunningham

    Josh Cunningham - 2015-11-05

    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;
    
                }
            }
    
     

Log in to post a comment.