I don’t know the right topic to put this in…
I want to test secret blocks but when i save the project does not save!
When i play it in the project builder it works
I don’t know the right topic to put this in…
I want to test secret blocks but when i save the project does not save!
When i play it in the project builder it works
Reminder about JSON modification: Even if you don’t have bad intentions, please refrain from sharing any JSON modification methods that other people might use for bad things.
[I didn’t know where I was supposed to post this type of post, if at all]
I modded a text operator block to be a join block, and very convincingly too (obviously, it doesn’t actually work, that’s up to the webplayer and internal code that only the devs can see…)
Looking at it, it’s making me want to want the upcoming major update even more… (even though it’s going to take 2-4 (or more) weeks for that update to be completed)
If a leader sees this, please move to a more suitable topic, or delete if this kind of post is not allowed.
A join block, for those who don’t know,
Joins two strings together into one.
"Apples " + "Bananas" makes "Apple Bananas"
"20" + "23" makes "2023"
Definitely fine to bring it up – I just moved it to the general modding topic.
That is indeed very convincing Hoping that it won’t be too long before you can use the block too!
My vision of my dream blocks:
The replace block would only replace the first instance, similar to how JavaScript’s replace function works.
Imagine the split block being a different color (something like Red Orange)…
This would work similarly to how JavaScript’s replaceAll function works. (Replaces via RegExp)
It would work great for replacing a certain character without having to search for it. Both types of replace blocks would work just as fine.
I think it would be more useful for lists to have all the same categories as single variables – local, object, game, user, instead of just global game-level lists.
here’s a list and table block concept
Many of the array related blocks I would like to see in the future, images does not include the replace and replaceAll blocks…
Descriptions from top to bottom:
@aadenboy tables aren’t possible (to my knowledge) in JavaScript, which is what Hopscotch is based of off. Tables are an HTML thing.
I think dictionaries may be though, I just called it a table since I’m used to Lua
Noticed the push and pop functions on those blocks, would be cool for stacks
Dictionaries are a Shortcuts thing lol (I’ve never seen dictionaries in JS)
Lists = Arrays in JavaScript
I don’t know much about JS ¯\_(ツ)_/¯
Making custom blocks/functions is fun, I’ma make more
Imagine if every JavaScript related block was added to Hopscotch. It would be so overwhelming, we would need an Expert Mode on top of Advanced Mode.
And we would have the power to create anything we’d like (as long as it’s appropriate).
I just made a concept of multi-touch in code based on t1_hopscotch’s example
(Imagine the touches variable in orange)
Fun fact: IDX is short for Index
@Tri-Angle your idea of Multi-Touch was just too confusing to me, and it might not always be reliable (like what if multiple fingers tapped at the exact same time?)
Dictionary = JSON
Makes sense…
I would definitely really appreciate lists being added to Hopscotch, they would make everything so much easier and less buggy.
I agree. I bet some of the best users on Hopscotch, such as COAN, Awesome_E, You, etc. will find ways to use lists in the most unique ways. Ways that’ll make you wonder “How is that possible?!”
not saying im among them but i do in fact have a crazy idea when lists will be implemented :D
I only listed like 5% of the legendary coders. You are also legendary… in my eyes…