Is it possible to make a scrollable actor collide with a non-scrollable actor?

I'm trying to make a level that auto-scrolls, and I want the player to scroll with the level. But I also want the enemies I placed there to stay where they are and collide with the player when he gets there. I know the problem is that one is scrollable and the other is not, but is there any way to work around that?

Thanks! :smiley:

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Nope.

  • BBEnkBBEnk Member Posts: 1,764

    Non Scrollable Layer? or Non Moveable Actor? makes a difference, but Yes you can have a moving Player collide with non moving Actors placed on scene.

  • ArmellineArmelline Member, PRO Posts: 5,410

    You will want to move your player without placing it on a non-scrollable layer. As @Lost_Oasis_Games says, you cannot collide a non-scrollable and a scrollable layer. But there's really no compelling reason to put your player on a non-scrollable layer.

  • Agent ArgyleAgent Argyle Member, PRO Posts: 188

    Not only that but you will get false positive collisions where you don't expect them if you try to make actors on non-scrollable layers collide with actors on scrollable ones. See this bug: http://bugs.gamesalad.com/show_bug.cgi?id=1368

  • LolusPololusLolusPololus Member, BASIC Posts: 7

    I worked out what I needed in the end, thanks guys!! :smiley:

Sign In or Register to comment.