Camera Rotation like puzzle dozer

zombotszombots Member Posts: 186
edited November -1 in Working with GS (Mac)
Im try to get my camera to rotate and follow my actor like the puzzle dozer game.

can anyone help me out with how to do it please?

Thanks
Ash

Comments

  • RedlerTechRedlerTech Member Posts: 1,583
    can you please be more specific?

    Matt
  • zombotszombots Member Posts: 186
    i want the camera to rotate with my actor to my actor it alway facing up in my game. almost as if the whole scene is moving not the actor.

    if that doesn't make sense play the lite version of this and it might http://itunes.apple.com/au/app/puzzledozerlite/id403552398?mt=8
  • zombotszombots Member Posts: 186
    also its a top down game
  • SkyMapleSkyMaple Member Posts: 817
    constrain scene.camera.rotation to hero's rotation :D
  • zombotszombots Member Posts: 186
    SkyMaple said:
    constrain scene.camera.rotation to hero's rotation :D

    thanks that was close i just had to do a - infront of the heros rotation and it works well.
    thanks again
  • SkyMapleSkyMaple Member Posts: 817
    np ;D
  • zombotszombots Member Posts: 186
    i have added on screen controls to my game. they are non scrollable so they stay in the same postion but because the camera rotate it seems like they move. any idea on how to get them to rotate with the camera?

    thanks
    ash
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    zombots said:
    i have added on screen controls to my game. they are non scrollable so they stay in the same postion but because the camera rotate it seems like they move. any idea on how to get them to rotate with the camera?

    thanks
    ash

    weird manipulations almost always causes problems for the HUD elements. Zooming is a real bitch for example.
Sign In or Register to comment.