Search found 3 matches
- Fri Apr 21, 2023 3:44 pm
- Forum: Support and Development
- Topic: Need help with Lua + OOP
- Replies: 4
- Views: 1135
Re: Need help with Lua + OOP
I found the issue. It was because IDs in TileSet exported with Tiled starts counting from 0 while in TileMap from 1.
- Wed Apr 19, 2023 10:46 pm
- Forum: Support and Development
- Topic: Need help with Lua + OOP
- Replies: 4
- Views: 1135
Re: Need help with Lua + OOP
Thank you, Spiffy!
The isGlobalTidIn is just a function to handle Tile IDs in case TaleMap contains multiple tilesets. I will recheck it.
The isGlobalTidIn is just a function to handle Tile IDs in case TaleMap contains multiple tilesets. I will recheck it.
- Tue Apr 18, 2023 12:44 am
- Forum: Support and Development
- Topic: Need help with Lua + OOP
- Replies: 4
- Views: 1135
Need help with Lua + OOP
Hi guys. For learning purposes I am trying to recreate the "Battle City" game from NES with LÖVE. And now I am faced with strange behavior of "objects". I will appreciate any help. Let me explain the project structure . Now there is only TileMap realization and game object struct...