You Can Talk About Hopscotch Here; Topic 30 [OFFICIAL]

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.

3 Likes

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…

4 Likes

I’ve asked this before but I have forgotten.:neutral_face:
What’s the difference between when message matches and when get message?

4 Likes

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.

3 Likes

So does it matter which one I use when sending a simple message?

3 Likes

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

2 Likes

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…)

2 Likes

:eyes:

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.

@Spy_Guy_96

I may have gone too far this time…

3 Likes

How does the tile drawer look? Ignore the obvious white bar at the bottom. That always shows on a iPad with no home button.

  • You can also scroll the tile drawer left and right independent of the main camera (but only when dragging the light grey part).
  • To close, simply touch the canvas above.

@Spy_Guy_96

2 Likes

How’s everyone doing? Whats everyone coding?

4 Likes

Just finished a new update for Dashing Ninja after a whole month
Click Me!

2 Likes

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).

3 Likes

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!

6 Likes

woah nice :D my fav is necro :))

5 Likes

Hi. What’s everyone coding?

7 Likes

Hey Crosby! I started a new shape art so I’m trying to figure that out, what are you coding?

3 Likes

Escape room.

5 Likes

What’s one thing everyone wants to get better at in their coding?
Me, incorporating more sounds into my projects.

5 Likes

Coding in general, it’s not my strong suit but I really would like to get better at it.

3 Likes