Discuss Scratch

banana_cat_studios
Scratcher
1 post

Code

I am making a game where you shoot lasers to destroy asteroids ☄️ but I am making it mobile and I cannot get a button to make it shoot a laser plus I am also making it so you can play in on keyboards and mobile devices. Please help
kooqle
Scratcher
74 posts

Code

Hi! You can do something like this:
When this sprite clicked
Broadcast (shoot)
Hope this helps!

Cloud Inc.
Here at Cloud Inc. We believe that that the sky's the limit! We've been here on scratch for a long time, with multiple different shop posts. No matter how many people quit, no matter how much things might suck, we always come back. That's what true service is.

-Cloud Inc. Team ☁

kooqle
Scratcher
74 posts

Code

when this sprite clicked
broadcast [Shoot v]

Cloud Inc.
Here at Cloud Inc. We believe that that the sky's the limit! We've been here on scratch for a long time, with multiple different shop posts. No matter how many people quit, no matter how much things might suck, we always come back. That's what true service is.

-Cloud Inc. Team ☁

Powered by DjangoBB