people who are good at RPG's or ags script's

Started by Icey, Mon 10/05/2010 23:42:15

Previous topic - Next topic

Icey

       rpg help
um...hey guy's i was thinking about put a type of rpg in one of my games but the coding is difficult because the example code is for a older version of ags & i cant work with it, now what i will do is make templet of the game & post it up for download but if you are interested let me no..cause i don't have the spair time to really do make this but i really do need the help



Code: ags
string mana;

string expweapon;

string expmagic;

string enemyhp; //this is the HP of your enemy. ignore it for now.

StrFormat (mana, "%d", GetGlobalInt (2));

StrFormat (expweapon, "%d", GetGlobalInt (3));

StrFormat (expmagic, "%d", GetGlobalInt (4));

StrFormat (dusmanhp, "%d", GetGlobalInt (5));

SetLabelText (0, 1, mana); //so the mana points will be shown in the GUI 0, Label 1)

SetLabelText (0, 2, exp);

SetLabelText (0, 9, expbuyu);

SetLabelText (4, 1, dusmanhp); //this code isn't too necessary for now. it is about another GUI, number 4.

So the variables in the game should have been displayed in the GUI. 



Code: ags
if (GetGlobalInt(5) <= 0) {

GUIOff(4);

PlaySound(9);

NewRoom(30); //if the undead's HP is equal, or lesser than 0; then he dies and we go to another room in Asporia:Hidden Threat. You can use your own fight ending scripts.

}

else {

GiveScore(-3);

PlaySound(1);

Wait(20);

Display("Undead hit you"); //if you couldn't kill the enemy, it will attack you and you will lose 3 HP. 


ags wiki rpg

DrewCCU

"So much of what we do is ephemeral and quickly forgotten, even by ourselves, so it's gratifying to have something you have done linger in people's memories."
-John Williams

Icey

i sort new that already but i dont see the one were you can start a team or something like that?

Grim

Oh, Icey is back!:)

Making Final Fantasy XIX, are we?

Gilbert

If you need help from people making your game post in the appropriate thread.

This forum is for authorised activities only.

SMF spam blocked by CleanTalk