When I start learning new concepts, I like to take examples and modify them to see how things work. I took HelloWorld_TileMap as a starting point. I wanted to see how to add a tiled background to it. I modified the hello world.json with a simple tile set. It all looks fine when loading it back into Tiled.
In the Game class, I changed
to
The background is white (the gradient background sub was commented out). I'm not sure if it's the json file or my code. There are no errors displayed in the logs. I must be doing something simple but I can't seem to find it. Code is attached.
In the Game class, I changed
B4X:
TileMap.Initialize(X2, File.DirAssets, "hello world.json", Null)
to
B4X:
TileMap.Initialize(X2, File.DirAssets, "hello world.json", ivGround)
The background is white (the gradient background sub was commented out). I'm not sure if it's the json file or my code. There are no errors displayed in the logs. I must be doing something simple but I can't seem to find it. Code is attached.