Hi,
So far have 3 games, but I still can't make an object to move from point A to point B, but not with the constant speed. I want the object when start reaching point B to slow down it's speed. And I want this slowing down to be smooth. I tried to make it manually, pixel by pixel with decreasing the speed. But in this case the slowing down is not that smooth.
If you have any ideas, please share it.
Thank you.
Have you already tried the tween module?
I know, this doesn't technically answer your question, but using that module made it obsolete for me to think about such things.
It' just that good ;D
Quote from: abstauber on Wed 13/10/2010 09:02:40
Have you already tried the tween module?
I know, this doesn't technically answer your question, but using that module made it obsolete for me to think about such things.
It' just that good ;D
I'll try it. I'm sure that the solution is module or plug-in. Thank you abstauber.
(EDIT) I tried it. It's just what I wanted! Great advice. One final question. Since its my first module using in AGS, what are the steps to import it in AGS. Do I have to add only Tween.ash and Tween.asc in the game directory. Is this the only thing that have to do? What to do with tween.scm file?
Right-click the "Scripts" node in the project tree and choose "Import script", then select the tween.scm file and AGS will create the script and header in your scripts list.
Quote from: GarageGothic on Wed 13/10/2010 10:14:14
Right-click the "Scripts" node in the project tree and choose "Import script", then select the tween.scm file and AGS will create the script and header in your scripts list.
I got it. Thank you GarageGothic. It's easy.