As discussed in #926, there should probably be a grounds API. Here are some of my thoughts on it, in a kind of C++-y dialect, and a kind of Lua-y dialect.
This is all just based on stuff I happen to need/want in my game. I'm sure others want other things. Feel free to suggest them here, as well as to discuss my proposal in general. If anyone have a better idea on how to structure it altogether, it would be worth hearing.
Custom (and built-in) grounds could be explained appart, in a different part of the API (inside the tab "Solarus 1.5 - Lua API reference"), when they are implemented.
As discussed in #926, there should probably be a grounds API. Here are some of my thoughts on it, in a kind of C++-y dialect, and a kind of Lua-y dialect.
C++
Lua
This is all just based on stuff I happen to need/want in my game. I'm sure others want other things. Feel free to suggest them here, as well as to discuss my proposal in general. If anyone have a better idea on how to structure it altogether, it would be worth hearing.