HOW TO MAKE CLONES HAVE THEIR OWN HEALTH IN SCRATCH!!!

  Рет қаралды 17,793

DkUniverse

4 жыл бұрын

Today I show you how to have a clone in scratch have it's own variable value.
My Accounts:
Emerald-Piggy
Emerald-Piggy-Collab
DK-Horror
DK_MiniGame
DK-Tutorial

Пікірлер: 91
@lambodhar
@lambodhar 3 жыл бұрын
4:50 Instead of wait 0.5 sec, you could use wait until not mouse down :)
@LynchtheFinch
@LynchtheFinch 2 жыл бұрын
me after downloading an autoclicker:
@stevenamanda8110
@stevenamanda8110 3 ай бұрын
another solution is when sprite clicked.
@colinplays5170
@colinplays5170 Ай бұрын
@@stevenamanda8110but it’s a clone not a sprite
@Raven-lv2dp
@Raven-lv2dp 3 жыл бұрын
Thank you man I was actual looking for this. I really do appreciate the tutorial!!!
@freuner-merris
@freuner-merris Ай бұрын
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.
@fixel5578
@fixel5578 3 жыл бұрын
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
@user-ve6mb1xr3x
@user-ve6mb1xr3x 9 ай бұрын
is the game done?
@Low88
@Low88 4 ай бұрын
Thank you so much!!! This will really help me!
@Robotop
@Robotop 3 жыл бұрын
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)
@geopediashorts
@geopediashorts 19 күн бұрын
this is such an underrated tutorial, helped me out very much!
@LightLive_1144
@LightLive_1144 Жыл бұрын
Thanks so much! I was stuck on the enemy's health clone but you helped me, like ;D
@gabesrandomgarbage6262
@gabesrandomgarbage6262 3 жыл бұрын
OMG U DONT KNOW HOW MUCH THIS HELPED ME!
@LB0WasTaken
@LB0WasTaken 2 жыл бұрын
I felt so dumb after this lol. Thanks a lot very helpful.
@lore69225
@lore69225 5 ай бұрын
Thank you dk for the tutorial!
@shadowforce6718
@shadowforce6718 Жыл бұрын
I love your taskbar, I play valorant too!
@YTgod3333
@YTgod3333 5 ай бұрын
Thankzzzz I always don’t know how to make health before to watch your video
@fashey-trustandttack
@fashey-trustandttack 4 ай бұрын
TYSM!!1!1!1!1!1 this was so helpful
@Sksrimpeto
@Sksrimpeto Жыл бұрын
Thanks man!
@justacat1755
@justacat1755 3 жыл бұрын
saves my life this vid 😹😹
@nathanw6884
@nathanw6884 Жыл бұрын
cannot believe i didnt know this. Thank you though is will be so useful
@user_4258
@user_4258 Жыл бұрын
Exactly what I need!
@frkls.
@frkls. 3 жыл бұрын
Thank you so much i started working with lists and stuff, because i couldn't figure that out-
@momkungshorts4724
@momkungshorts4724 Жыл бұрын
same i was overthinking this
@DoboScratch
@DoboScratch 10 ай бұрын
you got a subscriber
@jonassamuelsalazartorres476
@jonassamuelsalazartorres476 Жыл бұрын
Thank you soo much!!
@aven1901
@aven1901 2 жыл бұрын
Thx man!
@marinateodor9177
@marinateodor9177 3 жыл бұрын
My favorite youtuber
@samas-12
@samas-12 Жыл бұрын
I couldnt help but notice when more 2 enemys are touching togheter and are almost in same position, they dont change health. Any way to fix this?
@bigmationtv2382
@bigmationtv2382 3 жыл бұрын
Thank You very much!
@amanom9090
@amanom9090 2 жыл бұрын
thanks a lot this saved my zombie project
@ashters4204
@ashters4204 3 жыл бұрын
this is really helpful. and no I'm not being sarcastic because that's what i sound like to myself
@Boredblanco
@Boredblanco Жыл бұрын
thanks bro👍
@LikeButton-
@LikeButton- 4 ай бұрын
W i can finally make a tower defense thank you so much I AM SO DUMB I DIDNT FIGURE THAT OUT
@janellegagnon987
@janellegagnon987 3 жыл бұрын
how do you make individual health bars?
@BloodWolf_6
@BloodWolf_6 9 ай бұрын
thanks so much
@bemschurger
@bemschurger 2 жыл бұрын
i love the "get out of here java"
@Footrox-g9r
@Footrox-g9r 10 күн бұрын
“Java get out of here” 😂💀
@randomistough0
@randomistough0 Жыл бұрын
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?
@idk56742
@idk56742 5 ай бұрын
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)
@reyun_the_original
@reyun_the_original 2 жыл бұрын
thanks :)
@wilsonthegamer
@wilsonthegamer Жыл бұрын
thx bro
@ImranKhan-fy6ij
@ImranKhan-fy6ij Жыл бұрын
YESSS! THANK YOU, NOW I DON'T HAVE TO USE UNITY!
@Claychair
@Claychair 10 ай бұрын
if I would meet you in irl, damn you would be my best friend
@gulliverdalton4688
@gulliverdalton4688 Жыл бұрын
is there a way to get different clones more health than others
@CrisTheDarkLight
@CrisTheDarkLight 2 ай бұрын
W MAN
@ZOr1z
@ZOr1z 3 жыл бұрын
wow, I thought if the hp is gone all clones would disappear but I was wrong
@GlitchedBlox
@GlitchedBlox Жыл бұрын
Thanks.
@softwaredeficiency2521
@softwaredeficiency2521 Жыл бұрын
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
@DkUniverse
@DkUniverse Жыл бұрын
That's exactly how I felt when I learned lol
@elytra19
@elytra19 3 жыл бұрын
ty
@glugleu3214
@glugleu3214 3 жыл бұрын
I need to give multiple clones individual stuff
@joashcheong1985
@joashcheong1985 Жыл бұрын
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...
@DkUniverse
@DkUniverse Жыл бұрын
It took me 3 years lmao, in the same boat.
@joashcheong1985
@joashcheong1985 Жыл бұрын
@@DkUniverse lol
@Harry-wz6lg
@Harry-wz6lg 5 ай бұрын
hey can you help me out on my game with the google extension blocklive?
@Harry-wz6lg
@Harry-wz6lg 5 ай бұрын
its a extension where you can collab with scratchers live
@ikerm5285
@ikerm5285 2 жыл бұрын
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
@shaputer 2 жыл бұрын
Exactly. I have the same problem. This video wasn't helpful at all.
@TopazAndNumbySlayed.3
@TopazAndNumbySlayed.3 Жыл бұрын
Just chance the variable to -only this-
@user-kl4wv2yz9b
@user-kl4wv2yz9b 3 ай бұрын
@@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
@randomistough0
@randomistough0 2 жыл бұрын
7:16 this wouldn't sound right out of context
@cantalooupe
@cantalooupe 2 жыл бұрын
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
@DkUniverse
@DkUniverse 2 жыл бұрын
Did you create your variable while in the enemy sprite? And did you set that variable to "this sprite only"?
@cantalooupe
@cantalooupe 2 жыл бұрын
@@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
@Enigmatic.cs_
@Enigmatic.cs_ 2 жыл бұрын
@@cantalooupe you might of used a wrong variable or something, try making the same variable again. It worked for me
@mikespiehs8860
@mikespiehs8860 2 жыл бұрын
I feel dumb
@feritye767
@feritye767 Жыл бұрын
wow it's so damn easy I feel like an idiot
@DkUniverse
@DkUniverse Жыл бұрын
I felt dumb when I figured it out too lol
@iwishiwaschopin
@iwishiwaschopin 4 жыл бұрын
1st good vid!
@Leo555V1
@Leo555V1 5 ай бұрын
this is how I cheat in my 6th grade scratch coding
@BobbythePig
@BobbythePig 3 жыл бұрын
how do you make it count clones?
@eckoreckofantasy
@eckoreckofantasy 3 жыл бұрын
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"
@Itzdemonfr
@Itzdemonfr 2 жыл бұрын
make a list with clones
@megamckaren9042
@megamckaren9042 2 жыл бұрын
Thanks
@Itzdemonfr
@Itzdemonfr 2 жыл бұрын
idk if its a patch but your whole project dont work anymore, the variable is still 0 on your project and it wont change
@DkUniverse
@DkUniverse 2 жыл бұрын
This isn't patched. I'm not sure what your issue is so I'm not sure how to solve it.
@Itzdemonfr
@Itzdemonfr 2 жыл бұрын
@@DkUniverse ye it isn't, its your project which is broken, i tried for mine from warframe and it worked
@DkUniverse
@DkUniverse 2 жыл бұрын
@@Itzdemonfr Cool lmao, then use that one and stop complaining.
@Itzdemonfr
@Itzdemonfr 2 жыл бұрын
@@DkUniverse im not complaining lol your just getting mad over what? a failed video?
@DkUniverse
@DkUniverse 2 жыл бұрын
Lmao, so upset over block engine. Ask the thousands of other people this worked for why it didn't work for you.
@Blokevd
@Blokevd Жыл бұрын
its funny bc half of the video is explaining the problem
@kukiskan
@kukiskan 11 ай бұрын
I FORGET THE FUCKING FOREVER LOOP THATS WHY SHIT NO WORK :moyai:
@ArEX963
@ArEX963 3 жыл бұрын
2:13 Java get out of here 6:51 Dont judge me Shut up
@sebbe_swe
@sebbe_swe 3 жыл бұрын
Ho is the person that disliked????
@Floorbanana
@Floorbanana 5 ай бұрын
it was was that fucking simple. uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
@iwishiwaschopin
@iwishiwaschopin 4 жыл бұрын
why do i like to say first?