The Daily Click ::. Forums ::. Klik Coding Help ::. loading evaluation editor values from ini....
 

Post Reply  Post Oekaki 
 

Posted By Message

ChuckyT



Registered
  04/12/2004
Points
  21
13th December, 2004 at 22:05:30 -

shitakke mushrooms! that's no good: my game is defeated!!!

Ohh dear. Any ideas?

 
Bop it up, Rock it out!

Liquixcat

Administrator
Lazy Coder

Registered
  08/12/2002
Points
  201

VIP MemberLikes TDCKitty
14th December, 2004 at 09:56:59 -

is this like a DND type game so you can save a wizards stats or something?

like....this warrior has strength+1
and then the level will load strength+1+modifier and solve it?

cause if so, this will have to be though up differently

so the only way i can think of is each item of the ini is part of the equation..

ie...
+on some event (like a level up)
:set ini file to appdrive$ + appdir$ + 'wizard.stat'
:set group to 'wizard _str'
:set item to 'str'
:set value to '<current strength>'
:set item to 'mod'
:set value to '<modvalue>'

THEN
+on some event...like a battle begins (on a different frame even)
:set ini file to appdrive$ + appdir$ + 'wizard.stat'
:set group to 'wizard_str'
:set item to 'str'
:set counter_str = value of ini
:set item to 'mod'
:set counter_mod = value of ini
:set counter_totalstrength = counter_str + counter_mod

i dunno...i think this way will work...you're going to have to figure this out, that's the best i got.

 
thinking is like pong, it's easy, but you miss sometimes.

ChuckyT



Registered
  04/12/2004
Points
  21
15th December, 2004 at 00:47:41 -

The problem is that the user creates the equation. This makes making specific events a no no for equations.

Damn. Oh well. On to a platformer.

Still looks like my game is dead. Thanks for all your help.

 
Bop it up, Rock it out!
   

Post Reply



 



Advertisement

Worth A Click