Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Akumayo

#781
Modules, Plugins & Tools / Re: MODULE: Ags 3d
Tue 18/10/2005 01:06:47
Just a question, is the module free-lanced, like AGS.  Ya' know, no boundries or copyright fines?
#782
OOOOO !!!  I love this idea and I'm not even a good coder!!!  It would be a great chance to develop new modules like SSH said.  I REALLY hope this gets to the Competitions Forum.
#783
Hrm...Ã,  Experience is pretty easy, but depending on how you do the fighting system, the code changes.Ã,  Create Globaints for Current Exp and Target Exp.

Ex:

LetÃ,  MPC=MP Current Exp globalint
Ã,  Ã,  Ã,  Ã, MPT=MP Target Exp globalint
Ã,  Ã,  Ã,  Ã, MPL=Current MP Level globalint
Ã,  Ã,  Ã,  Ã, DAMAGE=The damage you just did to enemy globalint

GameStart:
Code: ags

SetGlobalInt((MPC), 0);


Repeatedly_Execute:
Code: ags

SetGlobalInt((MPT), (GetGlobalInt(MPL)*5);
if (GetGlobalInt(MPC)==GetGlobalInt(MPT)) {
 //code for leveling up
}


Then when you do damage:
Code: ags

SetGlobalInt(MPC, GetGlobalInt(MPC)+(GetGlobalInt(DAMAGE));


This is just an example, it would make a system where you had to collect 5 times your current level in experience, and got experience every time you did damage, Runescape uses a system similar to this.Ã,  I hope you get the idea, I know my coding was pretty sloppy this time.

-Regards, Akumayo
#784
Why did you bring up this terrible memory?Ã,  I once created a game...called.... Future CD Adventure.Ã,  I produced it at 12 years old.Ã,  You played as a CD.Ã,  Yes, a plain, grey CD.Ã,  Your character had only that one walking frame, and there was NO background color.Ã,  That's right, you were a CD, encased in a white block.Ã,  You had to solve stupid puzzles that involved nothing more than walking from hotspot to hotspot, sometimes being teleported to rediculous places and having to backtrack.Ã,  You had to collect other, differently colored CD's encased in white boxes that not only followed you around, but mysteriously appeared in your inventory as well.Ã,  I really hated that game when I finished it, and it almost killed my Adventure spirit...then came Coin Rush -shudders-
#785
Geoffkan wrote a platform engine not long ago.  I found it very useful, have you tried it?  It allows for a lot of stuff, I believe you could probably make something similar to donkey kong kountry with it.  Some features would be unavailable, but for the most part, Geoff's system handles everything smoothly.
#786
General Discussion / Games/Reality...
Mon 10/10/2005 01:59:03
Add to this list please, it is a list of all the things that now affect my normal, everyday life due to the overuse of AGS...and yet AGS still ROCKS my heart out...

-Tried to click an "undo" button after falling out of my chair
-Daydreams now consist of trying to shade something right pixel by pixel
-Doing math now sometimes ends up with opening and closing { } brackets and the occasional "else if" (my algebra teacher can't understand)
-Dreams of sitting in front of a computer typing, then awaking to realize you were'nt dreaming, but had just lost interest
-Lack of sunlight, pale skin, and a nagging mother who wants you to pick up sticks
-Using a script language keyword in normal conversation
-Talking to yourself...okay so that started before AGS

#787
i was thinking on this whole "Murder Mystery" thing...  Why stick with the Adventure aspect of it?  Why not branch out?  I'm thinking, you start out in a giant mansion, with no inventory at all.  You can kill any other player (provided you've found the proper means) and you can "unnoficially" make truses with players via chat.  The ending effects:
-Backstabbing
-Dead where you stand
-Probably a lot of profanity
-A nearly infinite array of ways to kill or prevent yourself from being killed
-A constantly expanding/updating game
#788
Thanks, that worked.  I don't know where the "sprites cannot be loaded" thing came from, but it is gone as well.  Thanks.

-Regards, Akumayo
#789
I am having a bit of trouble with the RunAGSGame command.Ã,  I have sorted out MOST of the issues, but I am unsure where to actually place the extra game, and what files should be included with it.Ã,  Most of the time I get an error including "cannot load game" of sorts, but once I got "error loading sprites"Ã,  ???

So, any help or just a pointer is appreciated.

-Regards, Akumayo
#790
I believe I have a pretty simple code for your turn based GUI's.Ã, 

-Make A GUI called...um...YOU
-Two buttons, button 0 is simply the image of your character's portrait.
-Button 1 is just going to sit there for the moment.
-Make a label and place it over button 1.
-Okay, here comes the code...

In repeatedly_execute:

Code: ags

string health;
string maxhealth;
string magic;
string buffer;
StrFormat (health, "Health: %dÃ,  /", GetGlobalInt (?));Ã,  //replace "?" with your health globalint
StrFormat (magic, " Magic: %d", GetGlobalInt (?));Ã,  //replace "?" with your magic globalint
StrFormat (maxhealth, " Max Health: %d", GetGlobalInt(?));Ã,  //replace "?" with your maxhealth globalinlt
StrCopy (buffer, health);
StrCat (buffer, maxhealth);
StrCat (buffer, magic);
SetLabelText (YOU , 2, buffer);



Also, if you don't want to mess with globalints, I believe you can also use 32-bit strings like this (but I'm not used to these)

At game start:

Code: ags

int health;
int maxhealth;
int magic;


In repeatedly_execute:

Code: ags

string guihealth;
string guimaxhealth;
string guimagic;
string buffer;
StrFormat (guihealth, "Health: %dÃ,  /", health);
StrFormat (guimagic, " Magic: %d", magic);
StrFormat (guimaxhealth, " Max Health: %d", maxhealth);
StrCopy (buffer, guihealth);
StrCat (buffer, guimaxhealth);
StrCat (buffer, guimagic);
SetLabelText (YOU , 2, buffer);


Either way, GUI YOU should come out something like this:

PORTRAIT HEREÃ,  Ã,  Ã,  Health: 20 / Max Health: 40 Magic: 33

Hope that helpsÃ,  :)

