Link to home
Start Free TrialLog in
Avatar of joyrider
joyrider

asked on

faster drawing ?

Hi,

i like to write small games but i've come to a problem, i always made little games that didn't need a lot of drawing on the screen like boardgames or games that' don't really need to draw much fast (tetris)
i used a timer and canvas.copyrect to do this

anyway i wanted to make a little breakout game but the problem is that copyrect method is to slow, the ball moves really slow and increasing dx,dy values makes the ball move sloppy & skippy.

Now i wonder is there a way to speed it up ? some api mebe ? i know delphix exists but don't want to use directx want to do it more or less in the way i used to do it!

thanks
Avatar of aikimark
aikimark
Flag of United States of America image

There was a series of articles in Delphi Informant on just this subject.  The first of the "New Spin on Delphi" articles appeared in the Jan 97 issue and were written by Peter Dove and Don Peer.
Avatar of inthe
inthe

hi,
maybe fastlib or dibultra could be of intererest:

http://www.gfody.com/

http://perso.magic.fr/sleon/prog/DIBUltra/DIBUltraE.htm
ASKER CERTIFIED SOLUTION
Avatar of aikimark
aikimark
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can use a wrapper for DirectX called DelphiX that allows you to use all DirectX functions and still use a Canvas and all the methods - like copyRect()and use any video mode available. The diferences are mainly in the initialization part so you don't have to change so much of your program ...
Here is the adress :
http://linux.yks.ne.jp/~hori/DelphiX-e.html - DelphiX home page
Hope it helps you ...
Avatar of joyrider

ASKER

i couldn't find those first articles seems that site's down :(

anyway i'll try one of those libs
didn't want to use delphix as said in my questions
Joyrider,

Thanks for the points.  There are downloadable links to the five-part series by Dove and Peer at the following URL:
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/ComponentsAndPrograms.htm