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

#6561
General Discussion / Re:Idea for new comp.
Mon 19/04/2004 05:28:43
This can be set as another MAGS, just when people are interested enough to start one with such rules, no need to make it a new separate competition.
#6562
Well I'd like to move this thread, but as I know there's another one in another forum, I'll just lock it.
#6563
Quote from: Pumaman on Sat 17/04/2004 14:44:26
Suppose you named view 56 as JIBBLE, but then you deleted view 50. All the higher numbered ones get re-numbered down one (and the #defines would be updated); but any rooms which are already compiled would be referring to the wrong view.


But hey, isn't that what the rebuild all rooms function of teh editor is for? ;)
#6564
Well, the problem is that you reset both counter and flicker to 0 everytime counter>=flicker, in the next game loop, counter will be 1, and is >=flicker again, so they're reset again, without it possible to reach randsaver again. One more problem was that the Random() function returns value from 0 to the maximum value, so my suggestion is:


Code: ags
function room_c() { 
Ã,  // script for room: Repeatedly execute 
Ã, 
if(counter>=randsaver){ 
Ã,  Ã,  counter=0; 
Ã,  Ã,  randsaver=Random(49)+1; 
Ã,  Ã,  SetBackgroundFrame(0); 
Ã,  Ã,  flicker=Random(4)+1; 
Ã,  Ã, } 
Ã,  else if((flicker>0)&&(counter>=flicker)){ 
Ã,  //Ã,  counter=0; 
Ã,  Ã,  flicker=0; 
Ã,  Ã,  SetBackgroundFrame(1); 
Ã,  Ã,  Ã, } 
counter++; 
}

#6565
Well I didn't watch/hear the movie thingie yet, but from what I see about the original lyrics, they're obvious Korean not Japanese.
#6566
Quote from: Minimi on Fri 16/04/2004 10:36:21
I have an onboard graphics card, so that's probably not it  ::)

In that case it's probably be it, unfortunately in that case you probably need to replace the motherboard or plug in an external graphics card to fix it.

On the bright side, though, you may also check if it's caused by a broken cable, if you have another VGA cable try changing it.
#6567
If your computer can really be turned on (otherwise it can be the power supply or other motherboard problem) then it sounds to me a graphic card problem, try opening the case (with the computer OFF!) and check if the card went lose (if it's not a onboard chipset).
#6568
I'm not quite sure, but that sounds strange, like some memory corruptions during runtime. Actually I export and import global variables crazily myself, which never fails for me, and I don't bother to use the globalint anymore (though I often suggest other people to ;D ).

Did the strange behaviour happen frequent on his computer ? Or just rarely?
#6569
Looking good, but the backgrounds are a bit dark for me to see (maybe it's because of the monitor).

Quote from: fransaskois on Fri 16/04/2004 03:10:54
(All images were sized up for your viewing pleasure and lots a bit of quality along the way.)
I see that the images became a bit blurry dur to the resizing and JPG compressions.
Actually you don't need to resize the images yourself, the [ img ] tag of these forums has a height and width parameter that'll resize the displayed images automatically, and keep them sharp, for example, if you have an image of 320*200 and you want to display it in 2X size, just put:

[ img width=640 height=400 ]http://blahblahbla[ /img ]

(just remove the first and the last spaces from the tags for them to work.
#6570
Hmmm I'm not sure, but maybe it's caused by some misplacements of the {}'s, else etc (maybe it IS a bug).

My suggestion is, try adding a line like below in company with a "set" or "get" globalint action:
Display("%d",GetGlobalInt(6)); //if it's not #6, change it


So for example if you want to set it to some value:
if (blah) {
  SetGlobalInt(6,2);
  Display("%d",GetGlobalInt(6));
  //blahblah
}


If you want to perform some action according to its value:
if (GetGlobalInt(6)==1) {
  //blablablah
  Display("%d",GetGlobalInt(6));
} else if (GetGlobalInt(6)==2) {
  //blablablablah
  Display("%d",GetGlobalInt(6));
} else if {...}


This may help in debugging and tracking of the variable.
#6571
Quote from: terranRICH on Thu 15/04/2004 16:29:36
Basically, the only thing that setup does is run "gamename.exe -setup" . I think the double-hyphens are a typo. Also, the link didn't say to rename the file, it said to create a shortcut that runs that line.


No, that double hyphen is not a typo, it's required.
#6572
Hehe and she's from Taiwan (i don't mean her location).


Even, shame on you for scaring away another potential Chinese Female AGSer. ;D
#6573
Hey Igor, I don't agree with you, as you know, AGS is becoming shareware, people should get what he thinks is worth that 100 bucks he paid (I even paid $150!), so CJ definately has the responsibility to keep his product on par of industry standard.

That said, I'll say AGS 3.0 may include also fingerprints recognition and voice driven controls at least.

I think it's enough of this discussion here in this forum.
#6574
Right, it's there shortly after the launch of teh whiteboard, wonder how many people ever noticed it.
#6575
Which dirty pic did you mean?

If you're talking about of those backgrounds, forget about it, it's ART.
#6576
All I could say is that, if it can be made with AGS, we don't need the plugin.

So basically plugins are needed only if you want to do something not currently possible (or very difficult) with AGS. If everything you want can be done with the AGS engine, you don't need to use/write any plugins for it.

#6577
Read this.
#6578
Actually I couldn't understand much about what you really want to do.

I'm not sure, but maybe what you want is to break the room and global scripts into pieces, but I think using the search feature of the scripter is good enough for looking up infos of them already.
#6579
What's the problem with putting it in the repeatedly execute, player enter screen, etc. room script functions? You know that it is always possible right? Did you read the manual ?

On the other hand, I think the raw-drawing cursor idea is not very practical (unless that's what you want to do), as raw draw always draw on the background, so it'll be behind most of the stuffs (objects, characters, etc.) and you may need to restore the screen every game loop to wipe clean of it.
#6580
Quote from: Joelman on Tue 13/04/2004 23:05:01
I would like to see the ability to import an alpha channel map for an object to make selected pixels have varying levels of transparency.

Didn't setting your game to 32bit colour and importing a PNG file with alpha channel work?
SMF spam blocked by CleanTalk