Z-Index Rendering | Coding Geometry Dash in Java #20

Channel:
Subscribers:
59,400
Published on ● Video Link: https://www.youtube.com/watch?v=XIJSRTxPh9k



Duration: 14:11
687 views
0


In this tutorial, I go over a simple technique to implement z-indexing in a completely 2D renderer like the Java GraphicsContext APIs. This method involves using a HashMap to map each z-index to a collection of objects, and then render the furthest objects first and the closest objects last, essentially drawing them from back to front.

---------------------------------------------------------------------
Website: https://ambrosiogabe.github.io/
Github: https://github.com/ambrosiogabe

Outro Music: https://www.bensound.com/royalty-free-music







Tags:
gameswithgabe
games with gabe
geometry dash
zindex
z-index
how to code zindex
2d depth
coding games
how to code geometry dash
how to code games in java
java
game development in java
zindex in java