Gamestudio Links
Zorro Links
Newest Posts
zorro with ccxt?
by opm. 03/03/26 03:17
ZorroGPT
by TipmyPip. 03/02/26 18:13
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, Quad), 5,508 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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 | 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