Change actor attributes with accelerometer
MarkOnTheIron
Member Posts: 1,447
The example I'm trying to make is of a ball attached to a rubber band.
The ball start on the center of the screen and when tilted it moves away but only for 100 px.
The hard part comes with the rubber that should rotate and stretch from the center following the ball. How can I do it?
The ball start on the center of the screen and when tilted it moves away but only for 100 px.
The hard part comes with the rubber that should rotate and stretch from the center following the ball. How can I do it?
Comments
here I made a demo: http://gamesalad.com/game/play/33978
you'll have to make a game attribute for each and constrain position and width to them.