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

#5881
General Discussion / Re: Emoticon Upgrade?
Mon 27/09/2004 02:25:32
Actually the o_O and O_o ones shouldn't be made roger, they're wambii.
If you don't know what is a wambus, you don't belong here!

^
|
Kidding
#5882
Probably, define a variable in the header only if you want to have variables of the same name that can be set independently in different rooms.

If you want the variable to share value between rooms, you need to declare it in the global script (not header), export it and then import it in the header for each room.
For example:

Global script:
int blah;
export blah;

Script header
import int blah;
#5883
Well it just add more capabilities to the engine. I think it's not a good idea to make such basic stuffs a plugin, as it's not really that difficult to add (I think), moreover, plugins are teh EVIL beasts that break compatibilities.
#5884
Well actually as far as I remember (I can be wrong), you can config some of teh SCI games to move the cursor via keyboard or joysticks, it's crap but vintage fun.

Anyway, allowing joystick controls can help in action sequences, etc.
#5885
Yeah it's brought up several times before, but I think the problem was that it didn't draw enough people's attention, afterall it was intended for making point and click adventure games. But it would be cool if joystick support is added.
#5886
Right mouse button dragging.
#5887
No, you can not raw draw on top of something, the raw functions always operate on the bg only.
In your case, instead of using an object as the sheet, you may RawDraw() it on the bg first then print the stats.
#5888
Quote from: Pumaman on Tue 21/09/2004 22:27:43
Hmm, good point. Should Wait(0) just do nothing, or should it give an error?
Because the current behaviour (where it actually waits 1 loop) is neither of these, I would hope nobody is actually using this deliberately.
I think that's not very imoportant as long as the behaviour is documented clearly in the manual. (though I myself expect it to do nothing more).


Quote from: monkey_05_06 on Tue 21/09/2004 22:53:54
...but I think there may be a problem with GetButtonPic. I'm realized that the buttons (for those who have been helping me with cursor control...) are supposed to be highlighted as soon as the cursor is moved over them. I tried:

(ok, so I lied...)
Code: ags
Ã,  if ((GetGUIAt(mouse.x, mouse.y)==MAIN) && (GetGUIObjectAt(mouse.x, mouse.y)>=1) && (GetGUIObjectAt(mouse.x, mouse.y)<=9)){
Ã,  Ã,  SetButtonPic(MAIN, GetGUIObjectAt(mouse.x, mouse.y), 1, GetButtonPic(MAIN, GetGUIObjectAt(mouse.x, mouse.y), 1));
Ã,  Ã,  }


but it returned some odd pictures. Not sure if it's a bug or just me... I have to go...
Monkey, I think it's not the problem of GetButtonPic(), I don't know what you're going to archieve with your codes, as what I see is that it would do nothing (it'll just change the normal button pic to the current normal button pic.).
If you want a button to use different pic when highlighted, just set it in the editor (Mouseover image), the engine will change the button pic automatically without the need of any scripting, you should SetButtonPic() only when you want to do something the engine doesn't handle automatically (like for example you want the button to change to something else after some point in the game).
#5889
Graphics is just one factor in a game, it's not everything, if the game is fun enough, there'll still be people playing it.
Don't mind on poor graphics, there're many AGS games with poor graphics but still occupied the players for some minutes, like 6 Days Assassin...
#5890
It'd be unfair to include AGI Studio (I think you meaned this), as it's not a complete development from scratch, it's just an editor for an already existing commercial game format, and seeing the point that the AGI format is restricted to some style of games, which was classic.
#5891
General Discussion / Re: The next AGS Show...
Wed 22/09/2004 01:57:40
Quote from: m0ds on Wed 22/09/2004 00:40:12
The problem with a VIDEO version is that I'd have to either a) Play many a character or b) Use the aids of other AGSers with camcorders and their firewire capabilities to create the show. Let yourself known if you have these capabilities! LGM for example, could create a 30 second link called "I Ate AGS" where he tests himself eating a 2 foot AGS shaped chocolate cake in under 5 seconds.
And c) make it with AGS, no real actors required. ;)
#5892
They look good :D , but they're way too dark with my monitor setting, look a bit like the Bio Hazard backgrounds.
1. I'll say realistic, considering the seemingly dark atmosphere and details of the current samples.
2. Sorry but I can't think of comments on this one.
#5893
Sorry can't resist.
#5894
General Discussion / Re: What is Mittens Crew?
Tue 21/09/2004 02:44:30
It's a title you earned if you can wear a tutu, balance 3 biscuits on your head and spin around.





Spoiler

Seriously, yes, Mittens is an annual AGS memeber meeting.
[close]
#5895
Quote from: Pumaman on Mon 20/09/2004 20:31:00
That's strange, I'll fix it to warn you if you use Wait(0) because it's not really a valid thing to do, anyway.

Hmmm I think you'll put it as a run-time warning for the engine right? If it's just careless mistake like typing Wait(0) in the script a warning is okay, but there're circumstances that the 0 is the evaluated result of an expression, which you really expect it to be 0 sometimes, where you don't want it to wait.
For example,
Wait(SomeFunction());

Of course, you can always do the following, but it's just a bit long:
waitloops=SomeFunction();
if (waitloops>0) Wait(waitloops);

But as 0 is not in officially supported range of Wait() (unless it's changed), I think adding a warning is not a bad idea, either.
#5896
Because string implementation is not as simple as you think (pointer related), especially in C-style languages.
Having the ability to assign/compare/etc strings with =/==/etc is probably just a warper in the compiler/interpreter for more complicated stuffs, which probably involves the compiler/interpreter to be written more complicatedly (and more likely to introduce more bugs).

I don't find any problem in using those Str...() functions, once you are familiar with them they're really handy,
#5897
Well it's just user-custom functions can't use optional argument lists.
Built-in functions like Display() can accept various amount of arguments.
#5898
Hints & Tips / Re: Pleurghburg: Dark Ages
Tue 21/09/2004 02:07:02
Spoiler

In the park there's a screen they you can cross a wooden log bridge, the forked stick is sticking out from that bridge somewhere, the screen may be dark on some monitors so it's not easy to notice.
[close]
#5899
Yeah, Grafix 2 is mentioned here several times already.
#5900
Are the white stuffs on the roofs bird... errr... stuffs?
SMF spam blocked by CleanTalk