Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  Print  
  Cramming the most into a Sprite Atlas - (Bin Packing Problem)  (Read 7436 times)
0 Members and 2 Guests are viewing this topic.
Offline Roquen

JGO Strike Force
***

Posts: 823
Medals: 25



« Reply #30 on: 2009-12-11 11:22:41 »

Sounds about par for software development.
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8076
Medals: 91


Eh? Who? What? ... Me?


« Reply #31 on: 2009-12-11 11:38:06 »

A kiss makes it all better Wink
You should go indie! Work for yourself.

Cas Smiley

Offline Eli Delventhal
« League of Dukes »

JGO Kernel
*****

Posts: 3573
Medals: 44


Game Engineer


« Reply #32 on: 2009-12-11 12:08:16 »

A kiss makes it all better Wink
You should go indie! Work for yourself.

Cas Smiley
Yeah, maybe in a few years. I've still got a lot to learn and a lot of networking (the meeting people kind) to do, then perhaps I will. But I am indeed convinced of the fact that I had more fun (at least in many ways) as a hobbyist. But being indie is hard hard hard, as you can no doubt attest to.

See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
Games published by our own members! Go get 'em!
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #33 on: 2009-12-15 05:34:10 »

Can't - have to sort by layer first. And Y coordinate. And sublayer.

Cas Smiley

Z-Buffer, sir!
Except that won't work with transparency..
Oh, ok, depth peeling!

Blah nevermind. Wink

Play Minecraft!
Offline Eli Delventhal
« League of Dukes »

JGO Kernel
*****

Posts: 3573
Medals: 44


Game Engineer


« Reply #34 on: 2009-12-15 10:11:01 »

Z-Buffer, sir!
Except that won't work with transparency..
Oh, ok, depth peeling!

Blah nevermind. Wink
Hee, I went through both those steps trying to get this working. I ended up basically sorting things by like groups and Y position both, so pretty much there are 5 different groups or so and everything within those groups is sorted by Y. Typically, each group only uses one sprite atlas, maybe two, so the occasional visual height problems usually look decent enough (given that the things are different types of units) that it's typically acceptable.

See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
Pages: 1 [2]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.059 seconds with 19 queries.