The Daily Click ::. Forums ::. Klik Coding Help ::. random monsters question (mmf2)
 

Post Reply  Post Oekaki 
 

Posted By Message

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
28th December, 2006 at 21:31:46 -

K quick question, im making an rpg, i want it to be turned based but i DO NOT want any suprise attacks, I need the monsters to be visible. I havnt started this part of the code yet so im getting some feed back on the best way to go about doing this before i start.....

I want each screen (no scrolling) to have a random amount of monsters, but when i go to a battle screen i want the game to remember what monsters where where, their lvl etc. I also would like this info to be stroed for at least 3 screens as to stop players going back and forth between screens to grind. Any suggestions??

 
n/a

Deleted User
28th December, 2006 at 21:51:46 -

Try to use an INI file to store which enemies shall be in each room, like when you enter a room for the first time, it randomly adds monsters to the room (which you also store in the INIfile), then each time you enter that same room the game checks the INI to see which enemies should be alive. (When you kill an enemy, you write that into the INI file) Meh im too tired to give a good explanation but atleast i tried, so yes, INIfiles is the key

(If you dont want the monsters to be dead forever, just delete the INIfile using an extension whenever you want to, or maybe each time the player shuts down the game.)

I could do a quick example file, if nobody else doesnt come up with a better answer

You could also use global values or such. (That would be easier)

Image Edited by the Author.

 

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
28th December, 2006 at 21:56:56 -

Edit x)

 
n/a

Deleted User
28th December, 2006 at 21:58:03 -

Argh, Adam you just had to post exactly that second? I was trying to edit again fool

 

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
28th December, 2006 at 21:58:33 -

I saw *hides*

 
n/a

Deleted User
28th December, 2006 at 21:59:26 -

Lol, sometimes i just hate you you just did it again

What i was going to add was;
And hey im gonna make an example, so just ignore my explanation it will be easier to show you what i mean, lol

 

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
28th December, 2006 at 22:03:24 -

what's with the ? Im hiding in your clogs tonight

 
n/a

Deleted User
28th December, 2006 at 22:04:49 -

Awesome, but im gonna go sleep now, so it will get pretty lonely in my clogs, im afraid. But feel free to stay.

And whats with the "whats with the ?"?

 

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
28th December, 2006 at 22:07:06 -

Mr Osama Bin Laden is in the left clog. I will discuss global warming with him, then sleep. night

 
n/a

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
29th December, 2006 at 20:16:24 -

that would be really appreciated, thx alot

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
29th December, 2006 at 21:55:03 -

Sounds a bit like the battle system for Chrono Trigger, Antworx. That's some pretty big shoes to fill!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!
   

Post Reply



 



Advertisement

Worth A Click