Discuss Scratch

GamerYT_Scratch
Scratcher
17 posts

How to make Collision

I'm making a fighting game and I'm trying to make the player not go through the punching bag which I want to have collision to
The Player Idle Script:

whenclickedswitchcostumeto Idleifwalk=0thenforeverswitchcostumeto Idlewait1secsswitchcostumeto Idle2wait1secs

The Player Walk Script:
(Note: The Script also Includes the same thing basically but different keys and (Change x by)
when dkeypressedswitchcostumeto walk 1changexby10repeat1wait0.2secsswitchcostumeto walk 2
kanomaster
Scratcher
100+ posts

How to make Collision

Can you give me a layout of your game? (I take it its 2 dimensional) If you have a link I could help alot better, because collision can be tricky.
GamerYT_Scratch
Scratcher
17 posts

How to make Collision

@kanomaster
Layout

Last edited by GamerYT_Scratch (Jan. 15, 2025 00:09:05)

Powered by DjangoBB