From 8e659e38a542941a5b26fa987e962b561905ce25 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 67b017a6..5ba96a33 100644 --- a/hGameTest/src/game/ui/Console.hx +++ b/hGameTest/src/game/ui/Console.hx @@ -28,7 +28,7 @@ class Console extends Sprite{ cIn = new TextField(); cIn.type = TextFieldType.INPUT; - cIn.text = "b"; + cIn.text = ''; cIn.multiline = false; //cIn.autoSize = TextFieldAutoSize.LEFT; cIn.width = 800-24;