Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: fovmester on Tue 31/08/2004 06:22:27

Title: Moving slower than speed 1
Post by: fovmester on Tue 31/08/2004 06:22:27
I need to get an object to move really slow so I used MoveObject with speed set as 1. This isn't slow enough though, so I wondered if there's a way of making an object move even slower.

I could make the object into a character and move it by changing the character[].x and -.y variables but that's not really elegant, i think.

Does anyone have an idea how to do it?
Title: Re: Moving slower than speed 1
Post by: strazer on Tue 31/08/2004 06:51:39
I've found this (keyword: "slower"):
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=8567
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14871
http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=73
Title: Re: Moving slower than speed 1
Post by: Radiant on Tue 31/08/2004 11:00:35
I second Gilbert's feature request mentioned above (e.g. MoveObject with a speed of -3 would cause the object to move at speed 1/3, etc). I can think of a lot of useful applications for that, actually.
Title: Re: Moving slower than speed 1
Post by: Albert Cuandero on Tue 31/08/2004 19:08:24
Why not move it at the lowest speed, with triplet frames (Thus you show Frame1-Frame1-Frame1-Frame2-Frame2-Frame2 etc.)?
Title: Re: Moving slower than speed 1
Post by: Scummbuddy on Tue 31/08/2004 19:36:47
no, cause at least in my case, its one frame of the object, and we want it to slowly move across the screen. but it zooms across the screen.
Title: Re: Moving slower than speed 1
Post by: Pumaman on Tue 31/08/2004 20:28:08
Yes, this has been requested before and is on my to-do list.
Title: Re: Moving slower than speed 1
Post by: SSH on Wed 01/09/2004 14:10:57
As long as you move in a straight line, my sscript (that strazer already rerferenced)  in http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14871 shoudl do the trick for you. This has been used successfulyl in the FoY demo.