how can i do this - working with player positions

CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078

the image below shows a HUD for an rpg game, but in the area where the character is supposed to be, (should be very obvius) i want the camera follow area to be in the center of the hud, so its like playing an rpg game on a gameboy, but the camera controll area wont do this, any help would be great. thanks
image

Comments

  • nir3112nir3112 Member, PRO Posts: 312
    In the scene option you can change th size of the camera to follow your player
    I hope I understand your question..
  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
    hey my question wasnt to clear, its hard to explain, but in the images below you will see the camera controll area, as you see in the second image i have dragged the camera controll to the centre of the screen, but i want the center of the screen to be above where it is, like in the hud area where the character is going to move.
    @nir3112
    image

    image
  • nir3112nir3112 Member, PRO Posts: 312
    ok i got that its easy just change the size of the camera to be on the player but the player will be able to move just in the screen(where you want)
    you can create another actor that will be on the screen and will be invisible and create this rule:
    when player overlaps or collides with this actor >player can move (drag the move action)
    i hope its good..[=
  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
    @nir3112 thanks for your help so far but i dont exactly understand what you mean
  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited October 2013
    Hi @CodeMaster

    Click on Scene in the Inspector, then Attributes. Click on the disclosure triangle next to Camera, then the triangle next to Origin. Adjust the Y value as you want, and you're done. (You can also accurately adjust Size and Tracking area here as well.)

    Edit: I've just realised you're using the Windows version of GSC… hopefully it's similar to Mac as described...

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.