Bug Issue: !HELP! Actors and Players going through tiles !HELP!


Pages: 1

ajgmcmur

  • Junior Stencyler
March 29, 2017, 06:19:54 pm
So some how I changed something about my code so that both my enemies and my player characters can go through walls. All collision groups are in their current places and all the tiles have the proper collision boxes. 


rob1221

  • Master Stencyler
  • *
March 29, 2017, 06:58:13 pm
Make sure your collision type is set to "normal".  Otherwise they'll go through walls as well as any other actors that are not set to "normal".
  • Status changed from New to Need Info


ajgmcmur

  • Junior Stencyler
March 29, 2017, 07:05:26 pm
Hey Rob thanks for the reply. Both my player and my enemy are set to normal and still go through walls


rob1221

  • Master Stencyler
  • *
March 29, 2017, 07:32:50 pm
If you're moving by changing the position or by tweening, that can cause actors to go through tiles.  If your actors are very fast and don't have continuous collision detection that can also be a cause.  Make sure that you didn't accidentally change the collision group for an actor or change the settings in the main collision options.

If none of this helps I'd like to see a sample game.


ajgmcmur

  • Junior Stencyler
March 29, 2017, 07:56:15 pm
No change

Here's my sample

http://www.stencyl.com/game/play/36367


rob1221

  • Master Stencyler
  • *
March 29, 2017, 08:01:30 pm
By sample game I meant the project itself, the .stencyl file.


ajgmcmur

  • Junior Stencyler
March 29, 2017, 08:06:21 pm
Forgive me but how do I send you the .stencly file


ajgmcmur

  • Junior Stencyler
March 29, 2017, 08:19:39 pm
By sample game I meant the project itself, the .stencyl file.

How do I send you the .stencly file


rob1221

  • Master Stencyler
  • *
March 29, 2017, 08:56:37 pm
There's an option to export the game which creates the .stencyl file.  Then you can attach the file here using browse and attach on the right side of this page.


New attachment added by ajgmcmur - March 29, 2017, 09:13:53 pm


ajgmcmur

  • Junior Stencyler
March 29, 2017, 09:15:15 pm
File attached


rob1221

  • Master Stencyler
  • *
March 30, 2017, 09:31:56 am
Your "Actor - Ghost Kill" event did not define an actor type to collide with so that resulted in your player killing the collision shapes of the tiles.
  • Status changed from Need Info to Closed


ajgmcmur

  • Junior Stencyler
March 30, 2017, 10:13:42 am
Awesome thanks for the help Rob!


Pages: 1

Details

  • Reported
    March 29, 2017, 06:19:54 pm
  • Updated
    March 30, 2017, 10:13:42 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    3.4.0 beta4
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Collision Groups

Tags


Attachments

* Prototype game v4.stencyl (7490.56 kB - downloaded 1232 times.)