Skip to content
Turbo Scratch
2D pixel collision

2D pixel collision

by CodingKona

  • 👁 29
  • ❤️ 4
  • ⭐ 4
  • 🔄 0
  • Created: Dec 9, 2021
  • Last modified: May 16, 2022
  • Shared: Dec 10, 2021

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.

Instructions

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

Project Details

Visibility
Visible
Comments
Enabled