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 - MarvinS

#1
Critics' Lounge / Re: Indy 3 style room
Thu 26/10/2006 08:01:50
Thanks a lot for all your comments !

Quote from: Nacho on Tue 24/10/2006 10:29:38
I am not very happy about the painting too... It looks like colour redouced from a photo.

You're right, its a colour-reduced photo. I have done it quick and it's was not a great idea.

ProgZmax, thansk for all your advices.
How do you know that the chalkboard is wrong angled ? And how do you know how to fix it ?



#2
Critics' Lounge / Indy 3 style room
Tue 24/10/2006 09:57:18
I tried to draw a room in the Indy3 (last crusade) style :



x2 :


what do you think about it ?
#3
I found a bug in the FOA template.
I was unable to perform an action to an object with the left mouse button (but it works with the rigth button).

Here is my fix :

In the global script

Replace

else if (GetHotspotAt(mrx-GetViewportX(),mry-GetViewportY())==0) SetMode("default");

by

else if ((GetHotspotAt(mrx-GetViewportX(),mry-GetViewportY())==0) && (GetObjectAt(mrx-GetViewportX(),mry-GetViewportY())==-1)) {SetMode("default");}

I hope this will help somebody  ;)
#4
Thanks a lot Proskrito :)
#5
I this possible, in Proskrito's Scumm GUI, to disable the higlight of the "look at" verb, on certains objects ?
I want that nothing happen, when the mouse go over certains objects.

#6
Quote from: MarvinS on Fri 09/04/2004 08:55:47
Another question :

Is this possible to have the mouse coordinate relative to the background, instead of the screen ?
That's because the background is larger than 320x200.

ok, I found the answer. I must use the GetViewPort functions.


But my Hotspot question still continue !
#7
Another question :

Is this possible to have the mouse coordinate relative to the background, instead of the screen ?
That's because the background is larger than 320x200.

Perhaps will it be easier to do it with a hotspot, but it is possible to make an hotspot with no interactions ? Beacuse I only want to know, if the player has click on the hotspot, and I dont want that he can do action like 'Look', 'use', on this hotspot.
#8
Ok, thanks
#9
Is this possible to know the coordinates of the mouse when the player click ?

In order to do a specific action only when the player click on a certain area (and i dont want to use hotspot if possible).
#10
Ok, thanks. :)
#11
But the Help of AGS says that this variable are read-only, and should not be modified.
So it's false ?
#12
Yes, that's perfect Scorpiorus !!!

Thank you very much. I have understand what you did, and its a very good idea :)

Thanks !
#13
Is there a way to move directly a character from one point to another without walking.

for example :
EGO position is (10,10)

-> SetCharacterPosition(EGO, 100,100);

And then EGO disappears and  appears at (100,100) position in the same time.

Is this possible ?

#14
I try your template, but that is not what i want.

Here is a template of what I do :
http://greg_fichiers.site.voila.fr/IndyStairs.agt

It is in French, so do "Utiliser la voiture" (use the car).
The animation begin. Indy goes under the stairs (wa can still see him behind the stair, but that doesnt matter for the moment).
Then he goes to the car.
So first, he goes in the south direction, then to the north direction.
The south direction is ok. But when he goes north, he must be little (scale = 20%). But the 20% scaling area dont begin so far.

Try my template, you will understand my problem, and perhaps find a solution ;)

Thanks for helping me :)

(and Thanks Proskrito for the Indy Template ;) )
#15
It's a good idea.
But I dont know when to change the AreaScale.

How can i know that the player click on a area after the staircase ?
Because, if I make only a single Walkable area, Indy will be able to go to the car, without the good scaling area.

I dont know if I'm clear.

what will be good, is that I'm able to know when the player clicks somewhere, and then the Mouse x and y coordinates.
I found Mouse.X, but it seems not to be what I want.
Or maybe, it is possible to draw a region and to know when the player click on this region ?
#16
I wanna make the same thing as in FOA game, when Indy is in the barnett  college hall, and go on the staircase and then to his car.
First Indy disappear under the stair, then he is very little and go to his car.
But i dont understand how to draw 2 different walkable area, on with scale at 100%, and the other scale at 20%, because these 2 areas must be at the same place.

Is this clear, or must I explain better ?  ;)
#17
Hello,

Is there a Character Scaling function ?
Who let change the scale of a character, without to use the walkable area scaling ?

eg : SetCharacterScale(EGO, 50);
who make the character looking half little
#18
Quote from: Proskrito on Mon 29/03/2004 22:48:07
Marvin:
Have you tried to place it in the 'pick up object' interaction, instead of the 'any click' one?

Yes, that dont do anything.
It's like Moneky's problem. When I pick up the object, Indy just walk
to the object, and then he does nothing.

My solution was to an interaction with the hotspot, instead of the obect. That's not very friendly, but it works.
#20
I'm trying the FOA template

When I click on the Interaction button, in the Room->Object Editor, I dont find the "Interact Object" choice.

So how do I do to make my characters pick up an object ?

I try to put my code in the "picke up object" area, but nothing happend.
SMF spam blocked by CleanTalk