Advertisement
Guest User

Untitled

a guest
Jul 25th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Haxe 0.38 KB | None | 0 0
  1. class PlayState extends FlxState
  2. {
  3.     inline static var GUY_SPEED = 100;   // how fast we want our guy to move
  4.    
  5.     var _guy:FlxSprite; // this is our 'guy' the player will move around
  6.     var _baseY:Float;   // this is the starting Y position of our guy, we will use this to make the guy float up and down
  7.     var _flakes:FlxTypedGroup<Flake>; // a group of flakes
  8.     var _vPad:FlxVirtualPad;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement