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: reseting the game  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
reseting the game
« on: April 05, 2004, 04:23:07 PM »

Is it possible to reset the whole game?

I have a start up scene with a menu: load, options, quit and the option = start new game.

Now if I load a game and get back in the startup scene (with the menu) and  start a new game, all my globals are on (for example) visited=true and item are taken and so on. I have a lot of variables which are use for getting access to some scenes.

I hope there is a possibility whithout reseting every variable at once and detecting and dropping every Item. Because I think I can't get them all together. ::)

ThX a lot,
DraX
Logged
I'm Lost!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:reseting the game
« Reply #1 on: April 05, 2004, 05:16:11 PM »

Hmm, no. But resetting all the globals and scene states will be easy. Adding it to my ToDo.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
Re:reseting the game
« Reply #2 on: April 05, 2004, 05:35:16 PM »

Ok. So I try to reset my game oddly. :-\
 
Logged
I'm Lost!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:reseting the game
« Reply #3 on: April 05, 2004, 06:22:32 PM »

Just wait for the next release, it should be available...soon ;)
« Last Edit: April 05, 2004, 06:22:43 PM by Mnemonic »
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
Re:reseting the game
« Reply #4 on: April 05, 2004, 06:31:31 PM »

 :D nice to hear.

(I don't tell it anybody :-X ) ;)

p.s.: don't forget to reset the responses(onceGame) too.  
Logged
I'm Lost!
 

Page created in 0.018 seconds with 24 queries.