There's also the 'regenerate region' action so you don't have to regenerate the whole map.
It's used for mouse and keyboard input and resizing the canvas. Probably some other things.
The second time you're picking up the first one you spawned.. not the newly created one.
In Event 5 you should be loading the value into the high score variable.
In the events where you're checking a variable and using wait you probably want to use 'trigger once'.
For example:
+System: CowInVent = 1 -> System: Wait 5 seconds -> System: Set AllowJumpscare to 1 [/code:22y3ktdy] As long as CowInVent = 1 then it's queueing up the "Set AllowJumpscare" action to happen after 5 seconds. If CowInVent = 1 for 3 seconds then after 5 seconds AllowJumpscare is going to be set to 1 every tick for the next 3 seconds. Hope that makes sense. You'd put in a trigger once so the event only runs one time: [code:22y3ktdy] +System: CowInVent = 1 +System: Trigger Once -> System: Wait 5 seconds -> System: Set AllowJumpscare to 1 [/code:22y3ktdy]
safe_area_from_camera_edit.capx (r206)
I just put another sprite around the box to detect if the player is slightly outside the box.
Develop games in your browser. Powerful, performant & highly capable.
I have it set as a bookmark for easy access. It would be nice if it was on the unread posts page.
Set it to 255. It's easy to accidentally set it to zero by clicking on a transparent area with the color picker.
Check that the color alpha value isn't set to 0.
The "set color" values should be a percentage between 0 and 100, not 0 and 255. Could that be the problem? If you want red = 143 you'd set it to 143/255*100.
You could use a dictionary instead of an array for descriptive keys.
{"c2dictionary":true,"data":{"name":"Sonic","speed":5000,"cost":200}}[/code:x07a2iq4] [code:x07a2iq4]<?php function c2DictionaryAsJSON($data) { return json_encode(["c2dictionary" => true, "data" => $data]); } $data = ["name" => "Sonic", "speed" => 5000, "cost" => 200]; echo c2DictionaryAsJSON($data); ?> [/code:x07a2iq4]
Are you picking the correct donkey in the event where you pin the tail? If not maybe you pin the tail to the wrong donkey? Just a guess...
Member since 17 Apr, 2012