Skip to content

Instantly share code, notes, and snippets.

View SomewhatMay's full-sized avatar
🎮
Epic Gaming

Umayeer Ahsan SomewhatMay

🎮
Epic Gaming
View GitHub Profile
@Leejjon
Leejjon / texturesInScene2dgame.md
Last active October 23, 2024 03:00
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 () {