Skip to content

Instantly share code, notes, and snippets.

View SomewhatMay's full-sized avatar
💭
Epic gaming

May SomewhatMay

💭
Epic gaming
View GitHub Profile
@Leejjon
Leejjon / texturesInScene2dgame.md
Last active May 11, 2023 21:35
How to organize your stages and textures in your libGDX game

Starting out

If you have started out to build a game with libGDX, you've were probably creating and disposing textures out like this:

public class MyGdxGame extends ApplicationAdapter {
    SpriteBatch batch;
    Texture badlogic;

    @Override

public void create () {