is it possible to get a list of collisions?

designpeg

  • *
  • Posts: 731
does anyone know if I can use a code block to get a list of actors that are currently colliding? or some way of outputting collissions for all actors to the console?

This would help me debug a slow down which I'm sure is due to a collision firing too often

KaB00MxRHx

  • Posts: 30
wasn't there a way to play the game with collisions drawn so you can see? I've seen that before in a tutorial but I can't figure out myself how to get it to view the collisions when i run the game.
Work in progress: Rusty Floyd Shotgun : http://www.stencyl.com/game/play/37449

designpeg

  • *
  • Posts: 731
Hi, yes you can see the collisions shapes drawn, but I wanted to get a list of all occurring collisions on and off screen.

JeffreyDriver

  • Posts: 2262
COLLISIONS > COLLISION POINTS

There's a block for detecting collisions. Could you not use that to write each collision to a list?

designpeg

  • *
  • Posts: 731
cool I'll try that