How to build a fast paced space shooter based on the classic arcade game Asteroids, but with Lemons! In this second part of this Scratch tutorial we cover enemy Lemon spawning and movement, and delve into the slightly complex world of clone to clone collisions. We also look at making the lemons split into pieces when destroyed. That leaves us with the exciting explosion flashes, screen shake and more for part 3!
Wondering why Lemons? Well, Lemons were the first fruit to have achieved interstellar capability and are thus attempting to take over the universe. To tackle such a scenario we obviously need to fight back with rapid fire lemon busting lasers!
⭐ Support this channel – Join to get access to perks:
🐱 Scratch Starter Project Game Assets
👀 Simple Space Shooter
Part 1 –
Part 2 –
Part 3 –
❤️ Enhanced Scratch Developer Tools
📹 The Awesome Video Editing software I use (Camtasia)
————–Video Chapters————–
0:00 Intro
00:43 Game Music & Sounds
02:34 Drawing a Lemon
03:57 Coding a Lemon
08:47 Wrap around lemons
11:20 Spinning Lemons
14:29 Lemon Laser Laser Lemon
16:55 Touching Race Conditions
19:29 Splitting the Lemon
22:18 Fix Collisions II
23:49 Episode 3
24:14 Members Projects
25:23 Outro
@griffpatch im typing this in the year 2023 not 2022 but i can't hear the music for some reason!
lemons dont spawn up or down only on x axis help
How did you put the sound
yo griff, can you created minecarft game, please
my collisions where fixed with a wait instead of 0 it waas 0.00001
i just used the sprite and laser code from griffpatch and now I'm working on a different game with those codes altogether
I have a problem with the lemons spawning in the center of the backdrop, also if I shoot the lemons at full fire rate the game going like 1000000% faster.
my melon keeps going in the middle and spinning
bro i have one question. where do we get all audio
Thank you so much! I wanted to create a space shooter for a long time! You helped me so much! Tho instead of a lemon i created four different costumes, Made a new variable called COS, Set COS to pick random 1 to 4, And at the start of when i start as a clone, Set costume to COS, This will give a variety of enemies! And if i want more, I can just create more costumes and the change the range in pick random to 1 to –, Please tell me if it is good or not in your opinion!
Can you share the n-dimensions?
23:20 the lemon said "touching lemon"
Man, u can just make this:
Laser:
If touching lemon
Broad "name"
Erase clone
Lemon:
When I recive "name"
Erase clone
Man, u can just make this:
Laser:
If touching lemon
Broadcast "name"
Erase clone
Lemon:
When I recive "name'"
Erase clone
he is the best thank you griffpatch
meow ?
for the wrap around im having trouble cause when i put the block the lemons dont come in game.
Part 2 is here
At 12:36 I like using those blocks so no, it's not the part I don't like
i cant see my lemons
y did you make direction instead of dir
GRIFFPATCH,when i start the game the lemons dont come . why?
I made watermelons instead and made them become slices when shot
Griffpatch I have just found a glitch when you stand near a edge you are not able to shoot I think it is because it detects touching the edge
Apparently, when i folllowed the script of the lemons moving, i found clone spawning in a VERY tight circle that the player cant get out of. What is that about?
So I found out that when setting the Lemon costume to big, I also have to set the size to 100%, otherwise the smallest Lemons don't wrap around and I excede the clone limit, because they are stuck off screen.
love it
How we made all adau
How to make turrets
Add a clone variable and then every time you make a clone change it by 1 then it will tell you how much clones then repeat and create clone block and then put clone * 2 block on repeat number
whats the trickier way with mod blocks?
use start sound and wait block in the laser sprite
i like this vidieo
i like this video
20:48
I rlly wish i could but i cant pay for membership sryy
The lemonoids is very fast in me how to repair
is the splitting optional?
the problem is that you didnt use or block
its not working :((((((((((((((( the define enemy hit dosent work
The Lemons In Space is still in construction.
L E M O N
I was trying splitting the lemon, followed it exactly, even double-checked my work, but it doesn't work?
thank you for this video…
but I do have one problem in the part of sizing the lemon . because when I finished the code
the lemon was hiding in one shoot
Splitting lemon script doesn't work for me
21:59 im getting 6 clones after shooting the lemons and all go in the same direction . yes they split but they do not go away from each other. Any solutions??
there is a bug if you wall into the edge of the screen you cant shoot
the music sounds like a terraria boss fight
I have a question : The sound Laser_Shoot16 is you make by yourself or you get form some were?
For all those asking – Part 3 is in production right now and I'm hoping to get it ready for this Monday 19th