Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: ThorD.Ice on Thu 15/11/2012 00:24:16

Title: Re: Problem with diagonal movements (Solved)
Post by: ThorD.Ice on Thu 15/11/2012 00:24:16
Hi
Following the tutorial I created a room, a character and walkable area that occupies the lower half of the room.
I added the character diagonal movements as they only had the four basic. (and a picture to each)
The problem is that when walking diagonally only see the images (right left up down)
Anyone can help me?

Diagonal loops = True
I've read the manual and I can not understand why it does not work
Sorry if silly
Title: Re: Problem with diagonal movements
Post by: Andail on Thu 15/11/2012 16:23:50
Quote from: ThorD.Ice on Thu 15/11/2012 00:24:16
The problem is that when walking diagonally only see the images (right left up down)

What does "the images" mean? Do you see an animation or just a frame? Do you have four loops in the character normal view, or eight? The only reason this wouldn't work is if you've placed the additional diagonal loops in the wrong place.
Title: Re: Problem with diagonal movements
Post by: ThorD.Ice on Thu 15/11/2012 17:51:04
In each loop put a single sprite.
Given one had loops 0-3, 4-7 I added by clicking Create New loop 4 times and created 4 down-right 5 up-right 6 down-right 7 down-left (I put a single sprite in each)
One character assigned to the view 1 (loop 0-7).
Finally in the character's movement options put real diagonal loop

Not very well what you mean to put in the wrong place, but each loop assigned a sprite looking in that direction.
If I had to change something that can not be.
Right now I have only sprites in loops 1, 2, 5, 7 to recognize when the character turns.
Thanks for answering.
I hope you know that's what I fail.
Title: Re: Problem with diagonal movements
Post by: Gilbert on Fri 16/11/2012 01:22:24
The problem is probably this:
Quote from: ThorD.Ice on Thu 15/11/2012 17:51:04
(I put a single sprite in each)
The first frame of each loop is only used for the stationary pose. Try to add more frames to these loops and see whether they show up in movement.
Title: Re: Problem with diagonal movements (Solved)
Post by: ThorD.Ice on Fri 16/11/2012 02:36:33
Thank you so much. I'm a little ashamed of how simple the solution was.
Title: Re: Problem with diagonal movements (Solved)
Post by: Slasher on Fri 16/11/2012 05:07:05
Minimum of 3 frames (images) per loop for an animation to run.