[Solved] Platforms dont connect with each other
Icebox
Member Posts: 1,485
Hello there , Everytime I want to design my levels in a platformer game, I have to use one platform only , one actor only , i cant connect two platform actors together , if i do the Hero actor gets stuck between the platforms until i jump or go back and forth . The platform actors are both on the same y position , i tried to get them close to each other and further from each other but the result is always the same. I even tried changing the layers but no use. I dont know what to do really , tried everything and searched if someone had the same problem, but couldnt find anything.
Comments
You may already have tried this, but you could use one actor which is tiled. In the prototype actor you change graphics/horizontal wrap to tiled and make the tile width the same as your image width. This will repeat your image across an actor which is stretched. Any use?
@frd yea i always use that method , but sometimes i want to add a bridge for example beside the previous platform , or add another platform at the same y position , i just cant , i have to bring it lower or higher , but thanks i always use tiles , i dont know if this problem is from GS or if im doing something wrong , but im sure that the y position of both actors is the same , cant really understand why this happens.
for example this , i try to add a bridge at the same y position but it freezes sometimes
You can change the collision shape of the actor to circle.
Or changing bounciness to 0.1 works for me too.
@frd I just tried it for few times and it worked , thanks alot man , both methods work , but the circle collision causes issues with tiled and stretched actors , the bounciness works perfect , i dont know why this happens though , but thanks again for helping out i was stuck with it for ages , now i can do a good level design
This is a known bug in GameSalad. It seems to have happened in a reasonably recent version. Glad the workarounds have done the trick, though!
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Great, glad it's working.
i use invisible walls sometimes:) just create a invisible actor that acts like a floor for example and put it behind your floor texture:)
@rvantilborg thanks man , its also a good idea but the bounciness trick works,it solved it and it doesnt require another actor so ill stick to it and it might work better for you too instead of adding an invisible actor , but thanks again