Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjames-171 committed Sep 2, 2019
1 parent 13cea1e commit ba10906
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Binary file modified assets/png/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/png/pspbrwse.jbf
Binary file not shown.
6 changes: 4 additions & 2 deletions game.project
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion game/gui/game.gui_script
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion game/player/player.script
Original file line number Diff line number Diff line change
@@ -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 = ""
Expand Down

0 comments on commit ba10906

Please sign in to comment.