Objects faster than Characters

Started by SSH, Wed 02/06/2004 19:31:01

Previous topic - Next topic

SSH

In the manual it says that MoveObject speeds use the "same scale" as that for characters, but if you try it, the objects move quite a lot faster than an equivalent character... why is this, and can we stop it, please?

I had an idea for a way to slow down the objects, though... have an invisible object "leading the way", stop it every (few?) rep_ex and take note of it's position. Wait the required extra delay, set the Real Object TM to that position and then re-start it moving again. Saves writing you rown pathfinder...
12

..

Excuse my bad Ags knowledge if this is all wrong.

When it says Same Scale doesnt that mean room scaling? (Probably not :P)
And as for the speed if you want it to move at the same as your character you can change the characters speed.

Scorpiorus

The thing is, if the anti-glide mode is turned on then the engine wait for current character's frame to be changed before updating characters position. Disabling the mode should make their speeds identical.

strazer

#3
While we're at it:

Quotethen the engine wait for current character's frame to be changed before updating characters position

Additonally, glide mode can be a problem if you have a character that is moving independantly in the background. If you block his way, in anti-glide mode he stops, recalculates the path I suppose, then moves on.
In glide mode the character ANIMATION stops, but he continues floating in the direction he was moving. If you click continously in front of his feet, he keeps floating.
I don't know if this is a bug that could be fixed or if it's a side effect of the glide mode?

I dislike the anti-glide mode because you need small walking speed and high animation speed, thus a large of frames to make it look & feel smooth. The jerkiness affects scrolling rooms in particular since the screen is focused on the character.

Edit:

CJ, I hope you meant to quote
QuoteIn glide mode the character ANIMATION stops, but he continues floating in the direction he was moving. If you click continously in front of his feet, he keeps floating.
?
I think the stopping is a good thing.

Pumaman

Object and character speeds are identical, if anti-glide mode is turned off -- this should probably be documented.

QuoteAdditonally, glide mode can be a problem if you have a character that is moving independantly in the background. If you block his way, in anti-glide mode he stops, recalculates the path I suppose, then moves on.

That's probably a bug, I'll look into it.

SSH

So with anti-glide turned on, a character with a two-frame animation moves at half the speed of an object, or one-frame character, etc.?

12

Pumaman

The number of frames doesn't make a difference to the speed - rather, then animation speed does.

Suppose you have an object and move it at speed 5.

If you have a character with animation speed 1, move speed 5, it will go at the same speed as the object.

A character with aniation speed 2, move speed 5, will go at 1/2 the speed of the object.

A character with animaton speed 3, move speed 5, will go at 1/3 the speed of the object.

And so on.

SMF spam blocked by CleanTalk