Turn to FaceLocation [SOLVED]

Started by TheJBurger, Sat 09/12/2006 20:36:24

Previous topic - Next topic

TheJBurger

I have that "Characters turn to face direction" box enabled. When I try it in action though, my character waits about 1-3 seconds, and then he turns. I never noticed the wait before and I was wondering what caused the problem.

The exact code for the face location is:
Code: ags
cEgo.FaceLocation(cEgo.x, cEgo.y+200,eBlock);


I never noticed the slowdown before, and it only started later in my game development. My game is currently quite big, so I was wondering if that was the sole problem.

InCreator

It's blind guess, but check if your character's default view's very first frame(s) doesn't have any delay?
Like, under view editor.

TheJBurger

I thought of that too, but there's no delay on any of the frames.

Monsieur OUXX

Quote from: TheJBurger on Sat 09/12/2006 20:36:24
I have that "Characters turn to face direction" box enabled. When I try it in action though, my character waits about 1-3 seconds, and then he turns.

I've got the same problem...
 

TheJBurger

Sorry to bump, but I was hoping some one could answer my question.

Here's my problem (again):
Code: ags
cEgo.FaceLocation(cEgo.x, cEgo.y+200,eBlock);

That line of code makes EGO turn only after about 2-4 seconds. This is only when "characters turn to face direction" is enabled. When I turn it off though, he turns instantly, but I want the turning feature enabled. I know it should be faster because it worked instantly before, so what's the problem?

SSH

If you turn anti-glide mode off, does it make a difference to the speed of turning?
12

TheJBurger

#6
That doesn't change anything either.Ã,  Ã, :-\

[EDIT]Nevermind, I figured it out. IT had something to do with repeating idle views and whatnot.Ã,  :-X

SMF spam blocked by CleanTalk