Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Hitbox won't work...
- funni_dot
-
6 posts
Hitbox won't work...
I've been working on a project for the last few days, and everything was going fine. I was working on the hitboxes. After a little while, I was finished with the left hitbox. So, for the right hitbox, I just copied the left hitbox, changed the positioning, and the variable. But when I tested it out, it didn't work. I know that the issue is that the right hitbox isn't detecting the wall, but I don't know why it doesn't. The code for both the left and right hitbox respectively is as follows:
I would show you some images, but when I came back to the project, none of the collision would work…
I would show you some images, but when I came back to the project, none of the collision would work…
- Grizzly_NightStalker
-
92 posts
Hitbox won't work...
I suggest you remix the project with only the left hitbox working for now and then share that project and I could assist you further. Because as of now it's hard to see what's going on if nothing's working.
- funni_dot
-
6 posts
Hitbox won't work...
I suggest you remix the project with only the left hitbox working for now and then share that project and I could assist you further. Because as of now it's hard to see what's going on if nothing's working.
That project doesn't exist…
- funni_dot
-
6 posts
Hitbox won't work...
Bug resolved: hitbox sprites weren't big enough.
still, thanks for your help!
still, thanks for your help!
- Discussion Forums
- » Help with Scripts
-
» Hitbox won't work...