Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (EW_bytes), 22,194 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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