Solved

screensaver

Posted on 1998-06-03
2
228 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
ID: 1350043
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
ID: 1350044
sure this count as an answer.
you helped me alot, thank you!

regards rene100
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

12 Experts available now in Live!

Get 1:1 Help Now