Is it possible to make a scrollable actor collide with a non-scrollable actor?
LolusPololus
Member, BASIC Posts: 7
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!
Comments
Nope.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
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.
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.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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
I worked out what I needed in the end, thanks guys!!