platform help
tysonwills
Member, PRO Posts: 24
I have been trying for days now to create a moving platform that has a hole in it that the player can jump through and land on the platform, but he can still fall down throught the hole from above.
I can do it ok if the platform has movable ticked but anything above lands on the platform it makes it fall downwards with the item.
Pleas can someone help it is driving me nuts. cheers
I can do it ok if the platform has movable ticked but anything above lands on the platform it makes it fall downwards with the item.
Pleas can someone help it is driving me nuts. cheers
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
The player seems to be able to jump through the platform at one end and after a while eventually falls down.
Please someone help
http://www.bic-designs.co.uk/henry/platform/jump_test.zip
So far, I'm stumped. Maybe someone else can help...
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
surely someone out there can solve this problem, please i am going mad trying to sort.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
For the platform with the hole in it try leaving the platform blank and creating 2 actors in both of them put a collide with the hero behavior then put them both on the screen on the left and right side of the platform but leave a gap in the middle that might work so the hero can go left and right without falling but can fall through the gap.
Sorry if it doesn't work just an idea that popped through my head.
Oh and to get the player to jump through the hole and land on top without falling through @tshirtbooth had created a tutorial for it if it not him I'm sorry to who created it. Just make a new a tor put it in the gap of the two actors and I will find Tshirtbooth tutorial for you.
Bilal
@Bilzo12 is correct. If you uncheck wrap X, and If you place two copies of the platform actor so that the correct gap is formed then the problem goes away.
To get the platforms to wrap, use a rule in the platform:
When self.Position.X > (game.Screen.Size.Width +( self.Size.Width/2))
-- Change Attribute: self.Position.X To: -( self.Size.Width/2)
That should fix it!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Can anyone please do a sample file Please it is driving me mad