Solved

screensaver

Posted on 1998-06-03
2
227 Views
Last Modified: 2010-04-06
hi

i have to make a screensaver in delphi. there should be
several bitmaps (perhaps 64*64 pixels or so) flying around.
now, my problem is that i don't know what's better for this
purpose, a timage or tpaintbox (or someting else).
the paintbox seems to be faster, but it don't save the changes that my program has made on the canvas.
regards
rene
0
Comment
Question by:rene100
2 Comments
 

Accepted Solution

by:
heapster earned 150 total points
Comment Utility
I have written a similiar spec screensaver in Delphi to this - I used a TImage to create smooth animations (in fact I used 8 Timages layered on one another, hiding/showing them to create a smooth animation - it seemed to provide the quickest update).
If your going to be moving them around, its going to be a bit jerky - I would think about drawing directly to a form canvas using copyrect or bitblit.  If you look around, there are some sprite components well suited to the task.  I think the answer is to write your own draw routines - you will get a better result in the end - it will look far more professional.  Does that count as an answer?
0
 
LVL 2

Author Comment

by:rene100
Comment Utility
sure this count as an answer.
you helped me alot, thank you!

regards rene100
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now