Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I add optimizations like culling and also collision.
- Oswald-116
-
37 posts
How do I add optimizations like culling and also collision.
How can I add backface culling, beter resizable shapes, like circles and collision with objects or other hitboxes that aren't visable.
- MasterofTheBrick
-
1000+ posts
How do I add optimizations like culling and also collision.
https://en.scratch-wiki.info/wiki/Hitbox
A hitbox is usually a box or a rectangle that is black in colour, with the transparency set to 100. When the sprite is touching the colour black or the hitbox itself, it will initiate the script that stops it from moving.
A hitbox is usually a box or a rectangle that is black in colour, with the transparency set to 100. When the sprite is touching the colour black or the hitbox itself, it will initiate the script that stops it from moving.
- Discussion Forums
- » Help with Scripts
-
» How do I add optimizations like culling and also collision.