diff --git a/package.json b/package.json index a464616..e4cfb99 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "funding": "https://github.com/sponsors/RodrigoDornelles", "bugs": "https://github.com/gamelly/gly-ide/issues", "devDependencies": { - "@gamely/core-native-html5": "^0.0.10", - "@gamely/gly-engine": "^0.0.10", + "@gamely/core-native-html5": "^0.0.15", + "@gamely/gly-engine-lite": "^0.0.15", "copy-webpack-plugin": "11.0.0", "css-loader": "6.7.3", "html-webpack-plugin": "5.5.0", diff --git a/src/default.lua b/src/default.lua index d8a3ed9..7a991dc 100644 --- a/src/default.lua +++ b/src/default.lua @@ -1,4 +1,4 @@ std.draw.clear(std.color.blue) std.draw.color(std.color.white) -std.draw.font(48) -std.draw.text(8 , 8, 'Hello world!') +std.text.font_size(std.app.width/8) +std.text.print(8 , 8, 'Hello world!') diff --git a/src/index.html b/src/index.html index 7968ef1..3dfb479 100644 --- a/src/index.html +++ b/src/index.html @@ -5,8 +5,8 @@ - -