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

#7281
You don't need a pencil or pen, things like these are like trivial objects that you are having already, so it wont appear in your inventory.

To get rid of the employee (I guess you mean that one in the canteen right?):


Spoiler

Make sure you know his name (should have 1. talked with him until he mentioned he got some award, 2. looked at the note in the messageboard, and for safety, 3. look at him afterwards, the character should say SOMETHING.).
[close]




Spoiler

To write on the formal letter, just look at it and click on the line where a name should be filled, it would be filled automatically for you.
[close]
#7282
Actually if you want that (ensuring that squares behind pieces remain (easily) accessible) can be even more easy, you can even make it without using hotspots or regions or whatever. Just do something like this in the on_mouse_click() function (of course you should do the usual variable initiations (for checkx, checky, checkclk):

if (character[GetPlayerCharacter()].room==10){
//say the checkerboard room is room 10, and you wont want the following codes to be triggered in other room, you may add more stuffs to check other things yourselves.
//Now say the squares are located at x-coordinates (100-259), y-coordinates (20-179), which each square is 20x20 pixels.

if ((mouse.x>99)&&(mouse.x<260)&&(mouse.y>19)&&(mouse.y<180)){
checkclk=1;// clicked within checker board.
checkx=(mouse.x-100)/20; //ranges from 0-7
checky=(mouse.y-20)/20; //ranges from 0-7
} else {checkclk=0;}

blah bla bla
}
#7283
I'm not quite sure, but I think sprite datas are always stored in the basic executable, the splitted resources only contain room data.

The original reason for that option was just to speed up room loading time (loading rooms in large games did load slowly in earlier engines), and not for the sake of easy distributions. To have your game distributed in smaller serparate files, you may try splitting it with the archivers (ZIP, RAR, ARJ, etc.) instead.

Quote
Also, would you have any idea as to whether a 57-MB EXE file run on a 733MHz computer with 64MB of RAM would cause any problems?
I think even if it loads, the game can suffer from frequent slow downs caused by the use of (crap) virtual memory.
#7284
General Discussion / Re:robbed
Thu 16/10/2003 04:53:46
Rode, I feel sorry hearing that, these robbers do know where and what to rob, truly.

Maybe some of your lost treasures will be available in the Motherland sooner or later... :(
#7285
There was a game called Dark Sector Chapter 1 or something like that, too bad we don't hear anything about it recently.
#7286
Heh, actually I'm a bit concerned about the words "final project", personally I won't say such extreme wordings myself, so I can change my mind later (on the other hand I didn't even make a game...). Anyway, you may have your reasons, no matter what they are, just go ahead and have fun. :)
#7287
If it's an old DOS game, try camera included with Deluxe Paint.

If it's an AGS game - just press F12 -- if that function was not disabled from the script.
#7288
This is not a bug, it always acts like that.
#7289
General Discussion / Re:I LOVE ERIC FEURSTEIN
Tue 14/10/2003 07:48:46
Strange, I didn't like him, but when I see him T0M0RR0W, I find him sexy, so I like him in the future!1!
#7290
The Rumpus Room / Re:I LOVE MARK LOVEGROVE
Tue 14/10/2003 07:02:46
Anyway, don't become a Blue Cup, or he'll wear you!
#7291
Quote from: Geoffkhan on Mon 13/10/2003 22:03:34
And please don't translate me in the future... :)

Only if you're not writting in my mother language. ;D

I still don't think he's a good boy...
#7292
Because you CANNOT use == or = to compare or assign strings. moreover you're missing else's, so the wrong room message may also be displayed when you enter 1 or 2. I can quickly think of two different ways for your code:

1. Convert the string to integer first:
string name;
int nameint;
InputBox("which room ?",name);
nameint=StrToInt(name);
if (nameint==1) NewRoom(1);
else if (nameint==2) NewRoom(2);
else if (nameint==3) NewRoom(3);
else DisplaySpeech(ROGER,"wrong room");

2. Use StrComp():
string name;
InputBox("which room ?",name);
if (StrComp(name,"1")==0) NewRoom(1);
else if (StrComp(name,"2")==0) NewRoom(2);
else if (StrComp(name,"3")==0) NewRoom(3);
else DisplaySpeech(ROGER,"wrong room");


Personally I like method 1 more.
#7293
In that case, you must script carefully in the game, and check the resolution the game is being run in for adjustments, since it's quite normal that people playing your game won't use your desired resolution (eg, playing a 640 game in 320 res or vice versa).

Actually I'm also interested in whether we can have functions to raw paint on sprites, we can have functions like:
RawSetSpritePixel(int sprnum,int colour,x,y)
(Of course it would also be cool if there're line, etc functions for it.)
This would be useful in many ways (one being painting your own portrait, like in some RPG games, etc.).

Note this is not a request, just a suggestion, as it's not important for me, and AGS is powerful enough in many aspect already, and I can see there may be some obstacles in implementing (eg. you may need to alter save game format to include altered sprite data, maybe to keep things organized, just add a checkbox function to the sprite editor, with which a sprite can be edited in game if checked, so it'sdata would be saved to a save game, etc.).
#7294
Quote from: Geoffkhan on Sun 12/10/2003 21:17:07
Ni shi yi ge hao hai zi, CJ!

I don't think he's a good boy, he's a good Pumaman!!!1!!!

Quote* Fixed editor not to allow Test Game feature with DOS-compiled games.
GREEEEEEEEEEEEEAT!1!

Now, how international this version is? I didn't get it!
#7295
Advanced Technical Forum / Re:800 x 600
Mon 13/10/2003 07:45:55
Heh this post is not silly enough to be deleted. ;)

Lemme just lock it until it goes off the list natually. ;D
#7296
Hmmm I think that's been discussed before, but if such a function is added, we may invest on ways to handle things in hires games. For example in a 640x480 game the internal game res is just 320x240, so in position say (50,50) there are actually 4 screen pixels...
#7297
If you ignore it for long enough ( 30 or 60 days I don't remember), they'll remove the country anyway.
#7298
BTW you can EDIT your own posts, no need to double or triple post them. But since I think you didn't noticed that I won't say any more things (like some other people may do ;) ) this time. :)
#7299
Much better IMO, but I think the right leg of the original one had magical curve on it that makes it looked good.
#7300
Thank you thank you!

Though I feel a bit that I'm like cheating... anyway the new competition has just started. Rock on artists!
SMF spam blocked by CleanTalk