Discuss Scratch

leet423
Scratcher
18 posts

Hitboxes

How do you add multiple hitboxes to a sprite?

Last edited by leet423 (March 31, 2024 01:13:32)


define leet423
say [Me!] for (2) secs
Wolf_Link21
Scratcher
100+ posts

Hitboxes

you could have multiple costumes

This is dave
:D :: hat :: motion
He protects my from evil kumquats.
Please follow me if you find my response helpful and give me any ideas for my game https://scratch.mit.edu/projects/992371983/
leet423
Scratcher
18 posts

Hitboxes

That's what I mean. I have multiple costumes and I need Hitboxes for each one. It's the coding aspect I mean.

define leet423
say [Me!] for (2) secs
Ocean12021
Scratcher
27 posts

Hitboxes

SO basically add a box around your sprite and then make in so its not visible and the width is thick then you do when lets say a ball touches colour black remove 10 hp

ᴘᴜᴛ ᴛʜɪs ᴏɴ ʏᴏᴜʀ ᴘʀᴏғɪʟᴇ
ɪғ ʏᴏᴜ ʜᴀᴠᴇ ᴘᴜsʜᴇᴅ
ᴀ ᴅᴏᴏʀ ᴛʜᴀᴛ sᴀɪᴅ ᴘᴜll

Powered by DjangoBB