DE EN FR ES IT CZ
Back Back to top

Scene - Camera starting point

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by duartegarin 14 years ago Quote
    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
  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by afrlme 14 years ago Quote
    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 14 years ago Quote
    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 14 years ago Quote
    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 14 years ago Quote
    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 14 years ago Quote
    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 14 years ago Quote
    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?