Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 10/15/25 20:44
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 7,036 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 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