Jump pads working

This commit is contained in:
Heather 2025-08-25 12:57:09 +01:00
parent 584685e177
commit a2b82f6109
6 changed files with 39 additions and 48 deletions

View file

@ -1,14 +1,15 @@
{
:code {
:find {
:term "speed"
}
}
:workflow {
:recent-files [
[
"/main/curses.collection"
:scene
]
[
"/main/curse.script"
:code
]
[
"/main/level3.script"
:code
@ -17,13 +18,17 @@
"/main/mummy.script"
:code
]
[
"/main/level3.collection"
:scene
]
[
"/main/level2.script"
:code
]
[
"/main/level3.collection"
:scene
"/main/curse.script"
:code
]
[
"/main/level2.collection"

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -106,7 +106,7 @@ function on_message(self, message_id, message, sender)
if message.group == hash("curse_jump_pads") then
print("Oh yeah!")
self.velocity.y = 150
self.speed = 500
self.speed = 550
end
end
if message_id == hash("visible") then

View file

@ -155,12 +155,12 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 324.0\\n"
" y: 256.0\\n"
" x: 334.0\\n"
" y: 255.0\\n"
" }\\n"
" rotation {\\n"
" z: 0.013529582\\n"
" w: 0.99990845\\n"
" z: 0.008898569\\n"
" w: 0.99996036\\n"
" }\\n"
" index: 3\\n"
" count: 3\\n"
@ -549,8 +549,8 @@ embedded_instances {
"}\\n"
"\"\n"
" position {\n"
" x: 324.0\n"
" y: 255.0\n"
" x: 336.0\n"
" y: 256.0\n"
" z: 0.1\n"
" }\n"
" scale {\n"
@ -1340,8 +1340,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 645.0\\n"
" y: 558.0\\n"
" x: 619.0\\n"
" y: 554.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1351,8 +1351,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 250.0\\n"
" y: 543.0\\n"
" x: 541.0\\n"
" y: 409.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1362,8 +1362,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 535.0\\n"
" y: 421.0\\n"
" x: 895.0\\n"
" y: 295.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1373,8 +1373,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 910.0\\n"
" y: 299.0\\n"
" x: 481.0\\n"
" y: 284.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1384,8 +1384,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 511.0\\n"
" y: 289.0\\n"
" x: 416.0\\n"
" y: 159.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1395,8 +1395,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 400.0\\n"
" y: 167.0\\n"
" x: 761.0\\n"
" y: 41.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1406,8 +1406,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 781.0\\n"
" y: 52.0\\n"
" x: 366.0\\n"
" y: 29.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1417,8 +1417,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 387.0\\n"
" y: 40.0\\n"
" x: 147.0\\n"
" y: 423.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1428,8 +1428,8 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 127.0\\n"
" y: 425.0\\n"
" x: 246.0\\n"
" y: 543.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
@ -1439,28 +1439,14 @@ embedded_instances {
" shapes {\\n"
" shape_type: TYPE_BOX\\n"
" position {\\n"
" x: 250.0\\n"
" y: 543.0\\n"
" x: 797.0\\n"
" y: 403.0\\n"
" }\\n"
" rotation {\\n"
" }\\n"
" index: 27\\n"
" count: 3\\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"