Solved

screensaver

Posted on 1998-06-03
2
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

728 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