-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Subpackage to handle level-loading through .tmx files. #114
Comments
It wouldn't be terrible to implement-- we have a game we're doing that we could try integrating with tiled and see what roadbumps we run into, splitting that functionality out into another package. We'll probably talk about it internally in a couple of days. |
I think that it is true that this is a pretty common use case that can be covered much better by oak. Namely I would argue that if in an x package there is a tmx importer then perhaps there is also an importer for the json variant of tmx as well. |
One thing I feel is that we should also support "objects", at least rectangular ones. This would add much more flexibility to the system because it would mean that even if you didn't want tile based levels, you could still use the system. |
First pass we are thinking of has the following:
Second pass may try update tmx repo to handle objects but that will be out of scope for first pass. |
Closing this issue, refer to oakmound/grove#3 |
Oak does a good job of handling most common things that games would need to do, but level loading, something that nearly all games have to do, seems lacking. I nearly developed my own format and editor, but fortunately I stumbled across the tiled map editor.
One problem is that there doesn't seem to be a definitive choice for a .tmx library, but I've been using this one.
The main benefit I believe would be better integration between oak's fileutil system and tileset graphics, which is currenly a bit of a hassle to implement.
I would also be willing to help implement this, but I don't know how helpful I could actually be.
here's my current function for loading tmx files.
The text was updated successfully, but these errors were encountered: