Help with interpolate/move to?
RH
Member Posts: 1,079
I have an actor called camera that controls the camera. What I want is when my character overlaps with a red button the camera with move to the right by a distance just shorter than the iphone screen. I have two green areas, with a width of 40 pixels, placed at either side of the screen. When the camera moves I am trying to make it so the green area that was on the right is now on the left and a green zone that was offscreen is now located onscreen. This need to happen 10 times.
The problem I am having is that the measurements don't seem to add up. I.e. I tell it to move by +460 and it moves by about twice the distance of the iphone screen (in landscape mode). When I use interpolate they are really messed up and when i delete the interpolate rule it still seems to overwrite anything i make.
If anyone has time to take a look at this project I would be very grateful. Thanks
http://gamesalad.com/game/play/62939
P.S it's really really beginning to annoy me.
The problem I am having is that the measurements don't seem to add up. I.e. I tell it to move by +460 and it moves by about twice the distance of the iphone screen (in landscape mode). When I use interpolate they are really messed up and when i delete the interpolate rule it still seems to overwrite anything i make.
If anyone has time to take a look at this project I would be very grateful. Thanks
http://gamesalad.com/game/play/62939
P.S it's really really beginning to annoy me.
Comments
Hope it helps.
:-)
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
@gyroscope, Thanks a lot! Any chance you can upload it? I don't really
have an email that I want to put publicly on a forum thread for GS at the moment. Thanks a lot!
Added: here we are:
http://gamesalad.com/game/play/62951
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I think I've sorted it now but the distances that I am using still don't make any sense whatsoever.
Glad you got it sorted, anyhow.
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps