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
Java-Gaming.org
>
Game Development
>
Performance Tuning
>
Cramming the most into a Sprite Atlas - (Bin Packing Problem)
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.
Roquen
JGO Strike Force
Posts: 823
Medals: 25
Re: Cramming the most into a Sprite Atlas - (Bin Packing Problem)
«
Reply #30 on:
2009-12-11 11:22:41
»
Sounds about par for software development.
princec
« League of Dukes »
JGO Kernel
Posts: 8076
Medals: 91
Eh? Who? What? ... Me?
Re: Cramming the most into a Sprite Atlas - (Bin Packing Problem)
«
Reply #31 on:
2009-12-11 11:38:06
»
A kiss makes it all better
You should go indie! Work for yourself.
Cas
Play Revenge of the Titans
-
Play Titan Attacks
-
Play Droid Assault
Eli Delventhal
« League of Dukes »
JGO Kernel
Posts: 3573
Medals: 44
Game Engineer
Re: Cramming the most into a Sprite Atlas - (Bin Packing Problem)
«
Reply #32 on:
2009-12-11 12:08:16
»
Quote from: princec on
2009-12-11 11:38:06
A kiss makes it all better
You should go indie! Work for yourself.
Cas
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!
Markus_Persson
JGO Kernel
Posts: 2092
Medals: 10
Mojang Specifications
Re: Cramming the most into a Sprite Atlas - (Bin Packing Problem)
«
Reply #33 on:
2009-12-15 05:34:10
»
Quote from: princec on
2009-12-10 15:37:58
Can't - have to sort by layer first. And Y coordinate. And sublayer.
Cas
Z-Buffer, sir!
Except that won't work with transparency..
Oh, ok, depth peeling!
Blah nevermind.
Play
Minecraft
!
Eli Delventhal
« League of Dukes »
JGO Kernel
Posts: 3573
Medals: 44
Game Engineer
Re: Cramming the most into a Sprite Atlas - (Bin Packing Problem)
«
Reply #34 on:
2009-12-15 10:11:01
»
Quote from: Markus_Persson on
2009-12-15 05:34:10
Z-Buffer, sir!
Except that won't work with transparency..
Oh, ok, depth peeling!
Blah nevermind.
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:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Loading...