Discuss Scratch

Platinum_02
Scratcher
5 posts

How do I create laser? (WITHOUT PEN)

Hello, I'm making a Shmup arcade game and one of the weapons that the player or enemy can pick up or use is a laser. Why don't I want to use a pen? If you ask, I had trouble getting players to detect the lasers even using if touching colors. Sometimes players die themselves when they touch something other than the laser. Do you have any ideas?
Platinum_02
Scratcher
5 posts

How do I create laser? (WITHOUT PEN)

If anyone wants to know what the project is like, here it is : https://scratch.mit.edu/projects/992402813/

Last edited by Platinum_02 (March 31, 2024 05:17:26)

lgrov44
Scratcher
500+ posts

How do I create laser? (WITHOUT PEN)

How's this?
if <(Picked Up) = [True]> then
forever
go to [Sprite to spawn at. v]
show
point in direction (Direction v)
end
end
(The sprite should be a start line from the center outwards with a length of at least 600, assuming the starting point can be anywhere on the stage and the direction can be anything, length may work if shorter if assumptions are wrong.)

Last edited by lgrov44 (March 31, 2024 06:49:36)


lgrov44, an Australian Scratcher whose most famous for his follows, followed by his activity, especially on Discussion Forums, and his follower count. Is also a remix chainer and school student. Identifies as bisexual.

My top 3 favourite people:
1. @Higgies (deleted) - First Follower, Thank you so much! (Wish you could see this…)
2. @Dubstepv1 (Banned/Moved) - Remix Chainer
3. @GIitchInTheMatrix (Moved to @GlitchedThrough) - Many small things.
Still looking for one of my first followers who are still active.
Platinum_02
Scratcher
5 posts

How do I create laser? (WITHOUT PEN)

I guess the simplest solution is the best

Powered by DjangoBB