Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: A nice scene switching  (Read 2765 times)

0 Members and 1 Guest are viewing this topic.

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
A nice scene switching
« on: June 26, 2007, 10:47:33 AM »

Hi there,

after searching a while around in the forum I found a nearly similar thread from SBovis but the solution was not really clear for me and it lasts a way back time.

Most of our scenes changes are fast enough to make an loading screen unnecessary but, as you might have
expected, some not. A blank black screen ain't very nice. As it seems making an animation while loading a
scene is not really possible (at least I've read it that way, not sure if it is right).
So I could need a little walkthrough or stuff like that how to insert a nice picture, while performing the change.
If I read it wrong and an animation would be possible, no matter if smooth or not, a walkthrough would be
perfect, too.

Thanks for upcoming answers

Amo

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: A nice scene switching
« Reply #1 on: June 26, 2007, 02:42:08 PM »

There's the Game.DisplayLoadingIcon() method (look it up in the docs). So the pattern would be:

Game.DisplayLoadingIcon("path\someimage.png", 0, 0, true);
Game.ChangeScene("path\some.scene");

...
and in scene_init.script you'll hide the loading icon: Game.HideLoadingIcon();
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: A nice scene switching
« Reply #2 on: June 26, 2007, 03:36:41 PM »

Thanks Jan.
 

Page created in 0.039 seconds with 19 queries.