1 decade ago by suffrage
Seems pretty simple but I can't seem to get it to work. I just want to create an entity that does not collide with collision tiles. Here was my initial thought:
I'm just creating some falling leaves, so if there's a better way to go about it I'm up for that as well.
handleMovementTrace: function(res){ this.parent( res ); if( res.collision.x || res.collision.y ) { res.collision.x = false; res.collision.y = false; } }
I'm just creating some falling leaves, so if there's a better way to go about it I'm up for that as well.