The Daily Click ::. Forums ::. Klik Coding Help ::. stat increase for RPG
 

Post Reply  Post Oekaki 
 

Posted By Message

tobbe



Registered
  26/05/2003
Points
  41
10th June, 2003 at 10:51:32 -

Hi, y'all, I am making a sort of rpg-ish game and I have HP, Mp, Experience, strenght and yadda yadda yadda. And, of course, I have some problems.
I want my maximum Hp to rise when I gain a level, how do you do that?

And, a question that has been asked a millon of times, but as I cant find it, please answer:
How do make your character switch weapon? like if he has a pistol and then it should change to a machine rifle of he picks one up????

thanks in advance/tobbe

 
pixel artist

Fuzzy Lumpkins



Registered
  01/03/2003
Points
  93
10th June, 2003 at 11:04:51 -

Make a hidden counter and name it "HP Maximum"

Make sure the characters helath counter never gets higher than the HP Maximum counter. I forget what the condition is for it though. And when you want the HP Maximum Counter to increase use this event

-Condition
Level Counter is Greater than or equal to 10.
-Event
Set Hp Maximum to 50.

As for leveling up make a counter that tracks experience points and when it reaches a cetain value add one to your level counter. When you attack subtract (Current Value Of Level counter) from enemies health.

 
n/a

MaT [Blue Storm]



Registered
  19/05/2002
Points
  9
10th June, 2003 at 11:39:05 -

Are you including a save function as you will need to use perhaps and ini file that can change the counters number on each load.

Also TGF can't handle many objects including counters so MMF is much better for this type of game.

 
~MaT

tobbe



Registered
  26/05/2003
Points
  41
10th June, 2003 at 12:03:48 -

thanks for the help! and also, how do you create a save file?

 
pixel artist

tobbe



Registered
  26/05/2003
Points
  41
10th June, 2003 at 12:03:53 -

thanks for the help! and also, how do you create a save file?

 
pixel artist

Penguin Seph



Registered
  11/12/2002
Points
  1338
10th June, 2003 at 12:11:17 -

Use an INI file! Search for an article on it.

 
Hi!

Pkeod

Oontz Oontz Oontz

Registered
  19/11/2002
Points
  93

VIP Member
10th June, 2003 at 12:13:54 -

oh the joy of being new

 
Faerie Solitaire - Get it now:

http://www.create-games.com/download.asp?id=7792

EleXor



Registered
  21/01/2003
Points
  269
10th June, 2003 at 13:57:03 -

U could try my Save Guide thing, found from misc. It helps creating save files

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
11th June, 2003 at 01:21:01 -

Or my ini article:

http://www.create-games.com/article.asp?id=658

I've found that the ini plus object is easier to use, because of some of the expressions.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

EleXor



Registered
  21/01/2003
Points
  269
11th June, 2003 at 04:59:12 -

Or my article created today

 
n/a
   

Post Reply



 



Advertisement

Worth A Click