Yeah, well I didn't say I didn't want to be objectifying him, did I? ^_-
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: Barbarian on Tue 14/02/2006 14:55:57
Kinoko: Excellent "GUI" work there. And the look of it would fit in great with "RPG" style game.
if (IsTimerExpired(6)) {
Ã, if (typecount<length) {
Ã, Ã, StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,typecount));
Ã, Ã, SetTextOverlay(textid,xposa,vposa,widtha,1,1,displayedline);
Ã, Ã, Ã, if (StrGetCharAt(line,typecount)!=' ') PlaySound(1);
Ã, Ã, Ã, typecount++;
Ã, Ã, Ã, if (typecount==length) {
Ã, Ã, Ã, Ã, if (waita>0) SetTimer(7, waita);
Ã, Ã, Ã, Ã, else RemoveOverlay(textid);
Ã, Ã, Ã, Ã, }
Ã, Ã, Ã, Ã, Ã, Ã, Ã, else {
Ã, Ã, Ã, Ã, SetTimer(6, delaya);
Ã, Ã, Ã, Ã, }
Ã, }
}
if (IsTimerExpired(7)) {
Ã, RemoveOverlay(textid);
}
QuoteChanged the default restart point to be just before the first room is loaded, in order to avoid problems with the restart point not working properly in some games.
Quote from: Pumaman on Mon 13/02/2006 18:09:08
If crossfading is switched on, then when you stop the music it will fade out automatically.
function TypeLineInvis (const string say, int delay, int wait, int xpos, int vpos, int width, int queue) {
if (IsGamePaused()==0) {
StopMoving(EGO);
SetTextWindowGUI(31);
StrCopy(displayedline,"");
StrCopy (line, say);
typecount=0;
textid = CreateTextOverlay(xpos, 100, 400, 1, 1, displayedline);
length=StrLen(line);
invisdelay=delay;
invistimer++;
delaya=delay;
vposa=vpos;
xposa=xpos;
waita=wait;
widtha=width;
cue=queue;
}
}
}
if (invistimer>0) {
invistimer++;
if (invistimer==invisdelay) {
invistimer=0;
if (typecount<length) {
StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,typecount));
SetTextOverlay(textid,xposa,vposa,widtha,1,1,displayedline);
if (StrGetCharAt(line,typecount)!=' ') PlaySound(1);
typecount++;
if (typecount==length) {
if (waita>0) invistimera++;
else RemoveOverlay(textid);
}
else invistimer++;
}
}
}
if (invistimera>0) {
invistimera++;
if (invistimera==waita) {
invistimera=0;
RemoveOverlay(textid);
timerfive++;
}
}
if (timerfive>0) {
timerfive++;
if (timerfive==40) {
timerfive=0;
if (cue==11) TypeLineInvis("Line One", 5, 200, 20, 160, 275, 2);
//etc
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.138 seconds with 15 queries.