Initial Commit
* Adds Menu * Adds Level Manager - LevelBase * Adds Sample level * Basic player movement
This commit is contained in:
19
source/Main.hx
Normal file
19
source/Main.hx
Normal file
@@ -0,0 +1,19 @@
|
||||
package;
|
||||
|
||||
import djFlixel.D;
|
||||
import flixel.FlxGame;
|
||||
import openfl.display.Sprite;
|
||||
|
||||
class Main extends Sprite
|
||||
{
|
||||
public function new()
|
||||
{
|
||||
super();
|
||||
D.init({
|
||||
name: "RAW" + D.DJFLX_VER,
|
||||
debug_keys: true, // Automatic asset reload on [F12]
|
||||
smoothing: false,
|
||||
});
|
||||
addChild(new FlxGame(0, 0, PlayState, 2));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user