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
Solved

screensaver

Posted on 1998-06-03
2
230 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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