Sprite memory address...

Just starting out? Need help? Post your questions and find answers here.
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

Sprite memory address...

Post by Skipsy »

Hi,

LoadSprite( #sprite, "image.bmp") loads a sprite with the number
#sprite... OK

But do you know how I can get the memory address where sprite data
are stored :?:

Thks,
Beware of the man who has the solution before he understands the problem...
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Use the StartDrawing(SpriteOutput()) and DrawingBuffer() combo.. Else, the number returns the DX7 Sprite object so you can manipulate it if you know how :)
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

Post by Skipsy »

Works fine...

GREAT TIP !!!
thks
Beware of the man who has the solution before he understands the problem...
Post Reply