Stencyl 3.4.0 is now out. Get it now!

Bug Issue: regions collide with tiles


Pages: 1

sundaefactory

  • Subscriber - Stencyl Indie
  • *
October 07, 2015, 08:09:40 am
I am using hxscout to profile my game and I have found something strange.

In my test scene I only have tiles and regions, no code anymore. When regions don't overlap tiles, framerate is ok. When regions overlap tiles, I can see a lot of Box2D calls and a big framerate drop down.

My conclusion is that regions collides with tiles, which seem to be useless. More over, in the region group description, it's written that regions never collide with anything.

Can you confirm this is a bug ?


oripessach

  • Subscriber - Stencyl Studio
  • *
October 07, 2015, 08:11:41 am
I've seen this happen too. I had to abandon some game design ideas because of it.


Jon

  • Chief Stencyler
  • *
October 07, 2015, 10:36:18 am
Regions still have to register collisions, otherwise they wouldn't know that actors entered them. That said, there isn't any functional benefit (as far as I can tell) to have regions and tiles report a collision. We can look into turning that off.
  • Status changed from New to Confirmed


sundaefactory

  • Subscriber - Stencyl Indie
  • *
October 07, 2015, 10:48:32 am
Yes I understand for actors, if you could disable collisions for tiles it would be great.


Justin

  • Master Stencyler
  • *
March 14, 2016, 11:11:41 am
I can look into turning it off, but it may break some behaviors if anybody's actually relying on this (for example, I think Greg did something like this for the original Jump and Run kit, but IIRC he used sensor actors rather than regions).


Justin

  • Master Stencyler
  • *
March 14, 2016, 02:52:08 pm
Behavior changed in b9043.
  • Status changed from Confirmed to Resolved


Pages: 1

Details

  • Reported
    October 07, 2015, 08:09:40 am
  • Updated
    March 14, 2016, 02:52:08 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.3
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Collision Groups

Tags