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

Topics - GazJ

#1
Hi

My problem is as follows I want a chicken to walk around at random in the background of a room.  It walks a short distance then decides to change direction etc.  Imagine the dog in 'Beneath a Steel Sky' if you have played it.

I have all the walking animations for the chicken there is just the four directions Up, Down, Left and Right.

I have experimented by putting this just to get started off:

function room_RepExec()
{
  cChicken1.Walk(129, 177, eNoBlock);   // from its starting position of 69, 177

}

But this just makes the chicken walk on the spot.  The chicken only walks when an interaction event is called in the room.

I am a bit flummoxed with this scripting task so any ideas would be very gratefully received.
#2
I have started a new game and having checked through the manual I wondered if anyone has an answer to this problem.

Let's say I have a barrel object so I don't want my character to appear to walk over it or through it.

I know I can make the area at the base of the barrel a 'non-walkable area'.  But the barrel can be picked up and moved to another area in the room.  This will then leave an empty area in the room that my character cannot walk on.

I am new to AGS game making so any ideas would be gratefully received.
SMF spam blocked by CleanTalk