rubatopy / rubato

A lightweight, developer-first game engine built for Python
https://rubato.app
GNU General Public License v3.0
23 stars 1 forks source link

Hitbox collides only with specific tags #411

Closed mrElnekave closed 1 year ago

mrElnekave commented 1 year ago

Describe the solution you'd like

I want a HitBox be able to interact with Hitboxes with only a specific tag. ie. enemies can walk on clouds but not the player

Describe alternatives you've considered

maybe in an on_collide you can just undo the collision. Or a proper way to do it.