-Regards, Akumayo
#791
General Discussion / Re: Anime
Mon 26/09/2005 02:08:03
So much anime, but only one studio stands out in my mind:

GENEON

I loved Paranoia Agent with every inch of my soul, and Samurai Champloo is pretty good.
#792
General Discussion / Re: Be your avatar!
Mon 26/09/2005 01:59:06
Quote from: Squinky on Sun 25/09/2005 16:52:40
I would agree about the picture in the avatar thingy, if this forum was full of hot, sexy momicitas and not a bunch of programmer types....

c'mon, you can't tell me I'm that bad....okay....you can....especially since I'm too lazy to upload a picture of my sorry ass....

BTW:  Animating avatars RULE!  The Germ lives on!!!
#793
I definately would like to play this one when it's finished, nice graphics too, I love the characters faces in talking frame!  Looking forward to this one's demo release  ;D
#794
1.  The Simpsons has outlived it's death sentence (not to say it's bad, it's just old)
2.  Futurama SHOULD have been given a better chance.
3.  Though Family Guy is vulgar, it IS hilarious if you're not an extremely conservative person who takes offense very easily.
4.  WTF is wrong with you people?  MONTY PYTHON  hahahahahahahahahahahahaaaa!!!

NI NI NI!!!
"Did you say mattress?"
"Time to sing the national anthem again!"
"Coconuts are tropical!"
#795
AGS Games in Production / Re: Labyrinth
Wed 21/09/2005 00:54:32
Updated once more!!!
#796
I cannot believe I made such a simple mistake!!!  :-[
Thanks so much for your help strazer, it all works now!!!  My inventory issues are solved!  ;D
#797
New problem...

Here's the script:

      if ((button == 6) && (game.top_inv_item < game.num_inv_items - game.num_inv_displayed)) {
      // scroll down
      game.top_inv_item = game.top_inv_item + game.items_per_line;
    }
    if ((button == 7) && (game.top_inv_item > 0)){
      // scroll up
      game.top_inv_item = game.top_inv_item - game.items_per_line;
    }

The game will scroll DOWN when I tell it too, but I can't get it to scroll back UP.  What am I missing here?

BTW:  I'm working off version 6.62
#798
Not too long ago, in my Geometry class, my teacher said (referring to a group of kids playing around on some TI calculators)

"You guys, stop playing with those things and put the covers back on."

:o
#799
Thanks for all your help, I'll look up the default scrolling buttons.
#800
I have no idea what I'm doing.Ã,  Bear with me....

I can't find the InvWindow control, I don't know if it has anything to do with it, but I'm using a Custom Inventory Window called INVENTORY.

I tried the new script, getting error:Ã,  gInventory as an undefined token.

NOW!!!  AT the worst possible time, yet another problem has sprung up!!!  GRRRRRRR  I accidently created a second inventory window within GUI INVENTORY, and now all my items appear twice, how do you kill a window?
SMF spam blocked by CleanTalk