Hey, we have forums!

Author Topic: How to view Stats?  (Read 6082 times)

0 Members and 2 Guests are viewing this topic.

Offline user452

  • Mini Bit
  • **
  • Posts: 6
    • View Profile
How to view Stats?
« on: June 09, 2010, 03:15:31 am »
Hi, I'm kinda new to Aquaria and this forum.   (But not to forums and google, I've searched without luck.)
I bought the game through the humble bundle, and it's certainly worth buying again.

I haven't finished the game yet but I was taking a look through the source code and noticed the PlayStats struct.
Is there a way to view these at any time, or do I have to wait until the end of the game?



Once "someone else" gets the Aquaria source compiling on Windows, I think I'll add a some extra stats in there (Individual stats on enemies killed, for a start)

edit: 
Here are the stats that are recorded.  Possible minor spoilers:

struct PlayStats
{
   // for sure
   float timePlayed;
   float timeInNormalForm;         // seconds spent in normal form
   float timeInEnergyForm;
   float timeInNatureForm;
   float timeInSunForm;
   float timeInSpiritForm;
   float timeInDualForm;

   float distanceSwam;         // distance swam in miles

   int timesSaved;            // # of times save is called
   int timesDied;            // # of times we hit the GameOver screen

   int foodConsumed;         // # of ingredients/food eaten

   // maybe
   int timesPlayed;         // # of times the game started
   int timesPoisoned;         // # of times the poison applied gets called on Naija
   
   int timesUsedTurtle;      // # of times trans turtle is used (how to check?)
   int timesRideSeahorse;      // # of times ride seahorse
   int timesLeptOutOfWater;   // # of times Naija goes not underwater after being underwater
   int timesBackflipped;      // # of times Naija does a backflip, check in Avatar.cpp
   float highestDive;         // ...?
   
   int creaturesConsumed;      // # of times swallow creatures, check in Avatar.cpp
   int sealoafsConsumed;      // # of sealoafs eaten
   int creaturesKilled;      //
   int monkeysFlung;         // check in StatsAndAchievements
   int racesRaced;            // # of races started
   int timesHugged;         // # of times Li hugs Naija
};
« Last Edit: June 11, 2010, 11:42:55 pm by user452 »

Offline Lady-Succubus

  • Hero Bit
  • *********
  • Posts: 538
  • Aren't I cuuuutee? =^.^=
    • View Profile
    • Woefully Outdated Blog
Re: How to view Stats?
« Reply #1 on: June 09, 2010, 03:57:56 am »
I have no idea of what PlayStats are, but I don't think it shows the player stats about how they're playing... ever.

Except for the number of hours in the save window. :S
Bored little neko, pouncing along, scattering posts everywhere. =^.^=

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: How to view Stats?
« Reply #2 on: June 09, 2010, 04:25:49 am »
think that might have done something for the steam version...

maybe

Offline GMMan

  • Giant Bit
  • ******
  • Posts: 254
  • "Uh... I'll be right here after you're done..."
    • View Profile
Re: How to view Stats?
« Reply #3 on: June 09, 2010, 05:00:21 am »
The stats system should work internally. I'm not quite sure if anyone had put a user interface on it yet.
Follow me on Twitter: @gmman_bzflag