Map Editor Changes
* Removed Ogmo and replaced with Ldtk. * TODO - Level Transitions
This commit is contained in:
@@ -13,14 +13,14 @@ class Player extends FlxSprite
|
||||
var _left:FlxActionDigital;
|
||||
var _right:FlxActionDigital;
|
||||
var _jump:FlxActionDigital;
|
||||
var _jumpPower:Int = 200;
|
||||
var _jumpPower:Int = 230;
|
||||
|
||||
public function new(x:Int, y:Int)
|
||||
{
|
||||
super(x, y);
|
||||
|
||||
makeGraphic(16, 16, FlxColor.BLUE);
|
||||
var runSpeed:Int = 80;
|
||||
var runSpeed:Int = 120;
|
||||
drag.x = runSpeed * 8;
|
||||
acceleration.y = 420;
|
||||
maxVelocity.set(runSpeed, _jumpPower);
|
||||
|
||||
Reference in New Issue
Block a user