What's the diffrence between LoadImage and LoadSprite?

Just starting out? Need help? Post your questions and find answers here.
AngelSoul
User
User
Posts: 55
Joined: Tue Jul 29, 2003 9:16 am
Location: Canada

What's the diffrence between LoadImage and LoadSprite?

Post by AngelSoul »

are they the same?
AMD 1.8 - 512mb - ATI All-In-Wonder Radeon 9000 pro - W2k Pro
BASIC programmers never die, they just return without gosub.
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Sprites are kept in video memory, and are faster to use than images.
Using the sprite lib requires at least DirectX 7 to be installed.
That's why sprites are good for games.

Images are in main memory, and therefore slower, because no graphic
hardware is used. There is no DX required, so they should be used to
do applications.

Timo
quidquid Latine dictum sit altum videtur
AngelSoul
User
User
Posts: 55
Joined: Tue Jul 29, 2003 9:16 am
Location: Canada

Post by AngelSoul »

Thanks a lot!
AMD 1.8 - 512mb - ATI All-In-Wonder Radeon 9000 pro - W2k Pro
BASIC programmers never die, they just return without gosub.
Post Reply