Discuss Scratch

JoeyjJoe
Scratcher
74 posts

Problem with Projectiles

I am making a fighting game and the sword fighters Special Attack is an energy slash akin to a light beam. When N is pressed it runs the custom block (Not run without refresh). The code wont work though. Pls help.
Project: https://scratch.mit.edu/projects/978738430/

Working on a JRPG that is a collab between many Scratchers, but we need more help! If you wanna help, fill out the forum form.
https://scratch.mit.edu/discuss/topic/756559/?page=1#post-7973759
MineTurte
Scratcher
500+ posts

Problem with Projectiles

JoeyjJoe wrote:

I am making a fighting game and the sword fighters Special Attack is an energy slash akin to a light beam. When N is pressed it runs the custom block (Not run without refresh). The code wont work though. Pls help.
Project: https://scratch.mit.edu/projects/978738430/
The problem was being caused by the fact you were using a broadcast for “move”. I just swapped it with a custom block and it works.
https://scratch.mit.edu/projects/992273212/

Hope this helps!

15+ (not revealing age) girl. Pronouns are she/her.
Host of The Pi Counsel. Comment in studio to join.

Front-end web developer & software programmer. I use JS, HTML, & CSS. Learning python3 right now.
Grammar fanatic as well

If I helped you out consider following Juni-Bug!


Select this + shift + down arrow = view rest of signature

This is JuniperActias. AKA Moth mommy.





Signature gradients here





If you found this secret; reply with ‘uwu’ with absolutely no context













Powered by DjangoBB