Browse Source

Minor fixes to get the gui/load_texture example working on the web.

Mikael Säker 8 years ago
parent
commit
96bc6d752b
4 changed files with 5 additions and 3 deletions
  1. 1 1
      examples/_main/loader.go
  2. 0 1
      examples/_main/loader.script
  3. 1 1
      examples/_main/menu.gui_script
  4. 3 0
      game.project

+ 1 - 1
examples/_main/loader.go

@@ -371,7 +371,7 @@ embedded_components {
   }
 }
 embedded_components {
-  id: "gui/load texture"
+  id: "gui/load_texture"
   type: "collectionproxy"
   data: "collection: \"/examples/gui/load_texture/load_texture.collection\"\n"
   "exclude: false\n"

+ 0 - 1
examples/_main/loader.script

@@ -1,6 +1,5 @@
 function init(self)
 	self.current_proxy = nil
-
 	-- Need input focus so it can be trickled down the proxies
 	msg.post(".", "acquire_input_focus")
 

+ 1 - 1
examples/_main/menu.gui_script

@@ -103,7 +103,7 @@ function init(self)
 	self.index["basics"] = { "simple_move", "message_passing", "follow", "parent_child", "spawn" }
 	self.index["physics"] = { "dynamic", "kinematic", "trigger" }
 	self.index["animation"] = { "spinner", "flipbook", "tween", "spine" }
-	self.index["gui"] = { "button", "stencil", "load texture"}
+	self.index["gui"] = { "button", "stencil", "load_texture"}
 	self.index["input"] = { "move", "text", "down duration" }
 	self.index["audio"] = { "lorem ipsum" }
 	self.index["render"] = { "lorem ipsum" }

+ 3 - 0
game.project

@@ -33,3 +33,6 @@ subpixels = 1
 [sprite]
 subpixels = 1
 
+[windows]
+iap_provider = 
+