Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PlayState extends FlxState
- {
- inline static var GUY_SPEED = 100; // how fast we want our guy to move
- var _guy:FlxSprite; // this is our 'guy' the player will move around
- var _baseY:Float; // this is the starting Y position of our guy, we will use this to make the guy float up and down
- var _flakes:FlxTypedGroup<Flake>; // a group of flakes
- var _vPad:FlxVirtualPad;
- override public function create():Void
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement