ScratchData LogoScratchData
Back to CodingKona's profile

2D pixel collision

COCodingKona•Created December 9, 2021
2D pixel collision
4
4
29 views
View on Scratch

Instructions

c=place block v=clear block x=spawn particles (direct with mouse) b=toggle editing (improves frame rate)

Description

This is an efficiency test for pixel collision method I am testing. The method logs all occupied blocks into a list then check collision by seeing if the pixel space coord of a point is occupied. The collision runs surprisingly well however rendering and editing pixel is laggy so I recommend turbowarp and editing off when posible.

Project Details

Project ID614387079
CreatedDecember 9, 2021
Last ModifiedMay 16, 2022
SharedDecember 10, 2021
Visibilityvisible
CommentsAllowed