Motivation for this is performance and doing away with the pure json manipulation.
Creates the DTile and DTiles class for managing tile data.
Phased out the old albedo_texture call on the tile sprites. This was residue from when each block was it's own entity
Made the required changes to gamedata and the content editor
I saw that there were a lot of calls to Gamedata.get_data_by_id. Now we can find out if it was for tiles now that the calls should go to Gamedata.tiles.by_id() instead.
Requires #310
Motivation for this is performance and doing away with the pure json manipulation.
I saw that there were a lot of calls to Gamedata.get_data_by_id. Now we can find out if it was for tiles now that the calls should go to Gamedata.tiles.by_id() instead.