Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Cramming the most into a Sprite Atlas - (Bin Packing Problem)  (Read 9386 times)
0 Members and 1 Guest are viewing this topic.
Offline Roquen

JGO Ninja


Medals: 66



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

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

JGO Kernel


Medals: 194
Projects: 3


Eh? Who? What? ... Me?


« Reply #31 - Posted 2009-12-11 17: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


Medals: 39
Projects: 12


Game Engineer


« Reply #32 - Posted 2009-12-11 18: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
Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline Markus_Persson

JGO Wizard


Medals: 8
Projects: 19


Mojang Specifications


« Reply #33 - Posted 2009-12-15 11: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


Medals: 39
Projects: 12


Game Engineer


« Reply #34 - Posted 2009-12-15 16: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
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (34 views)
2013-05-17 21:29:12

alaslipknot (42 views)
2013-05-16 21:24:48

gouessej (72 views)
2013-05-16 00:53:38

gouessej (71 views)
2013-05-16 00:17:58

theagentd (79 views)
2013-05-15 15:01:13

theagentd (74 views)
2013-05-15 15:00:54

StreetDoggy (116 views)
2013-05-14 15:56:26

kutucuk (139 views)
2013-05-12 17:10:36

kutucuk (140 views)
2013-05-12 15:36:09

UnluckyDevil (147 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.096 seconds with 21 queries.