Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,280 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
New Tool: SpriteSheetPacker2LiteC released #340589
09/05/10 21:25
09/05/10 21:25
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline OP
Serious User
nfs42  Offline OP
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
You know Sprite Sheet Packer??

Sprite Sheet Packer is a fully featured tool for combining multiple individual images into a single, efficiently laid out image.

SpriteSheetPacker2LiteC from GSTools creates a script out of the map file generated by the packer.

It's my first attempt with VB.Net.
Needs still some testing. Download

Code:
BMAP* grain1;
BMAP* grain2;
BMAP* grain3;
BMAP* grain4;
function GSTBmap_Extract(){
   BMAP* bmpTemp = "grain.png";
   grain1 = bmap_createblack(512, 512, 32); // create an empty bmap
   bmap_blitpart(grain1, bmpTemp, vector(0,0,0), vector(512,512,0), vector(0,0,0),vector(512,512,0));
   grain2 = bmap_createblack(512, 512, 32); // create an empty bmap
   bmap_blitpart(grain2, bmpTemp, vector(0,0,0), vector(512,512,0), vector(513,0,0),vector(512,512,0));
   grain3 = bmap_createblack(512, 512, 32); // create an empty bmap
   bmap_blitpart(grain3, bmpTemp, vector(0,0,0), vector(512,512,0), vector(1026,0,0),vector(512,512,0));
   grain4 = bmap_createblack(512, 512, 32); // create an empty bmap
   bmap_blitpart(grain4, bmpTemp, vector(0,0,0), vector(512,512,0), vector(0,513,0),vector(512,512,0));
   bmap_purge(bmpTemp);
}




Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: New Tool: SpriteSheetPacker2LiteC released [Re: nfs42] #340611
09/06/10 07:02
09/06/10 07:02
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline
Serious User
Liamissimo  Offline
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
I'll test it, this is what I have searched a long time ago, even I don't need it right now. Thanks anyway laugh


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011

Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1