GFX/ Sound include in Binaries

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

Hi!

I would like to see something like "DocodeSound / DecodeSprite" etc. to include gfx and sfx directly into my exe. Or possible the "LoadSprite" command can handle something like ?mylabel like BlitzBasic-Amiga!?

Tranquilizer/ Secretly!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

It only works for JPEG sprites for now (BMP sprites, sound etc.. will follow):

CatchJPEGSprite(0, ?MyJPEGSprite, 0)

MyJPEGSprite:
IncludeBinrary "sprite.jpg"

Fred - AlphaSND
Post Reply