Sorry to drag up an old-ish topic, but did you guys reach a conclusion here, and any chance of writing it up in a printable format?
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: Peter Thomas on Tue 22/03/2005 12:36:35
Every time I read the station name I keep seeing "Kylie Minogue"...
Maybe I've been watching her stage show just a little too closely...
Quote from: Kinoko on Tue 22/03/2005 11:59:15
I just read the comments on the page and they pretty much said it isn't a complicated maths problem
What I'm really interested in is whether its a visual solution or, as SSH said (not that I'm doubting you) a number problem
EDIT: Okay, my current theories are:Spoiler
It's to do with the pairs of numbers[close]Spoiler
It's to do with the dots on opposing sides of the dice[close]Spoiler
It's to do with how many dots you have to add or subtract to equal something else[close]Spoiler
It's to do with the colour. But that's a really weak theory.[close]
#define Typetimer1 10
#define Typetimer2 11
int textid;
int length;
int typecount;
function TypeLineInvis (string say, int xpos, int vpos, int width, int delay, int wait) {
if (IsGamePaused()==0) {
StrCopy (line, say);
StopMoving(EGO);
SetTextWindowGUI(31);
typecount=0;
StrCopy(displayedline,"");
textid = CreateTextOverlay(xpos, 100, 400, 1, 1, displayedline);
//get string length, to know how long the loop must run
length=StrLen(line); //set string length
//start loop
SetTimer(Typetimer1, delay);
}
if (IsTimerExpired(Typetimer1)) {
// pick character at position "i"and stick it at the end of string "displayed line"
StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,typecount));
//set textoverlay as displayedline
SetTextOverlay(textid,xpos,vpos,width,1,1,displayedline);
// if a space is added to the string do not play a sound, else play a 'tick'
if (StrGetCharAt(line,typecount) != ' ') PlaySound(1);
//increase the loop counter
typecount++;
if ((typecount==length) {
if (wait>0)) SetTimer(Typetimer2, wait);
else RemoveOverlay(textid);
} else {
SetTimer(Typetimer1, delay);
}
} else if (IsTimerExpired(Typetimer2)) {
RemoveOverlay(textid);
}
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 1.984 seconds with 17 queries.