Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Scene - Camera starting point

  • #1, by duartegarin 13 years ago Zitieren
    Hello,

    I want my see to start at the far right of my background image.

    And then, after some text, scroll to the characters of the far left.

    1) I have not managed to find how you can do an action of "wait x seconds".
    2) I do not know how to set a starting point for the camera. It seems to always align itself with the active character.
    3) Also can i have text displayed without it being from any character? (Ex: "In some distant galaxy..")

    Thanks in advance,

    Duarte
  • #2, by afrlme 13 years ago Zitieren
    yes, yes & yes...

    1 & 3 are both found under miscellaneous action part section:
    pause & display text (display text under misc is narration text & can be manually position wherever you like)

    2. scene > center scene on character permanently (tick "clear centering") stops scene being focused on the character - make sure you uncheck it later on after you are done. then you can use scroll scene to position or object action part or possibly Lua if you are feeling a little more adventurous.
  • #3, by duartegarin 13 years ago Zitieren
    Hello AFRL-me,

    Thanks very much for your help.

    I managed to "unlock" camera from char using your instructions but I am still unable to "start" scene in a different place than the characters.

    If I start with scroll to position it will do exactly that..scroll..And I wanted to start the scene in a specific place.

    Can I acomplish this in the editor?

    Kind regards,

    Duarte
  • #4, by afrlme 13 years ago Zitieren
    yes you can use a single line of Lua to set the current position:

    execute a script >
    game:setValue(VGameScrollPosition, {x=300, y=100})
    

    replace 300 & 100 with the co-ordinates that you want the scene position (camera) to be positioned on, co-ordinate is top left corner & not center.

    GameScrollPosition / t_point /Upper left corner of current scroll position (on current scene)
    .
  • #5, by duartegarin 13 years ago Zitieren
    Perfect!

    It works! It does a scroll on y and then on x, is it possible to scroll directly to position (in this case diagonally)?

    Thanks in advance for the great support, I must say I am REALLY impressed.

    Regards,

    Duarte
  • #6, by afrlme 13 years ago Zitieren
    the line of Lua I gave you should force camera to the co-ordinates you entered immediately?

    scroll diagonally? do you mean with an editor action part or using Lua?
  • #7, by duartegarin 13 years ago Zitieren
    I was meaning when I use the action scroll to position (or to object).

    It doesn't scroll directly to the point, it goes down (y) and then scrolls on X.

    I suppose the best way to approach this would be using LUA?