Ubu
Member
I prefer to have the room data stored on disk and loaded during runtime. A nice addition would be a room export feature which saved the grid data for each layer in a room and then could easily be accessed during runtime. It could either be saved as a json file which then would be loaded with json_encode or with a new function, e.g. room_read (+room_write).
This would make for a fast workflow; create the room, export it and it's ready to be used in your game. If the room needs adjustments, just import the room, fix it and export it again.
This would make for a fast workflow; create the room, export it and it's ready to be used in your game. If the room needs adjustments, just import the room, fix it and export it again.