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

#1
Oh, I got it worked. Thank you Khris and everybody who replied.  ;D
#2
Quote from: Khris on Mon 12/12/2011 13:17:59
Regarding the door objects: instead of using one for the open door and one for the closed door you can use just one and change its graphic. To do that, the two sprites must be aligned properly, but even if they aren't you can easily change the object's position.

Could you explain me how could I do that? oDoor2C.Graphic?

Thanks.  :)
#3
Hey guys, thanks for the replies again. :)

@Anas:

Wow, that sure helped me a lot, really. I just knew 2 or 3 commands from that list. xD

@Others:

Actually, I think I solved my problem after all, haha. All I wanted was to make the non-playable character open the door and leaves the room, so I tried messing around with some codes and made it (well, at least it worked). Take a look:

cNonP.Walk(248, 159, eBlock, eWalkableAreas);
oDoor2C.Visible=false;
oDoor2O.Visible=true;
Wait(15);
cNonP.ChangeRoom(6, 61, 159);
oDoor2C.Visible=true;
oDoor2O.Visible=false;

I'm a game maker veteran, that's why I'm still not familiar with AGS 100%, hehe. The ways to create cutscenes aren't the same (as GM have timelines, etc), so I'm still trying to learn some new things.
Thanks for all the help again guys.  ;D
#4
Wow guys, calm down, I'm just an AGS newbie trying to learn. Well, thanks for the replies, anyway.  :)
It's my first time doing cutscenes, so I just wanted to know how the things happens and as I do not know how some commands work, I just thought that maybe when he collides with the door, it could activate something, etc.
#5
First of all, hello! I'm new to this forum and to AGS!  :)
I started with AGS for about a week or two, saw some tutorials on densming channel (which are awesome) and read the tutorials here on the site, but none of them actually explained if it is possibl to make non-playable characters interact with the background.  ???

For example: I have a cutscene where the non-playable character leaves the room, but to do that, he must open the door, etc.  ;D
Tried with IsCollidingWithChar, but failed, so here I am asking it. xD

Any help would be appreciated.  ;)
SMF spam blocked by CleanTalk