Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: poc301 on Sat 01/10/2011 06:15:27

Title: Possible to scale object speed with it's size?
Post by: poc301 on Sat 01/10/2011 06:15:27
I have an object which has a movement speed of 1.

It is set to scale with the walk-area, and does so nicely.

I've noticed though that it doesn't scale speed-wise, only size-wise.

The object is set at speed 1 right now since it is the slowest, but it is still way too fast for my liking, even when scaled down to 10% size.

Can speed be controlled?

Thanks,

Bill
Title: Re: Possible to scale object speed with it's size?
Post by: Khris on Sat 01/10/2011 08:14:05
You should be able to use negative numbers; iirc -2 produces a speed of 1/2, -3 a speed of 1/3 and so on.

And in general, if an object can't do something a character can, just use a character instead. (Unless it breaks automatic cursors or something, it might be worth it to add code for that situation then and still use a character, on the other hand.)