Add2DArchive

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Add2DArchive

Post by Fluid Byte »

Would be very handy to have that command for Sprite/Sprite3D too. In fact an "AddZIPArchive" to load all needed data from would be even better.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

Yes it would be useful, but what would be the sprites numbers?
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

djes wrote:Yes it would be useful, but what would be the sprites numbers?
What do you mean? The index? The handle?

It would be the same as before:

LoadSprite(Index,Filename$), LoadTexture(Index,Filename$), etc.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

Oh yes, I was thinking of a way to load multiple sprites simultaneously, but your command is only to add a path. Yes, why not? :)

+1 for your request.
Post Reply