• ### Popular Now

• 12
• 10
• 10
• 13
• 10

This topic is 3346 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello again to all :) I've got another question regarded to delphi programming. I've got a spell in my game which is a TImageSprite (class from the translated directx headers for delphi usually known as "undelphix"). You may think that the problem is for the game programming forum but the idea is in general programming. When the spell hits the last frame of the animation it needs to be destroyed and i've used all sorts of different methods before i decided to read the source code of delphix when i saw that there is a procedure ReadAnimPos which reads the current frame of my animation. The problem is that it uses a TReader and i haven't come across how to use this component over the net so i would like to ask how could i get the my animations frame position by using this procedure (here's the source of procedure from delphix's .pas files)
procedure TImageSprite.ReadAnimPos(Reader: TReader);
begin
end;


##### Share on other sites
You can find out what TReader is with a simple google search.

As for how it's used in this context, you'd be best talking to the developer of the library.