Yeah, definitely not the first to read about it but the first to implement it yourself โ good luck and feel free to ask questions here or on The Hopscotch Webplayer
HS Builder is currently incompatible with local variables. They currently cannot identify by name, and local variables set at the custom rule or object level will be deleted if you โremove deleted codeโ, as the code is not recognized at that level
I looked into the structure a little bit, and it seems that local variables are purely defined by their name, which I find super interesting. No IDs to track variables, just things at various scopes like any other languages. I do remember a little bit of discussion on this, but honestly the implementation is really cool!
HS Builder Update timing is very questionable, maybe end of the year but no promises yet.
Yeah I know. I was discussing the variable itself though, not the block.
(I think you can also put other blocks outside of the rule through editing though I have not gotten the time to test that )
Update: you can see local variables and rules inside of objects for newer projects, but I still donโt recommend saving from HS Builder right now, as custom rules donโt work properly with local variables yet.
this is DIFFERENT from the โNoneโ block which is currently used for _ae_webplayer_action. I do plan to add support for executing modded actions from the newly added (official) โcommentโ block.
So for modded actions, you will still need secret blocks.
@Awesome_E, when i save the modified project, it redirects me to shortcut, which is completely normal
but since iPadOS15 it doesnโt ask me anymore to rename the duplicated file (it just add a little 2 after the file name)
so technically the project builder isnโt working for me. Is there another way to save the modified file? I really need to import codes because i made 2 algorithms separately and itโll take me hours to copy manually the code.
@Awesome_E, when do you think your project builder can support local variables? Itโs impossible for me to delete every local variables in my project bc i use them a lot
Do you use them in custom rules? Thatโs the only rendering I donโt support. It could still retain the data after modifications but I havenโt tested it yet.
As for deleting them, you need to delete all of their occurrences, as local variables are limited to their scope (they arenโt stored in the variables array!). Searching the project for the name of local variables in the project builder DOES work.
As for when I will complete support (custom rules added), Iโm not entirely sure. Maybe sometime in January?