I need to know if it's possible to do the following, as I've spent hours reviewing the documentation, ChatGPT, ClaudeIA, forums, and videos, and there's no information about it.
From what I understand, it's not possible to have global variables, only global properties limited to boolean, string, and number, which is crazy. Want a global array? Forget it, it's not possible. Want a more complex object? Well, neither.
I'm creating a prototype of Bomberman. Pressing a key places a "bomb" object on the tile in front of the player. Suddenly, the player places more bombs on the map. But I can't access them anymore: no map function to get objects, or get tiles, or get entitys by id.
There is a way to check if a specific tile has objects on it, but I have no way to iterate through all the tiles on the map, or to check all the existing objects on the map. In fact, there is no "map" object that I can access within the code (at least I haven't been able to find it in the documentation).
If I want to create enemies that will die from the bombs, it's an ordeal to check if they've all died before the player advances to the next level. Even if I've placed objects at design time using the editor, how do I access them all at runtime?
Is there a way to query the objects on the map? The enemies? Loop through all the tiles as an array?
I know RPG in a Box is for making RPG games, and the adapted Bomberman mechanics can be combined very well with an RPG game that adds something new to the idea of placing exploding objects on the map.
Thank you very much in advance. RPG in a Box has a lot of potential, and I'm really enjoying it.