Last changes minus cloud
This commit is contained in:
parent
65143376f5
commit
cbf0cbba0b
13 changed files with 61 additions and 62 deletions
102
.editor_settings
102
.editor_settings
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
:code {
|
:code {
|
||||||
:find {
|
:find {
|
||||||
:term "LifeLost"
|
:term "prescreen"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
:search-in-files {
|
:search-in-files {
|
||||||
|
|
@ -9,10 +9,6 @@
|
||||||
}
|
}
|
||||||
:workflow {
|
:workflow {
|
||||||
:recent-files [
|
:recent-files [
|
||||||
[
|
|
||||||
"/main/entername.gui_script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/score.gui_script"
|
"/main/score.gui_script"
|
||||||
:code
|
:code
|
||||||
|
|
@ -21,18 +17,10 @@
|
||||||
"/main/scoreboard.gui_script"
|
"/main/scoreboard.gui_script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/settings.gui"
|
|
||||||
:scene
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/settings.collection"
|
"/main/settings.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/startscreen.gui_script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/button.gui_script"
|
"/main/button.gui_script"
|
||||||
:code
|
:code
|
||||||
|
|
@ -45,10 +33,6 @@
|
||||||
"/main/level1prescreen.collection"
|
"/main/level1prescreen.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/level1prescreen.script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/level3prescreen.script"
|
"/main/level3prescreen.script"
|
||||||
:code
|
:code
|
||||||
|
|
@ -57,10 +41,6 @@
|
||||||
"/main/level2prescreen.script"
|
"/main/level2prescreen.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/startscreen.script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/level2prescreen.collection"
|
"/main/level2prescreen.collection"
|
||||||
:scene
|
:scene
|
||||||
|
|
@ -69,14 +49,6 @@
|
||||||
"/main/level2prescreen_copy.collection"
|
"/main/level2prescreen_copy.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/settings.gui_script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
|
||||||
"/main/main.collection"
|
|
||||||
:scene
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/holdingamulet.script"
|
"/main/holdingamulet.script"
|
||||||
:code
|
:code
|
||||||
|
|
@ -85,58 +57,86 @@
|
||||||
"/main/curses.collection"
|
"/main/curses.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/level3.collection"
|
|
||||||
:scene
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/graphics.atlas"
|
"/main/graphics.atlas"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/startscreen.collection"
|
|
||||||
:scene
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/level1.collection"
|
"/main/level1.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
"/main/player.script"
|
"/main/level3.collection"
|
||||||
|
:scene
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/main.collection"
|
||||||
|
:scene
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/startscreen.collection"
|
||||||
|
:scene
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/startscreen.gui_script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/startscreen.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/settings.gui"
|
||||||
|
:scene
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/settings.gui_script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
"/main/amulet.script"
|
"/main/amulet.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
|
[
|
||||||
|
"/main/level2.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
[
|
[
|
||||||
"/main/main.script"
|
"/main/main.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/mummy.script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
|
||||||
"/main/curse.script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/level1.script"
|
"/main/level1.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
"/main/level2.script"
|
"/main/settings.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/player.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/curse.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/mummy.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/level3.script"
|
||||||
|
:code
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"/main/level1prescreen.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
"/main/level2.collection"
|
"/main/level2.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/level3.script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,14 +1,12 @@
|
||||||
|
|
||||||
êB
|
†B
|
||||||
ÔBfunction init(self)
|
ðAfunction init(self)
|
||||||
msg.post(".", "acquire_input_focus")
|
msg.post(".", "acquire_input_focus")
|
||||||
-- show the title screen when the game is loaded
|
-- show the title screen when the game is loaded
|
||||||
|
|
||||||
msg.post("#startscreen_proxy", "load")
|
msg.post("#startscreen_proxy", "load")
|
||||||
-- msg.post("#level3prescreen_proxy", "load")
|
|
||||||
self.collection_to_load = ""
|
self.collection_to_load = ""
|
||||||
self.current_collection = "#startscreen_proxy"
|
self.current_collection = "#startscreen_proxy"
|
||||||
-- self.current_collection = "#level3prescreen_proxy"
|
|
||||||
|
|
||||||
|
|
||||||
--msg.post("#level2_proxy", "load")
|
--msg.post("#level2_proxy", "load")
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -754,7 +754,7 @@ embedded_instances {
|
||||||
" position {\n"
|
" position {\n"
|
||||||
" x: 527.5\n"
|
" x: 527.5\n"
|
||||||
" y: 344.0\n"
|
" y: 344.0\n"
|
||||||
" z: 0.4\n"
|
" z: 0.5\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
" scale {\n"
|
" scale {\n"
|
||||||
" x: 1.3\n"
|
" x: 1.3\n"
|
||||||
|
|
|
||||||
|
|
@ -264,8 +264,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 855.0\\n"
|
" x: 867.0\\n"
|
||||||
" y: 532.0\\n"
|
" y: 533.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" z: 0.013529582\\n"
|
" z: 0.013529582\\n"
|
||||||
|
|
@ -287,7 +287,7 @@ embedded_instances {
|
||||||
" index: 3\\n"
|
" index: 3\\n"
|
||||||
" count: 3\\n"
|
" count: 3\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" data: 201.29485\\n"
|
" data: 215.48624\\n"
|
||||||
" data: 10.0\\n"
|
" data: 10.0\\n"
|
||||||
" data: 10.0\\n"
|
" data: 10.0\\n"
|
||||||
" data: 131.92336\\n"
|
" data: 131.92336\\n"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ function init(self)
|
||||||
msg.post("won#sprite", "disable")
|
msg.post("won#sprite", "disable")
|
||||||
msg.post("key_symbol#sprite", "disable")
|
msg.post("key_symbol#sprite", "disable")
|
||||||
msg.post("mummy_explosion", "disable")
|
msg.post("mummy_explosion", "disable")
|
||||||
|
msg.post("/mummy#mummy", "creator", { creator = msg.url() })
|
||||||
end
|
end
|
||||||
|
|
||||||
function createamulets(self)
|
function createamulets(self)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,8 @@ function init(self)
|
||||||
-- show the title screen when the game is loaded
|
-- show the title screen when the game is loaded
|
||||||
|
|
||||||
msg.post("#startscreen_proxy", "load")
|
msg.post("#startscreen_proxy", "load")
|
||||||
-- msg.post("#level3prescreen_proxy", "load")
|
|
||||||
self.collection_to_load = ""
|
self.collection_to_load = ""
|
||||||
self.current_collection = "#startscreen_proxy"
|
self.current_collection = "#startscreen_proxy"
|
||||||
-- self.current_collection = "#level3prescreen_proxy"
|
|
||||||
|
|
||||||
|
|
||||||
--msg.post("#level2_proxy", "load")
|
--msg.post("#level2_proxy", "load")
|
||||||
|
|
|
||||||
|
|
@ -67,9 +67,11 @@ function on_message(self, message_id, message, sender)
|
||||||
go.set_scale(vmath.vector3(1.3, 1.3, 1))
|
go.set_scale(vmath.vector3(1.3, 1.3, 1))
|
||||||
self.velocity.x = 250
|
self.velocity.x = 250
|
||||||
msg.post(self.creator, "manual_pause")
|
msg.post(self.creator, "manual_pause")
|
||||||
|
print("creator = " .. self.creator)
|
||||||
end
|
end
|
||||||
if message_id == hash("creator") then
|
if message_id == hash("creator") then
|
||||||
self.creator = message.creator
|
self.creator = message.creator
|
||||||
|
print("creator set for mummy = " .. self.creator)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue