Camera Control

DimensionGamesDimensionGames PRO Posts: 993
edited November -1 in Working with GS (Mac)
Sorry this has been slightly frustrating for me! I remember seeing it on the forum before where someone wants to move the camera so that you can keep the menu system in the same scene! Couldn't find it anywhere!

Cheers

Comments

  • DimensionGamesDimensionGames PRO Posts: 993
    Sorry I said that wrong! I meant where you type in the co-ordinates of somewhere in the scene and the camera move to that e.g. when point a is pressed move to x,y but in the same scene.

    Cheers :)
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    i think he wants to improve the loading time between scenes by putting a few scenes inside of one, like the main menu, level select and options all in one scene, and move the camera depending on what they are looking at.

    Is that right?
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Utopian Games had a demo
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Make a button actor. Drag it into the scene. unlock it. Create a rule:

    Rule when touch is pressed
    Change scene.Camera.Origin.X to 480
  • DimensionGamesDimensionGames PRO Posts: 993
    jonmulcahy said:
    i think he wants to improve the loading time between scenes by putting a few scenes inside of one, like the main menu, level select and options all in one scene, and move the camera depending on what they are looking at.

    Is that right?

    Yes :)
    scitunes said:

    Change scene.Camera.Origin.X to 480

    So is the first bit a boolean attribute?
    Sorry for being very simple...lol

    Cheers
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Nope.

    Just click the rule button at the top right
    Select when touch is pressed
    Then drag in a change attribute behavior from the list of behaviors on the left
    Then in the first box select current scene (only available in UNLOCKED instances) - camera - origin - X
    Then in the second box type 480

    This will move the camera so that the bottom left pixel is at 480 instead of 0
  • DimensionGamesDimensionGames PRO Posts: 993
    Thank you!! I will hopefully have to stop making these posts just waiting for Photics Gs guide to be released in the Ibook store :D

    Cheers :)
Sign In or Register to comment.