Thanks for your reply. When Dead is called in the TBullet.DoCollision the image of the enemy does change and the bullet is killed but the new image (explosion) is not killed. When dead is called in the HIT procedure no image change and bullet not killed. When Dead is called in both the HIT and DoCollision the bullet is killed but the image does not change. I have disabled the call to looped as suggested.

How do I get the last frame of the animation?

BTW It was one of your posts in this forum :-)

Traveler
PGD Staff


Joined: 05 Nov 2002
Posts: 1171
Location: Netherlands
Posted: Tue Apr 13, 2004 1:08 pm Post subject:

--------------------------------------------------------------------------------

Seems to me that a turn based game doesn't need a high fps.

In any case, here's a few general things you might want to look at:
- using 256 colored graphics will help some.
- using 8bit color mode will help even more
- limit the drawing to the visible parts of your game.
- don't use alpha blending
- don't use canvas.fill(0) if your screen is already filled with tiles
- don't use standaard texts (ie. canvas.textout)
(- decrease the resolution, 1024x768 is too much for DelphiX)

Perhaps you can post a few screenshots. It might help a little to see where the problem areas are.
_________________
"Not all those who wander are lost."


Back to top