Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: game settings  (Read 3495 times)

0 Members and 1 Guest are viewing this topic.

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
game settings
« on: June 23, 2013, 08:32:17 PM »

Is there a way to offer shadow choice in game settings?  Just wondering for slower computers.
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: game settings
« Reply #1 on: June 23, 2013, 08:44:46 PM »

You can use Game.IsShadowTypeSupported() method to check the availability of specified shadow type on current computer configuration and use Game.MaxShadowType() attribute to set the shadow. Check "game object" in wme documentation to see how those 2 work.
Logged
fl*p

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Re: game settings
« Reply #2 on: June 24, 2013, 12:22:44 AM »

OK, thanks.
Logged
 

Page created in 0.036 seconds with 23 queries.