Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 05-31-2009, 01:07 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I use a world system on Valikorlia that specifies "worlds" as groups of levels depending on a level name prefix. The worlds are parsed in an order so you can specify more specific prefixes within broader ones. Each world has a name (displayed in upper right corner of screen), a level prefix, a color effect, a music filename, a boolean for if it is outside, a time offset, and a type.

The color effect is implemented using seteffect(). The outside boolean is used to determine whether or not to apply the day/night system. The time offset allows you to specify a difference for that world in the day/night system, so it might be nighttime in one area but midday in another. The type specifies what kind of weather would exist (and not fully implemented at the time). Certain level object classes will change their image depending on the world type, so they'll be snow-covered if it's winter.
__________________
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.