From 7e3369d12800e520856a6fe78f8a4a99e97e09a2 Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 31 Mar 2021 16:13:23 +0200 Subject: [PATCH] some minor changes --- hGameTest/project.xml | 4 ++-- hGameTest/src/Main.hx | 2 +- hGameTest/src/game/ui/Console.hx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hGameTest/project.xml b/hGameTest/project.xml index 3dabf948..285f93fe 100644 --- a/hGameTest/project.xml +++ b/hGameTest/project.xml @@ -3,10 +3,10 @@ - + - + diff --git a/hGameTest/src/Main.hx b/hGameTest/src/Main.hx index 455e07fb..31bfc990 100644 --- a/hGameTest/src/Main.hx +++ b/hGameTest/src/Main.hx @@ -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 diff --git a/hGameTest/src/game/ui/Console.hx b/hGameTest/src/game/ui/Console.hx index 2acd4d45..b5c0d973 100644 --- a/hGameTest/src/game/ui/Console.hx +++ b/hGameTest/src/game/ui/Console.hx @@ -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;