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 - Gilbert

#7501
Also if you're going to modify the palette frequently within the game (which I will do), that transparency thing won't work well, so I'd rather stay away from it than to bother our nice pumaman to implement such complex features.
#7502
Heh all right, but Ghor, better post the codes as:
... check if ( (x2 - x1) * (x2 - x1) + (y2-y1) * (y2-y1) ) is less than ...

Or people who actually tried it by copying the codes will get an error, as there's no raise to power operator in AGS ;)
#7503
From the manual (Text Script Functions -> Script Language Keywords, that part is kind of discreet, right?):

char -  Single byte data type, can store a single character or number -128 to 127  
short - 16-bit integer, can store numbers from ?32,768 to 32,767  
int - 32-bit integer, can store from ?2,147,483,648 to 2,147,483,647  
string  Stores a string of up to 200 characters  

And yes, numbers ~ the  150,000,000 range is out of bound for int type now.
#7504
I'd rather play DQ4...
#7505
Oh no I think I'll soon be tracked down by m0ds!

* Gilbot V7000a yells loudly and do a MRE - M0Ds Rape Escape.
#7507
Yep in your case fuzz's solution should work too.
#7508
No, and since AGS doesn't support float data type, you won't get much of it, you may try Erica's math plugin though, that there may be someway round it.

If you just want to have just a approximate integer portion of sqrt, there is a foolish (but wiorking) solution:

function sqrt(int inputnum){
int i = 0;
while ((i*i)<inputnum) {i++;}
if ((i*i)==inputnum){return i;}
else {return (i - 1);}
}

You may tweak it so it return the closest integer, etc.
#7509
To show my passion to our hero, Pumaman, and my love to anime styled large eyes, I offer you teh ultimate AGS wallpaper:

http://img.villagephotos.com/p/2003-8/79135/anicj.jpg

Think carefully before you klick teh link!
If you're on a diet, just klick it, you won't miss anything!11!!
#7510
The Rumpus Room / Re:The MSPaint game
Thu 14/08/2003 08:05:59
Quote from: YakSpit on Thu 14/08/2003 07:02:49
Up Next: A Person being attacked by something they're meant to be consuming (Food, Beverage, etc.)
hehe

Sorry, was just kidding. ;)
This is the REAL one:

motto:"Poke carefully!"

Next: Dog eating rabbit.
#7511
Nope. Character/object movement/placement is room coordinates, mouse position is screen coordinates.

In general,

room x = screen x + viewport x
room y = screen y + viewport y
#7512
I'm surprised that this time there're so few entries. Come on pals! Make some pictures!
#7513
Awwww great!

How many distinct heads did you use?
#7514
Actually I think all AGS built-in functions will only return int values.

The reason is that direct reference for string is NOT supported in AGS, so you CANNOT do this:
string blah = "HAHAHAHA!"; //NEVER DO THIS!

And of course there're functions like:
StrGetCharAt()
which return a "char" value, but due to casting, you can use a int, short or char variable to hold its value anyways.

And for those functions that "won't return a value", I think they actually returns something, but with unexpected value (from what I tested with GUIOn() and GUIOff()).

So it's safe to assume that all functions just return integer values.
#7515
As far as I remember there was something called Adventure Creator for teh MAC, which was one of the main reason for AGS's name change, I don't know if it's still under development or what it can do though. :p
#7516
I'll say...

Jesus?
J. Lumbroso?
Yahtzee?
Sarah?
Greg Hurst?
#7517
AGS forums, the AGS forums itself is a MMORPG itself, right?

So there's no point to vote on this topic now.
#7518
Also, look at the resource page for various stuff downloads here:
http://www.agsforums.com/acres.shtml
(and read the sticky threads in this forum too)

Anyway, the best way is to draw your own graphics, good lucky, and welcome to AGS.
#7519
In that case I think using DP would be much easier. ;D

Anyway, really nice entry, Ben.
#7520
One thing that annoys me VERY much, can you provide another ZIP, non-setup version of it for download?

I don't really like the "installing" process, as it messed with registry, start menus and such, especially troublesome if one want to manage several different versions of AGS on the comp. at once.

Of course, I can install it, copy out the files, and then unstall it (which I'm actually doing), but it's still a bit annoying.
SMF spam blocked by CleanTalk