Open pvzsvt opened 9 months ago
I put the "other player" sprite in my backpack and deleted it. Ran without any problems. When it's running, I put that sprite in and it doesn't matter. Ran again, it got stuck again. The sprite gets stuck as soon as it runs. I made a snake wars game. I think my code is right. Every time I run this script, it gets stuck. Other scripts for this sprite are about clones or homemade blocks.
I found that that sprite couldn't be cloned.
By the way, clones receive broadcasts, so they might be creating clones of themselves. You can create a "for this sprite only" variable, set it to 0 in a when flag clicked script and to 1 on the when I start as a clone script and then check for that in the receive script.
I know that. I tweaked the code and now the problem is solved, how do I close the issue?
When I make an online game, sometimes it doesn't clone. I turned on infinite clone and got it running, but it crashed.Pack it and preview,preview the interface will stuck.Both on the website and in the program.I'm from China.