Super strange…
I did find a bug where if you declare a variable to a value set in the previous scene outside a rule, the value, for some odd reason, does not set correctly, but when done first thing in a when game starts rule, it works just fine.
Super strange…
I did find a bug where if you declare a variable to a value set in the previous scene outside a rule, the value, for some odd reason, does not set correctly, but when done first thing in a when game starts rule, it works just fine.
Instant blocks let the block ahead of it execute on the same frame. The variable block probably just didn’t have enough time to save before the scene was changed (which, yes, that is super odd, since most variables are saved instantly…
I’ve asked this before but I have forgotten.
What’s the difference between when message matches and when get message?
When message matches
let’s you do some Regular Expressions stuff, while When I get a message
does not.
Basically, anything with “matches” in the name is for regular expressions.
So does it matter which one I use when sending a simple message?
for a simply one, i suggest you to use “when i get a message”, because if you have sent “apple” and theres a container that matches “applebanana”, that container will run the code unexpectedly
Sometimes you can get away with user either one, unless you use the following characters:
^ + $ \ / ( ) [ ] { } , . and a bunch of other symbols… and what Tri-Angle said.
Use When I get a message if you want it to execute with a specific message.
Use When message matches if you want it to execute with multiple different messages.
(A great way to use this is for a flood fill function…)
And yes, you can swipe the camera button (editor preview) to either end of the editor. Tapping it does nothing yet, but it will open the editor tab where you can choose to edit, scroll, and change the tile you want to place.
I may have gone too far this time…
How does the tile drawer look? Ignore the obvious white bar at the bottom. That always shows on a iPad with no home button.
How’s everyone doing? Whats everyone coding?
I’m coding a level editor in a platformer template (something that’s usually never done).
Right now, it has a fully functional object drawer, object preview, save & play function, tile editing, and tile scrolling. As an extra, when you place a door, it’ll ask how many keys are required to open it (range 1-9). This is due to how doors work in the template. The door will also periodically say a number and change back into a door, which indicates the number of keys required for that door.
The only things missing are the ability to edit the size of the level, and the ability to set a test position.
When you open the editor, you’ll see some text saying “Editing Level” (inspired by HS’s “Editing Project” text)
When I’m able, I’ll screen record a preview of the level editor in action and share it here (on the proper topic, ofc).
Let’s ensure posts are suitable for all ages!
@Tri-Angle, I saw the megacollab Overlord project and I was really impressed! I made some of my own tweaks, and this is it!
If it isn’t alright with you, I’ll unpublish it immediately!
woah nice :D my fav is necro :))
Hi. What’s everyone coding?
Hey Crosby! I started a new shape art so I’m trying to figure that out, what are you coding?
Escape room.
What’s one thing everyone wants to get better at in their coding?
Me, incorporating more sounds into my projects.
Coding in general, it’s not my strong suit but I really would like to get better at it.