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 {
|
||||
:find {
|
||||
:term "LifeLost"
|
||||
:term "prescreen"
|
||||
}
|
||||
}
|
||||
:search-in-files {
|
||||
|
|
@ -9,10 +9,6 @@
|
|||
}
|
||||
:workflow {
|
||||
:recent-files [
|
||||
[
|
||||
"/main/entername.gui_script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/score.gui_script"
|
||||
:code
|
||||
|
|
@ -21,18 +17,10 @@
|
|||
"/main/scoreboard.gui_script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/settings.gui"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/settings.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/startscreen.gui_script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/button.gui_script"
|
||||
:code
|
||||
|
|
@ -45,10 +33,6 @@
|
|||
"/main/level1prescreen.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/level1prescreen.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/level3prescreen.script"
|
||||
:code
|
||||
|
|
@ -57,10 +41,6 @@
|
|||
"/main/level2prescreen.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/startscreen.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/level2prescreen.collection"
|
||||
:scene
|
||||
|
|
@ -69,14 +49,6 @@
|
|||
"/main/level2prescreen_copy.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/settings.gui_script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/main.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/holdingamulet.script"
|
||||
:code
|
||||
|
|
@ -85,58 +57,86 @@
|
|||
"/main/curses.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/level3.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/graphics.atlas"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/startscreen.collection"
|
||||
:scene
|
||||
]
|
||||
[
|
||||
"/main/level1.collection"
|
||||
: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
|
||||
]
|
||||
[
|
||||
"/main/amulet.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/level2.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/main.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/mummy.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/curse.script"
|
||||
:code
|
||||
]
|
||||
[
|
||||
"/main/level1.script"
|
||||
: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
|
||||
]
|
||||
[
|
||||
"/main/level2.collection"
|
||||
: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
|
||||
ÔBfunction init(self)
|
||||
†B
|
||||
ðAfunction init(self)
|
||||
msg.post(".", "acquire_input_focus")
|
||||
-- show the title screen when the game is loaded
|
||||
|
||||
msg.post("#startscreen_proxy", "load")
|
||||
-- msg.post("#level3prescreen_proxy", "load")
|
||||
self.collection_to_load = ""
|
||||
self.current_collection = "#startscreen_proxy"
|
||||
-- self.current_collection = "#level3prescreen_proxy"
|
||||
|
||||
|
||||
--msg.post("#level2_proxy", "load")
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -754,7 +754,7 @@ embedded_instances {
|
|||
" position {\n"
|
||||
" x: 527.5\n"
|
||||
" y: 344.0\n"
|
||||
" z: 0.4\n"
|
||||
" z: 0.5\n"
|
||||
" }\n"
|
||||
" scale {\n"
|
||||
" x: 1.3\n"
|
||||
|
|
|
|||
|
|
@ -264,8 +264,8 @@ embedded_instances {
|
|||
" shapes {\\n"
|
||||
" shape_type: TYPE_BOX\\n"
|
||||
" position {\\n"
|
||||
" x: 855.0\\n"
|
||||
" y: 532.0\\n"
|
||||
" x: 867.0\\n"
|
||||
" y: 533.0\\n"
|
||||
" }\\n"
|
||||
" rotation {\\n"
|
||||
" z: 0.013529582\\n"
|
||||
|
|
@ -287,7 +287,7 @@ embedded_instances {
|
|||
" index: 3\\n"
|
||||
" count: 3\\n"
|
||||
" }\\n"
|
||||
" data: 201.29485\\n"
|
||||
" data: 215.48624\\n"
|
||||
" data: 10.0\\n"
|
||||
" data: 10.0\\n"
|
||||
" data: 131.92336\\n"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ function init(self)
|
|||
msg.post("won#sprite", "disable")
|
||||
msg.post("key_symbol#sprite", "disable")
|
||||
msg.post("mummy_explosion", "disable")
|
||||
msg.post("/mummy#mummy", "creator", { creator = msg.url() })
|
||||
end
|
||||
|
||||
function createamulets(self)
|
||||
|
|
|
|||
|
|
@ -3,10 +3,8 @@ function init(self)
|
|||
-- show the title screen when the game is loaded
|
||||
|
||||
msg.post("#startscreen_proxy", "load")
|
||||
-- msg.post("#level3prescreen_proxy", "load")
|
||||
self.collection_to_load = ""
|
||||
self.current_collection = "#startscreen_proxy"
|
||||
-- self.current_collection = "#level3prescreen_proxy"
|
||||
|
||||
|
||||
--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))
|
||||
self.velocity.x = 250
|
||||
msg.post(self.creator, "manual_pause")
|
||||
print("creator = " .. self.creator)
|
||||
end
|
||||
if message_id == hash("creator") then
|
||||
self.creator = message.creator
|
||||
print("creator set for mummy = " .. self.creator)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue