Jump pads working
This commit is contained in:
parent
584685e177
commit
a2b82f6109
6 changed files with 39 additions and 48 deletions
|
|
@ -1,14 +1,15 @@
|
||||||
{
|
{
|
||||||
|
:code {
|
||||||
|
:find {
|
||||||
|
:term "speed"
|
||||||
|
}
|
||||||
|
}
|
||||||
:workflow {
|
:workflow {
|
||||||
:recent-files [
|
:recent-files [
|
||||||
[
|
[
|
||||||
"/main/curses.collection"
|
"/main/curses.collection"
|
||||||
:scene
|
:scene
|
||||||
]
|
]
|
||||||
[
|
|
||||||
"/main/curse.script"
|
|
||||||
:code
|
|
||||||
]
|
|
||||||
[
|
[
|
||||||
"/main/level3.script"
|
"/main/level3.script"
|
||||||
:code
|
:code
|
||||||
|
|
@ -17,13 +18,17 @@
|
||||||
"/main/mummy.script"
|
"/main/mummy.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
|
[
|
||||||
|
"/main/level3.collection"
|
||||||
|
:scene
|
||||||
|
]
|
||||||
[
|
[
|
||||||
"/main/level2.script"
|
"/main/level2.script"
|
||||||
:code
|
:code
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
"/main/level3.collection"
|
"/main/curse.script"
|
||||||
:scene
|
:code
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
"/main/level2.collection"
|
"/main/level2.collection"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
|
@ -106,7 +106,7 @@ function on_message(self, message_id, message, sender)
|
||||||
if message.group == hash("curse_jump_pads") then
|
if message.group == hash("curse_jump_pads") then
|
||||||
print("Oh yeah!")
|
print("Oh yeah!")
|
||||||
self.velocity.y = 150
|
self.velocity.y = 150
|
||||||
self.speed = 500
|
self.speed = 550
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if message_id == hash("visible") then
|
if message_id == hash("visible") then
|
||||||
|
|
|
||||||
|
|
@ -155,12 +155,12 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 324.0\\n"
|
" x: 334.0\\n"
|
||||||
" y: 256.0\\n"
|
" y: 255.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" z: 0.013529582\\n"
|
" z: 0.008898569\\n"
|
||||||
" w: 0.99990845\\n"
|
" w: 0.99996036\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" index: 3\\n"
|
" index: 3\\n"
|
||||||
" count: 3\\n"
|
" count: 3\\n"
|
||||||
|
|
@ -549,8 +549,8 @@ embedded_instances {
|
||||||
"}\\n"
|
"}\\n"
|
||||||
"\"\n"
|
"\"\n"
|
||||||
" position {\n"
|
" position {\n"
|
||||||
" x: 324.0\n"
|
" x: 336.0\n"
|
||||||
" y: 255.0\n"
|
" y: 256.0\n"
|
||||||
" z: 0.1\n"
|
" z: 0.1\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
" scale {\n"
|
" scale {\n"
|
||||||
|
|
@ -1340,8 +1340,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 645.0\\n"
|
" x: 619.0\\n"
|
||||||
" y: 558.0\\n"
|
" y: 554.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1351,8 +1351,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 250.0\\n"
|
" x: 541.0\\n"
|
||||||
" y: 543.0\\n"
|
" y: 409.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1362,8 +1362,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 535.0\\n"
|
" x: 895.0\\n"
|
||||||
" y: 421.0\\n"
|
" y: 295.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1373,8 +1373,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 910.0\\n"
|
" x: 481.0\\n"
|
||||||
" y: 299.0\\n"
|
" y: 284.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1384,8 +1384,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 511.0\\n"
|
" x: 416.0\\n"
|
||||||
" y: 289.0\\n"
|
" y: 159.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1395,8 +1395,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 400.0\\n"
|
" x: 761.0\\n"
|
||||||
" y: 167.0\\n"
|
" y: 41.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1406,8 +1406,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 781.0\\n"
|
" x: 366.0\\n"
|
||||||
" y: 52.0\\n"
|
" y: 29.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1417,8 +1417,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 387.0\\n"
|
" x: 147.0\\n"
|
||||||
" y: 40.0\\n"
|
" y: 423.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1428,8 +1428,8 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 127.0\\n"
|
" x: 246.0\\n"
|
||||||
" y: 425.0\\n"
|
" y: 543.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
|
|
@ -1439,28 +1439,14 @@ embedded_instances {
|
||||||
" shapes {\\n"
|
" shapes {\\n"
|
||||||
" shape_type: TYPE_BOX\\n"
|
" shape_type: TYPE_BOX\\n"
|
||||||
" position {\\n"
|
" position {\\n"
|
||||||
" x: 250.0\\n"
|
" x: 797.0\\n"
|
||||||
" y: 543.0\\n"
|
" y: 403.0\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" rotation {\\n"
|
" rotation {\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" index: 27\\n"
|
" index: 27\\n"
|
||||||
" count: 3\\n"
|
" count: 3\\n"
|
||||||
" }\\n"
|
" }\\n"
|
||||||
" shapes {\\n"
|
|
||||||
" shape_type: TYPE_BOX\\n"
|
|
||||||
" position {\\n"
|
|
||||||
" x: 782.0\\n"
|
|
||||||
" y: 409.0\\n"
|
|
||||||
" }\\n"
|
|
||||||
" rotation {\\n"
|
|
||||||
" }\\n"
|
|
||||||
" index: 30\\n"
|
|
||||||
" count: 3\\n"
|
|
||||||
" }\\n"
|
|
||||||
" data: 10.0\\n"
|
|
||||||
" data: 10.0\\n"
|
|
||||||
" data: 10.0\\n"
|
|
||||||
" data: 10.0\\n"
|
" data: 10.0\\n"
|
||||||
" data: 10.0\\n"
|
" data: 10.0\\n"
|
||||||
" data: 10.0\\n"
|
" data: 10.0\\n"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue