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

#21
How exactly is animation delay related to game speed?

I thought that game speed is the number of cycles per second and animation delay says how many cycles it takes to change from one frame to another. So if I have delay 2 and game speed 32, that should be 16 fps. With delay 3 and game speed 48, that's also 16 fps.

However when I tried those two settings with the same animation, the second one (delay 3, speed 48) looked noticeably faster. What am I missing here?
#22
Critics' Lounge / cave / castle background
Mon 12/11/2012 15:56:11
I've been slowly working on this background for almost three weeks now. It's still not finished, but I'm getting impatient and hungry for some sort of feedback to stay motivated. So I thought I'd just post it here to get some thoughts on it. I know it's hard to criticize when it's still work in progress, so some parts are obviously sloppy because they're not finished... just give me your general impression if possible. Thank you!

#23
Hello everyone,

I'm not sure if this belongs here or in the Technical forums, but since this is my first post here, I'll assume I must be a beginner :).

What I need to do is adjust my character's position in every frame of his walking animation. It's a way to avoid gliding (the "anti-glide" and "adjust speed according to scale" do help, but they don't work correctly for me). So what I need the script to do is this:

- change the character's position and frame as usual, according to AGS's pathfinding engine.
- notice that the character's position and frame have changed
- change his x and y values depending both on the previous and on the new position
- display the character in his new position

What the script does instead is this:

- change the character's position and frame as usual
- display the character in his new position
- notice that the character's position and frame have changed
- change his x and y values depending both on the previous and on the new position
- display the character in his new position *again*

The result is that the character is constantly shaking - my script for adjusting position works, but not before the character is displayed for a split second in his original position dictated by the AGS engine. Is there a way to make changes to coordinates take place before the game draws the character onscreen?

Thanks for any reply!
SMF spam blocked by CleanTalk