View Single Post
Old 22 August 2019, 23:08   #1
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,893
Multiplexing Using Vsprites Code

I hadn't realised that Vsprites wasn't general knowledge so never occurred to me discuss/upload.

This include (not quite a library) allows you to easily multiplex sprites. Basically you copy the bob image into the sprite as normal (Getasprite) and then display it with:

vsprite {sprite no., x,y)

Able to reuse sprites over and over again no problems!

I have uploaded (to the zone) the lha file I found which has 2 examples (apologies I added a background to one and didn't remove it) for your pleasure.

I am currently working on a Doodle Jump game which I will upload soon which is all sprites and no bobs.

I thought I'd start a thread to collect any information on Vsprites as documentation is sketchy to say the least!
Havie is offline  
 
Page generated in 0.19687 seconds with 11 queries