Grow Your Scratch Game With These Hacks!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
does your scratch game look like this well in this video we'll be adding some metaphoric sunshine water and fertilizer to transform your game into something amazing here is a boring clicker game we won't change any of the gameplay but we'll make it look better with these simple scripts let's give our metaphoric plants some sunshine with this amazing shine effect so we go create new Sprite paint draw a rectangle and now we get rid of one of the points just select and delete then drag this so it looks kind of like the middle then we get rid of the outline no outline we make the fill White then we copy Ctrl C control V then use this rotate thing but hold shift and then it will move in nice steps it doesn't really matter how accurate you are you can always change it later and then copy your four things into eight and then select all drag it in the middle it should snap now we get a when green flag clicked set ghost effect to something like 50 this will make it transparent go to back layer then we get a forever Loop turn one degree now let's test it oh you can't see it because the background's white let's change it select choose a backdrop and then just get a blue sky or something you want and also I need to move this shine effect to zero zero now let's try it look at that it's already improved this next thing that I'm about to show you is as important as Watering your plant it is an amazing button effect that will make your game so much better so in this Sprite we've got this basic script it does work like look our numbers going up but it looks really boring so to fix it we get rid of this when Sprite click then we replace it with a when green flag clicked a forever and if else Naf I'll wait until then another if now yeah there's a lot we'll start putting stuff in it and it'll make sense so we do a if touching Mouse pointer so we need to actually touch the button then if Mouse down we need to touch the button and be pressing down wait until Mass down but then we want to make it not Mouse down so we wait until we click and then we release the mouse button and then we do another if when touching Mouse pointer because you might move your mouse away from the thing before you finish clicking and we don't want to count Miss clicks so we get rid of them now here we can just set size to 110 to make it bigger then size to 100. now if we click play it does get bigger but it's not a very good animation is it okay to make an animation this is what we do we get a plus block set size to then we get this little size thing size Plus then we get a minus a hundred minus size then we divide it by two and then we duplicate this and chain get rid of this set size and then we make that 120 or in a bigger number so this will make it bigger here's just a brief explanation this smoothly changes the size so the it will get to a hundred and then you can change this number to make it faster or slower and then in this if touching Mouse pointer we can just change our clicks by one let's give it a test click the flag look at that it's moving gets bigger and then smoothly goes back so much better than our old button before I can show you the super cool trick they'll be like fertilizer for making your game look so much better I need to show you how to make these cool this cool particle effect I don't really have an analogy for it maybe like mulch or something okay so create a new Sprite the particle should be the same as the finger clicking so just choose that now the particles will be clones so you want to do a once I start as clone block then we'll go to a random position so this should be at the top of the screen which is about one y 180 and then random position across horizontally so it's like minus 200 to positive 200. it doesn't really matter how precise you are then we'll get a random rotation so from negative 360. to positive 360. so I'll do a full circle then you want to show set size to whatever you want really maybe like 30 to 40 percent so make it smaller but a random amount of smaller because you want your particles to all be different then we can set the color effect to but then we'll change the color to ghost then do another random block this can be 60 to 70. it doesn't really matter but the bigger number the more transparent it'll be and now we'll get a repeat until less than we'll drag a y position y position is less than about 100 negative 180. so when it reaches the bottom of the screen what we'll do is delete this clone and then in here we'll make it go down a bit change y by negative 10. and now to make our particles spawn we need to go to our clicker thing and then we can just use our create clone of myself and change myself to cat I'll rename it to particles yeah and then we'll get that create clone of particles so now we need to make sure we hide it over here and let's test it okay I messed up don't change X by minus 10 change y by minus ten bit stupid okay let's try that again look at that now see some of them are going in front of our cat some of them are getting stuck and then also kind of look boring so let's fix that now so we want to turn some degrees maybe like two degrees change this to minus maybe 170. you'll you'll have to adjust this number based on how big your Sprite is and then we'll want to go to back layer Let's test that now okay we click it they're spinning and it's going down in real life things have gravity so the longer they are falling for the faster they are so let's make a variable for this Sprite only called like gravity or something so you know when I start as clone we set gravity to one at the start we change gravity Gravity by one and then we put a times in this and then we'll change y by gravity times minus 1.5 or something like that you can change numbers to make it four faster oh my voice then we'll click and we're getting nice falling cats isn't that really cool currently our game has this ugly orange variable readout let's change it to something that looks heaps cooler so this number counter is inspired by tutorial on Jackson Academy so the first thing is you do is create a Sprite and then just choose numbers see we go we get all these numbers let's start with one then we choose another costume search for two try and find it then you search for free but it's important that you rename them from glow one glow 2 to the number itself so we get one two three and then just keep doing repeating this search the number choose it change the name all the way to nine okay then we add zero at the end so search for zero put zero in then we don't choose any more numbers we paint an empty costume and name it blank just nothing there okay and the costume has nothing in it so we've got one through to zero then a blank costume now let's add some code so the way this County works is we use clones when green flag click repeat ten times create clone of myself so we'll create 10 clones which means we can have 10 numbers shown we also want to hide it because we only want to show the Clones when I start this clone show forever and then this is where we'll update what numbers showing switch not backdrop switch costumes okay we've got empty switch costume block now for this to actually work we need to know which costume to switch it to so we get a clone ID variable for this Sprite only has to be for this Sprite only we set it to one we change it by one and then we can use this in the switch costume block so letter clone ID of clicks which is the variable we wanna show it for and then to space them out this is a bit complicated so why we can just do a hundred then for X we've got a long block okay so what we do is we get a minus block then we get another minus Block in here we put our clone ID variable in then 0.5 so we minus a half then in this second minus thing we get length of clicks divided divide divided by two times 50. now put it in I'll explain it in a second but let's first test if it actually works so it's centered and it stays centered when we change the number now this 50 is the spacing so if you want to move space it further away make it bigger if you wanna the numbers closer make it smaller but 50 looks nice um if you didn't get client ID minus a half it would be slightly off centered so you need that if you didn't divide the length by two it would be to the I don't know what side that is I don't have my left or right now this works but we want a nice effect when the numbers change if if costume name equals this this letter clone ID of Click so we just duplicate that and then do a knot then we will put this switch costume in here and then we'll do a change size by how much you want to grow it by to shrink it back we set size two then we can go to the click thing we did we can just duplicate it by dragging it in then we put the size there and then that should be good let's test it look the numbers going up that looks nice doesn't it your garden won't grow overnight but if you watch this video here we can add a shot and make it even better and also can you please subscribe so I can get a little microphone
Info
Channel: Donutask
Views: 248,882
Rating: undefined out of 5
Keywords: donutask, charles belcastro, scratch, scratch games, scratch hacks
Id: igmY5MTLY2Y
Channel Id: undefined
Length: 11min 6sec (666 seconds)
Published: Sun Feb 26 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.