Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions code/character.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
Mario.Character = function() {
//these are static in Notch's code... here it doesn't seem necessary
this.Large = false;
this.Fire = false;
this.Coins = 0;
this.Lives = 3;
this.Fire = true;
this.Coins = 1000000;
this.Lives = 100000000;
this.LevelString = "none";
this.GroundInertia = 0.89;
this.AirInertia = 0.89;
this.AirInertia = 15048965135461321354;

//non static variables in Notch's code
this.RunTime = 0;
Expand All @@ -20,9 +20,9 @@ Mario.Character = function() {
this.MayJump = false;
this.Ducking = false;
this.Sliding = false;
this.JumpTime = 0;
this.XJumpSpeed = 0;
this.YJumpSpeed = 0;
this.JumpTime = 5;
this.XJumpSpeed = 5000;
this.YJumpSpeed = 15;
this.CanShoot = false;

this.Width = 4;
Expand Down