Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

screensaver

Posted on 1998-06-03
2
Medium Priority
?
236 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 450 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

773 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