Version 3.49.0 Official Topic (Parameters and New Clone Behavior!)

Hopscotchers, this is a big one: you can now use parameters in your custom rules and custom abilities! Now you can write the code once and use it all over your project with slight differences.

Open a new project and start playing with the refreshed starter rules to see parameters in action. The symmetrical mirror drawing and the two-colored gradient background are the Hopscotch team favorites so far. Lastly–open up the new rules to learn more about how they work. There are comments to explain what’s going on!

And as if that wasn’t enough: clones have gotten a total refresh! Instead of cloning an object in its original state, the clone will pick up the properties of that object at that moment. To learn more about clones, watch the brand new clone tutorial series in the video section of the app.

And lastly, for the advanced users, we’ve fixed some bugs in the execution order of code. Now you can use a set variable block right before an if statement, no problemo.

Other bug fixes:
The prompt block will work with local variables.
Comment blocks show more text.
Copying a rule or object now copies the set variable blocks too.

As always, we’d love to hear any thoughts or feedback you have. Leave us a note below or email us at hello@gethopscotch.com.

Happy Hopscotching!

39 Likes

OMG FINALLY!!!
So glad we finally got an update, when can we expect code gardens now?

8 Likes

YES OH MY YES LETS GO I NEED THIS YES

7 Likes

thats pretty usefull actually ive been using a local varible instead :skull:

5 Likes

oooh thats such a sic update!!! i cant wait to try this out :))

8 Likes

This. Sounds. AWESOME!

6 Likes

Awesome update. I already made use of the new parameters system.

I did notice that some rules in old projects (prior to webplayer 2.0.0) do not work anymore (namely the ones in the old version of the custom rules and custom abilities)… this seems like a project-breaking bug.

7 Likes

OH MY GOD FINALLY- TYSM THE ENTIRE THT TEAM

4 Likes

That shouldn’t happen–we did change the project format, but old projects should still work properly. Can you send an example?

9 Likes

I just made a topic and included a project example. Maybe I’m just unlucky…

3 Likes

every custom rules n ability don’t work no matter you’re in a draft or a published project.

2 Likes

You’re right, working on a fix!

5 Likes

wow, max fps (for me) is 62!

1 Like

What FPS do you usually get? Max should be 60. The extra is from the delay not being perfect.

2 Likes

usually 60

1 Like

Custom rules in custom rules from old drafts just don’t work anymore

2 Likes
1 Like

LETS GO FINALLY
Iv been waiting for this for a while

1 Like

Try making a copy and updating to the latest version

6 Likes

I tried that, didn’t work.