Discuss Scratch

20140069G
Scratcher
22 posts

I need help with an enemy

So I am making a game which has bullets travelling at very high velocities, therefore it doesn't register as it touched another sprite, if i don't want to lower the speed, what should i do?

Here's the code I'm using for the receiver:

https://imagetolink.com/ib/cTWWXnXMNv

Here's the code I'm using for the projectile:

https://imagetolink.com/ib/2IXbjCVfdL

Thanks for anyone helping me!

Edit: Yes I know i posted this twice, I kinda didn't know this was the wrong topic but hey! Atleast i get double the attention!

Last edited by 20140069G (March 26, 2024 12:37:22)

Za-Chary
Scratcher
1000+ posts

I need help with an enemy

It may be more helpful if you were to share the project so folks could look at it.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.

I was a Scratch Team member from May 10th 2019 to October 29th 2021.

my notebook | scratch team essay | accessibility essay
20140069G
Scratcher
22 posts

I need help with an enemy

Sure thing! Here's the link:
https://scratch.mit.edu/projects/987012035/
UnstablyCorrect
New to Scratch
20 posts

I need help with an enemy

whats happening here likely is that the bullet is too small and is passing the sprite. There are two options. You could make the bullet bigger so it is more likely to touch the sprite or make a bullet tracer. that follows the bullet

e
20140069G
Scratcher
22 posts

I need help with an enemy

Oh thanks for that alternative, I didnt want to make the bullet bigger, so thanks for the idea!
20140069G
Scratcher
22 posts

I need help with an enemy

Well, turns out none of the options worked, but still thanks for the suggestion! Take a look at this video after i did both things:
https://encr.pw/xmVoF

P.S. Do you think i need to make the tracer longer?
P.S.S: Had to use a shortened url link otherwise scratch censors it!

Powered by DjangoBB