Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Testing causing hair loss : )  (Read 3590 times)

0 Members and 1 Guest are viewing this topic.

Catacomber

  • Supporter
  • Frequent poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Female
  • Posts: 443
  • I love mice.
    • View Profile
    • Catacomber.com
Testing causing hair loss : )
« on: February 10, 2009, 05:05:36 PM »

We are starting to test our new game, Wizard's Ashes, still in its infancy but coming along---and if a tester saves the new version over the old version and tries to use an old save file, or just tries to use an old save file after deleting the old version, he gets errors from the old version coming up and problems.

The file at some point is going to be very large.  To avoid testers' hair loss, can we reuse an old save file if someone wants to and not have errors (asuming new version has no errors--I don't send out a file with script errors-- but I do send it out with significant changes to old screens where someone has already been -- sometimes.

I don't mind starting over each time and I have to do it but I have one tester for whom this is a problem and he's a very good tester and a significant part of our team -- don't want to lose him.  :  )

Thanks for any help.  Of course, if it's not possible, it's not possible.
« Last Edit: February 10, 2009, 05:08:50 PM by Catacomber »
Logged
http://www.catacomber.com/
Code: WME Script
  1. Mnemonic is wonderful.
  2.  

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Testing causing hair loss : )
« Reply #1 on: February 10, 2009, 05:22:35 PM »

Hi there!

All scripts that run at the moment are saved in the savegame ( think of it like a "memorydump" ). So it's always safer to restart the Game. If you want your testers to start at a certain point, simply change the start scene, or do what I did:

Code: [Select]
// game.script

on "Keypress" {
  switch (Keyboard.Key) {
     case "1" {
        game.ChangeScene(blah);
        ...set some global variables like inventory items etc.
        break;

     case "2" {
        ...do other stuff, other scene, etc...
        break;

   }
}


do not forget to remove the code before release ;)
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Testing causing hair loss : )
« Reply #2 on: February 10, 2009, 05:24:15 PM »

Oh I forgot, for development you could simply split up the resource file...For example, I do a package for every single scene, a package for the mainactor, a package for the main stuff ( like game scripts etc ) and so on. So you only have to send files that changed or are new.
Logged

Catacomber

  • Supporter
  • Frequent poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Female
  • Posts: 443
  • I love mice.
    • View Profile
    • Catacomber.com
Re: Testing causing hair loss : )
« Reply #3 on: February 10, 2009, 05:37:43 PM »

You are a lifesaver and a hairsaver, Spellbreaker!!!!  Thank you so much! 
Logged
http://www.catacomber.com/
Code: WME Script
  1. Mnemonic is wonderful.
  2.  

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Testing causing hair loss : )
« Reply #4 on: February 10, 2009, 05:51:06 PM »

Also some games (The White Chamber for example) are using special "debug room", which allows you to access to certain part of the game (say, if you need to start from chapter two), giving you all the necessary inventory items and setting some global variables. So that you don't need to rely on saved games for frequent testing.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Catacomber

  • Supporter
  • Frequent poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Female
  • Posts: 443
  • I love mice.
    • View Profile
    • Catacomber.com
Re: Testing causing hair loss : )
« Reply #5 on: February 10, 2009, 05:56:15 PM »

Thanks, Mnemonic, I will look at that file! The engine really is wonderful. You are a wizard!   
Logged
http://www.catacomber.com/
Code: WME Script
  1. Mnemonic is wonderful.
  2.  
 

Page created in 0.042 seconds with 21 queries.