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

#1
Ghost, thank you very much. Your explanations helped me do it!
I even put 2 sounds. One when door opens, and one when door closes.

Khris, thank you very much also. I made "show player charater" off and everyting is ok.

About the search function, you are right! I should use the search button more often, just i am too anxious to learn fast some new tings. Sorry.

Thank you guys.
#2
Hello.

Let's say i have a cabinet, which i want my character to be able to open it up. Once he opens the cabinet, i want him to look inside.

1. The cabinet (closed). The character can look at the cabinet (maybe sayin something), and when pointing the cabinet door with the use hand he can open it.


2. After he opens it, the cabinet will look like this, (than, he can use the Eye tool to look inside):


3. After the cabinet is opened, he will use the Eye to look inside, than the imagine of the "inside cabinet" will appear on whole screen:


Later, i will add some stuff inside the cabinet, some objects (i know how to do that since i've managed to add an object in my room).

Is that achievable?
#3
Solved! Reverted to the default. Thanx.
Will try now with that code.

Edit: Thanx Khris and guys! The code works fine! Now if i click on middle mouse button, the item will go back to the inventory!
#4
I see now, but i messed up the whole global script somehow.
How can i revert it to the original one? or where can i find a default global script so i can replace it?
#5
Where should i add that code please?
#6
That was the problem (i tink). My item was 100x50 px PNG.
I went into GUIs - gInventory and set the ItemHeight and ItemWidth at 100x100 px.

Thanx :smiley:

But once i have the item in hand, how can i get rid of it? to return it to the inventory and not browse again thru it if i make right click?

And what is the pourpose of this inventory buton:

#7
Yes i understand you, and i thank you and really apreciate your help.

Well, yes, i started a default game and also i have that "ugly" gray pop-up bar when i move the mouse on the upper part of screen (which shows the inventory stuff you just mentioned).

Was wrong to do so? The problem is related to that?
#8
Changing the hotspot for the mouse cursor didn't worked on the inventory, no. It only worked on the issue i had in this post: http://www.adventuregamestudio.co.uk/forums/index.php?topic=50144.msg636483344#msg636483344
But the inventory issue still remains.

Please, about using the default template. I dont know if I am or not. Can you be a bit more explicit so I can give u a corect answer? (keep in mind i work with AGS for about 4-5 days).
#9
Yes, in that post that happened and i've solved that.
But now, it seems it's different and i can't solve this issue about items in inventory. Tryed until now since i made this post and no success.

And another thing. What pourpose those the button on the RIGHT of inventory icon, on the Iconbar? The button that looks like an empty border... an empty frame (btnIconCurInv) ?
#10
he pointer will show the description if u put the pointer in the air and not on the object.

Why?
#11
As simple as that!
Solved.
Thank you very much!!
#12
Hello.
I've made in my demo game, an object. It's a Knife (Cutit, in my language).
I've place the object, and also made it so the main character can take it in his inventory. Everyting works fine until here.

My problem is:

When/If the character wants to look at the object before picking it up ( function OBECJTNAME_Look() ), the object (the EYE cursor) must be place lower (very low) than the actual object to be seen, and also to see the description. Why? Normaly, you must put the EYE cursor ON the obect, and not under it, in the "air". Same ting is when i select the HAND cursor (interaction). To pick up the object, i must place the cursor under it and not on it, as it normaly would be...

I will show you 2 pics:

1 - In this pic you can see the EYE is below the actual object, and i get the description "Cutit" (knife). This is wrong because the EYE cursor is out of range and not on the object.


2. In this pic you can see the EYE is ON the object, as it normaly would be, but no description (same ting with pick-up/interact).


Any solutions?

Thanx!
#13
Solved with
function room_AfterFadeIn() in both rooms script!
Wierd, i tink i tried that before... hmm.
Anyway, thanx!
#14
Hello all.
I've tried search in the manual and also over net this issue but couldn't find exactley.

I want to have a track of music / room. Each room, to play the designated music track once entered in room.
I realised that with the code:
Code: ags

function room_FirstLoad()
{
     aMusic1.Play();
}

That I set in the both rooms i have. But, there is a problem. When i go from room 1 to room 2, the music changes, so it's ok. But once i go to room 1 from room 2 (back) the music from room 2 plays and no other changes.

Would apreciate help to set each room to have a soundtrack on entry, EACH time!

Thanx!
#15
Thank you both for the good info!
I've imported the ambient music into Music folder.
Than, clicked on the "track" and set the function DefaultRepeat to True.
Works fine now.
#16
I added the code:
Code: ags

function room_RepExec()
{
     aRoommusic.Play();
}

Because I wish to have a loop of music in the Room. All works fine BUT:

1. The sound got very very bad, in quality. If I use the sound as
Code: ags

aRoommusic.Play();

It sounds perfect. If i use it in the code i gave first, with the loop function [function room_RepExec()] the sound got very worst.

2. The sound with the loop function [function room_RepExec()], is over the footsteps of the character sound, thus, I can't hear the sound of the footsteps any more.

In conclusion, if i use aRoommusic.Play(); everyting is fine (quality of music and also i can hear the footsteps), but, there is no loop in music.

Please, how can I solve this?

Thank you!
#17
Thank you. The video helped me! I got it to work now. And learnd also some new stuff.
Thanks!
#18
Hello to you all.
I am new here, and also a beginner in the point and click game creation, but I find it very interesting and I am begining to get further and further each day!

I have a simple question. I want my character to say a text when first room starts. For example, just after the fadein, I want my character to say "Hi".
I read over forums, it would be the code (in room script):

Code: ags
function room_AfterFadein()
{
     cHero.Say("Hi");
     aSound3.Play();
}


Also I added aSound3.Play(); because I wish a short sound would play when room starts.
I did that, but nothing happens.

I must say, I managed to put sounds on footsteps and also a "look at with dialog function". But I can't get the room_AfterFadein function to work.

PS: I am using AGS Editor .NET (Build 3.2.1.111).

Thanx!
SMF spam blocked by CleanTalk