Discuss Scratch

Homerfgg_
Scratcher
100+ posts

Need help coding a new turret

In my Tower defense game (using warfame(fuelvin) engin) I wanna make a kind of tack shooter from btd6 that attacks all around it but I dont even know where to start so im asking here. Like it attacks every enemy in its range all at once. Here is my game: https://scratch.mit.edu/projects/592384275/
Zippy0426
Scratcher
99 posts

Need help coding a new turret

i guess you could make it check for enemies in its range then shoot bullets in a circle around the turret
S_w0Lf
Scratcher
27 posts

Need help coding a new turret

defineAttackaroundnumpointindirection0repeatnumCreateProjectilecustomblockshenanigansturn360/numdegrees

It has to be in a custom block with run without screen refresh ticked, otherwise it won't work
Homerfgg_
Scratcher
100+ posts

Need help coding a new turret

S_w0Lf wrote:

defineAttackaroundnumpointindirection0repeatnumCreateProjectilecustomblockshenanigansturn360/numdegrees

It has to be in a custom block with run without screen refresh ticked, otherwise it won't work
ok thx ill try it!
Dudername
Scratcher
1 post

Need help coding a new turret

Why send among us to Brazil?
Vixi_Mation
Scratcher
72 posts

Need help coding a new turret

Dudername wrote:

Why send among us to Brazil?
Please keep this Forum to specifically what the topic is. Thanks!

Powered by DjangoBB