hi I have a game where it reads a txt file and loads a map 0 represents air and 2 represents dirt I have a class for each tile as well as a tilemap I will show u my code. the problem is it lags like ...
I'm using the LÖVE game engine (which uses Lua). My terrain generation works good. But I'm planning to make the terrain generate as the player walks so that the terrain will be infinite size. I'm ...