loops!?

Started by viktor, Sat 26/06/2004 12:43:49

Previous topic - Next topic

viktor

I have a wiew and 3 loops in it. The first one is down the second is left and the tird is right.
I don't have an up wiew jet. At first everithing worked fine but now sudenly the first loop doesn't want to cooporate. So when the player is supose to walk down he actualy walks righ and is moving downward. What's up with that?
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

Scorpiorus

Make sure the loops are set as follows:

Loop 0 - walking down (towards screen)
Loop 1 - walking left
Loop 2 - walking right
Loop 3 - walking up (away from screen)
Loop 4 - walking diagonally down-right
Loop 5 - walking diagonally up-right
Loop 6 - walking diagonally down-left
Loop 7 - walking diagonally up-left

viktor

I know that but for some reason my first loop won't animate.
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

Scorpiorus

Check if the view you are talking about is the one that's assigned to a character.

Did you change the character's walking view with the interaction or script commands? Or did you just set it from the characters pane in the editor?

If you changed his walking view via Interaction Editor, make sure that you used a Character - Changed view command and not a Character - Set view one.

Also, how did it work before if the character view misses one direction loop?

Mr Flibble

Is it possible that you deleted the sprites by accident?
Ah! There is no emoticon for what I'm feeling!

viktor

#5
Quote from: Mr Flibble on Sat 26/06/2004 16:11:30
Is it possible that you deleted the sprites by accident?


nope. I can still se them in the editor.

QuoteCheck if the view you are talking about is the one that's assigned to a character.

Did you change the character's walking view with the interaction or script commands? Or did you just set it from the characters pane in the editor?

If you changed his walking view via Interaction Editor, make sure that you used a Character - Changed view command and not a Character - Set view one.

Also, how did it work before if the character view misses one direction loop?
   

I must've done something wrong becouse yesterday the walkcicle still worked normaly. And now...
But there is one funny thing. I have the game set so that the character turns before walking. And the character does turn. The front wiew is actualy seen when he turns...

EDIT: Strange. I experimented a bit. I added a walk up loop. And now the character runs normaly.
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

Alynn

Have you tried turning off diagnal loops.... thats what the problem sounds like...

strazer

I vaguely remember some weird behaviour when a loop was missing, but I think this has been fixed since.
Which version of AGS are you using?

viktor

I'm useing the latest version. Don't wory. I found out what the problem was. And yes i had the diagonal loops turned of.  I just added an up loop and the problem was fixed. I don't exactly know why though... ???
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

Scorpiorus

There was a feature added into AGS - when the character is walking up/down and there is no appropriate loop specified AGS uses the right/left loops instead.

Primus

#10
I'm glad you've solved the problem.  :D
Anyway I found here a tutorial about loops...

http://www.agsforums.com/acintro.htm
http://www.agsforums.com/acintro7.htm
Minds are like parachutes. They only function when they are open. (Sir James Dewar)

Hollister Man

Yeah, it was actually my suggestion...

The engine now uses only left and right if either up or down is missing.  That way, you can still have a decently usable game without animating four ways, only one side view.
That's like looking through a microscope at a bacterial culture and seeing a THOUSAND DANCING HAMSTERS!

Your whole planet is gonna blow up!  Your whole DAMN planet...

SMF spam blocked by CleanTalk