diff --git a/assets/png/bg.png b/assets/png/bg.png index 4fd25e7..9f9cc31 100644 Binary files a/assets/png/bg.png and b/assets/png/bg.png differ diff --git a/assets/png/pspbrwse.jbf b/assets/png/pspbrwse.jbf index 0841d4b..d84da80 100644 Binary files a/assets/png/pspbrwse.jbf and b/assets/png/pspbrwse.jbf differ diff --git a/game.project b/game.project index 77e0202..adcc6bc 100644 --- a/game.project +++ b/game.project @@ -17,9 +17,9 @@ default_texture_mag_filter = nearest shared_state = 1 [project] -title = WordWorm +title = Word Worm custom_resources = assets/dictionary.txt -version = 2.0 +version = 2.1 [physics] debug = 0 @@ -28,6 +28,8 @@ scale = 0.1 [html5] splash_image = /assets/png/splash.png +show_made_with_defold = 0 +show_fullscreen_button = 0 [android] package = com.onesevenone.wordworm diff --git a/game/gui/game.gui_script b/game/gui/game.gui_script index 2d9177f..81eeb5c 100644 --- a/game/gui/game.gui_script +++ b/game/gui/game.gui_script @@ -13,7 +13,7 @@ end local function panel(message) gui.set_text(gui.get_node("word"), string.upper(message.text)) local size = gui.get_text_metrics_from_node(gui.get_node("word")) - local scale = (512-32) / size.width + local scale = (640-32) / size.width if scale > 1 then scale = 1 end gui.set_scale(gui.get_node("word"), vmath.vector3(scale, scale, 1)) gui.set_text(gui.get_node("score"), string.format("%06d", data.score)) diff --git a/game/player/player.script b/game/player/player.script index f9bb736..08ab3bd 100644 --- a/game/player/player.script +++ b/game/player/player.script @@ -1,7 +1,7 @@ local data = require "main.data" local words = require "main.words" -local MAX_WORD_LEN = 48 +local MAX_WORD_LEN = 32 local function newlevel(self) self.word = ""