Destroy Clone/object block?

questions
clones
webplayer
answered
clear-clones

#1

Hello, so I’m making a game which requires a reacreation of clones every level advancement/attempt, and it starts off okay but ends up lagging do to the amount of clones simply present but not used. My solution: destroy clones. But how??!? (A secret block?) I have read a lot about the webplayer on these forums and took a long study of it myself, but I’m still confused on how to get this block. I’m looking for help from someone who has already utilized these kind of blocks, but any suggestions would be greatly appreciated. I hope someone can help, since I’ve seen this in other projects but using the waitTilTimestamp block. What would be even cooler is if someone creates a strategic method for devising and importing these new blocks into personal projects that everyone can use and understand. Thank you for your time!


#2

One second, I’ll make a thing.


#3

@Petrichor could probably help you

Edit: oh wait, nvm, he’s already here


#4

Wow that was fast. You guys on the forums 24/7?


#5

No I’m on the forum 2:13 thiygh


#6

Nah

I just checked newest and I saw this topic


#7

Off topic question but if found this line at the end of the webplayer:

(HSTextNode);HSGeometricShapeTextNode.FONT_FAMILIES

Does this mean you can have different fonts?


#8

That’s part of what I modify to change the font.


#9

You mean like in your project here?


#10

Yes. I do.


#11

So if your currently working on a written method on utilizing these secret blocks right now I won’t bombard you with questions anymore. When your finished, please tag me. Thank you once again.


#12

@XAMANION


First, create the blocks you want to replace. (In this case, two waits with unique parameters and a create c lone)


Then get the project’s json file. I think @creationSofaNoob or someone made a nice tutorial about that about a year ago.
Then, go to jsoneditoronline.org (what I use in this example.) After that, search for the first unique parameter


Then change this to whatever block you want. (I’ll do destroy block)
Reference:
Destroy: block type 55, parameter type any.
WaitTIlTimestamp: block type 19, parameter type 42
Since these are both blank blocks, I used parameter keys to label them. (I think @Awesome_E does this too,)
57%20PM
This is the destroy block.
41%20PM
Wait til time stamp.


To get the special create a clone block, I duplicate the wait til time stamp parameter, add that to my create a clone, and change the key.
11%20PM



This turns our original three blocks into this:


Petrichor I (Am)
Delete clone block? (feature request. Approved by community)
Suggestion: Clear clones block
#13

Deepest of gratitudes to you kind sir! Your action shall be greatly appreciated by many!


#14

@Petrichor

Hmm, this seems interesting!

Could you show me some kind of video to do this?


#15

@Petrichor So I did the process you described, but how do I get it to change in the actual project?


#16

@Petrichor I agree, a video of this entire thing including the uploading and downloading would be perfect.


#17

Yes, that was my question too!


#18

I shall delete the forum!

I am the greatest hacker in all of hopscotch!


#19

I’m pretty sure Petty is better tbh


#20

Petty? Who is this PETTY?!

NOTHING!

ABDOLUTELY NOTHING COMPARED TO MY MIGHT!