Quote from: Ryan Timothy on Sat 05/04/2008 22:54:54
What kinds of things do they say? "Andrew has cancer!" or "Get away from me smallpox carrier" Weird, I've never heard of that.
Essentially, yes, but it doesn't sound as good in English.
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 MenuQuote from: Ryan Timothy on Sat 05/04/2008 22:54:54
What kinds of things do they say? "Andrew has cancer!" or "Get away from me smallpox carrier" Weird, I've never heard of that.
Quote from: TwinMoon on Sat 05/04/2008 20:29:42They're the same because they're key codes, not character codes. That's also why the left shift has a different code than the right shift, even though they're functionally the same.
It's odd that the keycodes for a and A are the same. I would think that A=65 and a=97, but AGS reads both keycodes as A.
function repeatedly_execute () {
if (mouse.x < 10) {
SetViewportX (GetViewportX () - 1);
}
}
Quote from: naltimari on Sat 05/04/2008 00:23:04
Actually, this won't work, since the keycodes for lowercase and uppercase are the same (as per the current manual).
Quote from: LeChuck on Thu 03/04/2008 18:46:48
Now, if I want AGS to select a random coordinate on this rawdraw line,
function RandomPointOnLine (int x, int y, int x2, int y2) {
int r = Random (100);
int rx = (((x2 - x) * r) / 100) + x;
int ry = (((y2 - y) * r) / 100) + y;
// do something with point (rx, ry);
}
QuoteYes. If the region is a straight rectangle, same method but pick two different random numbers, one for x and one for y. If the region is crooked, that would involve advanced mathematics.
Also, is there a similar way to draw a random coordinate from a region?
Quote from: Dualnames on Thu 03/04/2008 14:34:47
By the way the magazine i told you last about considers ATOTK as the top five indie games of the year.
Quote from: Huw Dawson on Thu 03/04/2008 14:06:45
Well, just because LA haven't acted before now doesn't mean they will not. Games Workshop shut down Damnatus, an indie film about their Warhammer 40k franchise, just after they announced its completion.
Quote from: SSH on Tue 01/04/2008 11:03:05
Google appear to already be on April 2nd: http://www.google.com.au/intl/en/gday/index.html
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.427 seconds with 16 queries.