Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Forum => Topic started by: Clonead on December 17, 2008, 03:08:02 PM
-
Hello
Just bought a copy of amos pro on Ebay and want to start programming. The manual is huge but I need help with one thing...
I want to start to animate lines, circles, ... on screen by first drawing the e.g. circle in foreground color and when the position changes erase the circle by redrawing it in background color. It seems to me that this is the basic stuff for programming what will later exand to complex changing shapes...
Can anyone explain me how double buffering can help to smooth things out and maybe some lines of code to get me started...
Thank You
-
Hello.
Have you seen this thread (http://amos.condor.serverpro3.com/index.php/topic,5.0.html)? It should tell you about the Autoback command and has some example code by Sidewinder.
-
how double buffering can help to smooth things out
First you must explain what kind of "things" you mean. Duble Buffer has few "modes" so this is important what kind of things you want to display static or animated bobs, icons or graphic functions?
-
i would explain the workings of physical / logical screen drawing, but i have to say, the manual says it far better than i ever could:
http://amos.condor.serverpro3.com/AmosProManual/6/616.html
double buffer command also listed here:
http://amos.condor.serverpro3.com/AmosProManual/7/718.html
personally i used a double buffer system on the scrolling of my latest project. i wasnt constantly doing the screen-swap (i prefer a manual approach) so i gained some speed. I think it's the sort of thing you just need to read aout and try experimenting with.
the original AMOS Pro drawing-based commands are pretty slow btw. mostly they can been replaced with faster versions in other extensions.
-
I am going to process all the info given here. I hope i can count on you when things to net yet work out that well. Thank you