some minor changes

This commit is contained in:
2021-03-31 16:13:23 +02:00
parent 33e5a67e4d
commit 7e3369d128
3 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ class Main extends Sprite {
stage.addEventListener(KeyboardEvent.KEY_UP,Input.onKeyIsUp);
stage.addEventListener(Event.RESIZE,onResize);
game.onInit();
Mode.setVideoMode(1920, 1080);
Mode.setVideoMode(800, 600);
}
private function onResize (event:Event):Void {
//Here we can do shit with window scaling

View File

@@ -32,7 +32,7 @@ class Console extends Sprite{
cIn = new TextField();
cIn.type = TextFieldType.INPUT;
cIn.text = 'sv_kak bla "ik 1; ben 2; haast 3; niet 4" "in 5; staat 6;" om de straat "te verlaten";';
cIn.text = '';
cIn.multiline = false;
//cIn.autoSize = TextFieldAutoSize.LEFT;
cIn.width = 800-24;