Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: delay scrolling  (Read 2712 times)

0 Members and 1 Guest are viewing this topic.

Reaktor:[Dave]

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
    • Composer on lastfm
delay scrolling
« on: October 19, 2010, 09:01:48 PM »

Hi!

Wintermute uses autoscroll, which can be configured in terms of speed (ms and pixels). I'd like to specify a delay for it, 'cause it's starting too early. Any idea how to achieve that?

Lot of thanks!
Logged
from the high-tech-cave
the Reaktor:[Dave] ^^

Juan Bonair

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 33
    • View Profile
Re: delay scrolling
« Reply #1 on: October 20, 2010, 05:12:17 AM »

Wintermute automaticaly scrolls to the Game.MainObject, wich is assigned to the actor

Code: [Select]
Game.MainObject = actor;
in "game.script" right before loading the first scene. Just delete that line and put it wherever you want it, or whenever, like after a Sleep(ms) in the "scene_ini.script" of your first scene. That is, if I understood you correctly.

Hope it helps.

EDIT: Oh, well, I supose

Code: [Select]
Scene.AutoScroll = false;
at the beginning of a scene and then return it to true would also work.
« Last Edit: October 20, 2010, 05:25:01 AM by Juan Bonair »
Logged
 

Page created in 0.042 seconds with 23 queries.