Thanks for the tutorial! Needed to know how to do this for my bullet hell game, and am relieved that the method seems to be quite simpler than the one involving lists of clone parameters I read an old forum post on.
Holy shit you just saved my life i had purchasable towers and every time you bought them they would go back to their starting positions (battle cats style game)
I love this tutorial, games where u fight against ai enemies are pretty hard to do and I could not think of a way to make it and this helped me really really much, thank you
In my year of scratching i have never known how to this, i have tried and failed only to just realise... i didn't switch it to 'this sprite only' sigh...
hi, I need to ask a question, I really liked your tutorial, but, in my project that I'm doing, I don't need to use the mouse to eliminate the clones, in fact I need the sprite to eliminate the clones (shooting sprite), and There is that glitch where all clones are eliminated instantly, can you please help me?
I'm having trouble giving different clones from the same sprite different health values. the health value keeps setting itself to the most recent (and yes I did set the variable to "for this sprite only"). how can I fix that?
probably just make a variable for all sprites, and call it whatever like clone count, and in your script where create clone is you add "change clone count by 1" if you want it to decrease once the clone dies then under your delete clone block just do "change clone count by -1"
Hey! I tested the tutorial on my zombie-shooter game and there seems to be a problem. My variable (ZombieHealth) Since it is in the same when i start as a clone block, the variable is linked to all the clones (example: if you want to kill a zombie all of them die) Is there a way to change that? Thanks!
@@shaputer I also have a problem but it's different from yours. I made a zombie game for fun for my teacher and my friends to see with a sword and hammer, and whenever I hit the zombie with the sword or hammer, it always one shots the zombie for some reason
I know I am 4 years late but MY GOD. You have just saved my game, 1 year in the making, with a 10 minute video.
4:50 Instead of wait 0.5 sec, you could use wait until not mouse down :)
me after downloading an autoclicker:
another solution is when sprite clicked.
@@stevenamanda8110but it’s a clone not a sprite
you just solved a problem i couldnt. ive had scratch for 2 years. chatgpt also hasnt. you are, a mastermind
@@colinplays5170yeah I was about to say that
Thank you so much!!! This will really help me!
Thank you man I was actual looking for this. I really do appreciate the tutorial!!!
Thanks for the tutorial! Needed to know how to do this for my bullet hell game, and am relieved that the method seems to be quite simpler than the one involving lists of clone parameters I read an old forum post on.
Holy shit you just saved my life i had purchasable towers and every time you bought them they would go back to their starting positions (battle cats style game)
i love this this is short and simple unlike the others where i have to make a whole game jsut for a single function...
thanks i thought you needed to add each costume for each state lol
I love your taskbar, I play valorant too!
who cares
I love this tutorial, games where u fight against ai enemies are pretty hard to do and I could not think of a way to make it and this helped me really really much, thank you
is the game done?
i am making a game about you fighting shapes, this helped SO much, thx!
uh, im doing that too...
@@primal_light yea wait so am i
this is such an underrated tutorial, helped me out very much!
I felt so dumb after this lol. Thanks a lot very helpful.
OMG U DONT KNOW HOW MUCH THIS HELPED ME!
Thank you dk for the tutorial!
OMG I NEVER REALIZED YOU COULD USE 'FOR THIS SPRITE ONLY' FOR THAT, THANK YOU MAN 🙏
In my year of scratching i have never known how to this, i have tried and failed only to just realise... i didn't switch it to 'this sprite only' sigh...
It took me 3 years lmao, in the same boat.
@@DkUniverse lol
you got a subscriber
hi, I need to ask a question, I really liked your tutorial, but, in my project that I'm doing, I don't need to use the mouse to eliminate the clones, in fact I need the sprite to eliminate the clones (shooting sprite), and There is that glitch where all clones are eliminated instantly, can you please help me?
saves my life this vid 😹😹
Thanks so much! I was stuck on the enemy's health clone but you helped me, like ;D
how do you make individual health bars?
this is really helpful. and no I'm not being sarcastic because that's what i sound like to myself
“Java get out of here” 😂💀
Thankzzzz I always don’t know how to make health before to watch your video
Thank you so much i started working with lists and stuff, because i couldn't figure that out-
same i was overthinking this
NO WAY THIS HELPED ME SOOOOOOOOOOOOO MUCHHHH THXXXX
Why when I make it set it to 3 it does not
My favorite youtuber
I'm having trouble giving different clones from the same sprite different health values. the health value keeps setting itself to the most recent (and yes I did set the variable to "for this sprite only"). how can I fix that?
did you make it so the health is being set in the when I start as a clone block? (Ik this is a bit late)
Exactly what I need!
cannot believe i didnt know this. Thank you though is will be so useful
Why is my cloned still all got deleted even tho my variable is just for this sprite only?
TYSM!!1!1!1!1!1 this was so helpful
is there a way to get different clones more health than others
wow, I thought if the hp is gone all clones would disappear but I was wrong
W i can finally make a tower defense thank you so much I AM SO DUMB I DIDNT FIGURE THAT OUT
thanks a lot this saved my zombie project
YESSS! THANK YOU, NOW I DON'T HAVE TO USE UNITY!
i love the "get out of here java"
hey can you help me out on my game with the google extension blocklive?
its a extension where you can collab with scratchers live
ive been stuck on this for so long I cant believe that all I had to do was make the variable only in the sprite
That's exactly how I felt when I learned lol
THAATTSSS WHAT FOR THIS SPRITE ONLY MEAANSS!?!?!?!
MY WHOLE LIFE
HAS BEEN
A
LLIIEEE
if I would meet you in irl, damn you would be my best friend
Goated
7:16 this wouldn't sound right out of context
Thanks man!
Thank you so i can make my katana game :).
even though i have followed your tutorial, all the clones still will delete when one dies. Do you know what I might have done wrong
Did you create your variable while in the enemy sprite? And did you set that variable to "this sprite only"?
@@DkUniverse yes i'm pretty sure the problem is that i made the damage changer in an event code not in the clone code so it effects all at one
@@cantalooupe you might of used a wrong variable or something, try making the same variable again. It worked for me
Thank you soo much!!
WTF this is very simple and easy.
how do you make it count clones?
probably just make a variable for all sprites, and call it whatever like clone count, and in your script where create clone is you add "change clone count by 1" if you want it to decrease once the clone dies then under your delete clone block just do "change clone count by -1"
make a list with clones
1st good vid!
I need to give multiple clones individual stuff
Hey!
I tested the tutorial on my zombie-shooter game and there seems to be a problem.
My variable (ZombieHealth)
Since it is in the same when i start as a clone block, the variable is linked to all the clones (example: if you want to kill a zombie all of them die)
Is there a way to change that? Thanks!
Exactly. I have the same problem. This video wasn't helpful at all.
Just chance the variable to -only this-
@@shaputer I also have a problem but it's different from yours. I made a zombie game for fun for my teacher and my friends to see with a sword and hammer, and whenever I hit the zombie with the sword or hammer, it always one shots the zombie for some reason
Thank You very much!
Thx man!
W MAN
thanks bro👍
idk if its a patch but your whole project dont work anymore, the variable is still 0 on your project and it wont change
This isn't patched. I'm not sure what your issue is so I'm not sure how to solve it.
@@DkUniverse ye it isn't, its your project which is broken, i tried for mine from warframe and it worked
@@Itzdemonfr Cool lmao, then use that one and stop complaining.
@@DkUniverse im not complaining lol your just getting mad over what? a failed video?
Lmao, so upset over block engine. Ask the thousands of other people this worked for why it didn't work for you.
thanks so much
2:13
Java get out of here
6:51 Dont judge me Shut up
thanks :)
Thanks.
ty
Спасибо рандомный чел из интернета теперь я смогу сделать игру которую уже давно хотел сделать но не мог из-за не знания того как сделать хп врагов
thx bro
wow it's so damn easy I feel like an idiot
I felt dumb when I figured it out too lol
I feel dumb
this is how I cheat in my 6th grade scratch coding
I FORGET THE FUCKING FOREVER LOOP THATS WHY SHIT NO WORK :moyai:
tasukatta
its funny bc half of the video is explaining the problem
Ho is the person that disliked????
it was was that fucking simple. uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
Thanks
why do i like to say first?
Everyone thats watching this in 2024.