how to constrain a (coin) actor to a moving platform
Simple Apps
Member Posts: 158
Hi every one .
i made an endless runner type game and i'm struck with the coins.
https://www.dropbox.com/s/fb2ir2lbkyvguof/coin problem.mov?dl=0
i want to constrain some coins (which are in red color in the above video) to the platforms
i tried constraining (coin)actor x and y positions to platform x,y+30 position.due to that the (coin) actor first constrain to one platform and another and goes on changing platforms.
if any one knows please help me.
Thank You
Comments
?/
My Games Link:
https://itunes.apple.com/au/app/real-ants/id932999551?mt=8
lhttps://itunes.apple.com/au/app/horse-challenge/id930967102?mt=8
Instead of using a constrain, I would just have each of your platforms spawn a coin and then have that coin move at the same speed the platform is moving. Then it will seem to be constrained and just sitting on the platform waiting to be picked up by the player.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thank U @ jamie_c
My Games Link:
https://itunes.apple.com/au/app/real-ants/id932999551?mt=8
lhttps://itunes.apple.com/au/app/horse-challenge/id930967102?mt=8
You're welcome
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page