some minor changes
This commit is contained in:
parent
abe162bbb1
commit
8e659e38a5
@ -3,10 +3,10 @@
|
|||||||
<!-- NMML reference: https://gist.github.com/1763850 -->
|
<!-- NMML reference: https://gist.github.com/1763850 -->
|
||||||
|
|
||||||
<!-- metadata, make sure 'package' is at least 3 segments (ie. com.mycompany.myproject) -->
|
<!-- metadata, make sure 'package' is at least 3 segments (ie. com.mycompany.myproject) -->
|
||||||
<meta title="FLWork" package="FLWork" version="1.0.0" company="" />
|
<meta title="hgame" package="FLWork" version="1.0.0" company="" />
|
||||||
|
|
||||||
<!-- output -->
|
<!-- output -->
|
||||||
<app main="Main" file="FLWork" path="bin" />
|
<app main="Main" file="hgame" path="bin" />
|
||||||
|
|
||||||
<!-- <window background="#FFFFFF" fps="60" /> -->
|
<!-- <window background="#FFFFFF" fps="60" /> -->
|
||||||
<window background="null" color-depth="32" fps="60" />
|
<window background="null" color-depth="32" fps="60" />
|
||||||
|
|||||||
@ -23,7 +23,7 @@ class Main extends Sprite {
|
|||||||
stage.addEventListener(KeyboardEvent.KEY_UP,Input.onKeyIsUp);
|
stage.addEventListener(KeyboardEvent.KEY_UP,Input.onKeyIsUp);
|
||||||
stage.addEventListener(Event.RESIZE,onResize);
|
stage.addEventListener(Event.RESIZE,onResize);
|
||||||
game.onInit();
|
game.onInit();
|
||||||
Mode.setVideoMode(1920, 1080);
|
Mode.setVideoMode(800, 600);
|
||||||
}
|
}
|
||||||
private function onResize (event:Event):Void {
|
private function onResize (event:Event):Void {
|
||||||
//Here we can do shit with window scaling
|
//Here we can do shit with window scaling
|
||||||
|
|||||||
@ -28,7 +28,7 @@ class Console extends Sprite{
|
|||||||
|
|
||||||
cIn = new TextField();
|
cIn = new TextField();
|
||||||
cIn.type = TextFieldType.INPUT;
|
cIn.type = TextFieldType.INPUT;
|
||||||
cIn.text = "b";
|
cIn.text = '';
|
||||||
cIn.multiline = false;
|
cIn.multiline = false;
|
||||||
//cIn.autoSize = TextFieldAutoSize.LEFT;
|
//cIn.autoSize = TextFieldAutoSize.LEFT;
|
||||||
cIn.width = 800-24;
|
cIn.width = 800-24;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user