Hi
You can use the name of sprites instead of their number if you gave them one
in the application manager Easyspr (appman_obj).
 Once Lrespred, you can do something like this:
100 outln
120 mysprite=spra("xyw"): rem the name of the sprite
140 wsprt 100,100,mysprite
And you will see your "xyw" sprite on the screen.

Does this help you?
Francois Van Emelen

Dilwyn Jones wrote:
> 
> Thank you Thierry. I should have thought of directly addressing the
> sprite like this. So if I just APPEND the sprites to a ptrmen_cde file
> for example that should work fine compiled. It may also work in BASIC
> I suppose. Pity about the MITEM bug, it would have been nice to allow
> the user to specify and load a sprite as an icon for those who have
> the sprite editor and for me to release collections of sprites to go
> with this program (although I may be able to work around this by
> appending a dummy sprite as a buffer to load a sprite into for
> example.
> 
> Still, thank you for the suggestion, which should
> save me a lot of work. Looking at the manual, SPRA should also allow
> the name of the sprite to be specified in place of number, but I guess
> this might be a little bit slower if it has to search for the name.
> 
> --
> Dilwyn Jones
> [EMAIL PROTECTED]
> http://www.soft.net.uk/dj/index.html
> 
> >There is a bug in MITEM that prevents it to load a sprite by its name
> >(or filename). The workaround is to place the sprite into an appendix
> >and to load it by its address with:
> >
> >MITEM #Channel,Item_number,-2,SPRA(Sprite_number)
> >
> >where sprite_number is the number of appearance in the appendix file
> >(this appendix has to be linked to the QLiberated program).
> >
> >QDOS/SMS forever !
> >
> >Thierry ([EMAIL PROTECTED]).
> >

Reply via email to