I know there are a ton of these, as I'm sure everyone makes one for themselves when they work on their token tile-based game, but...well...I made a tile based level editor. I'm actually kind of proud of it in the short term, because it's doing what I need it to very nicely. I tried to leave comments, and there's some documentation on it's github page, along with a Youtube demo that I need to re-record because the audio is too quiet.https://github.com/mikezila/Tyle
I don't have a Windows machine, so I don't know if it works there or not, but it works on OS X. I do have an issue loading it on Linux, though, it throws an unknown error on the line I load a gosu::image on, I assume either because the image is bad somehow, or because of the way I formatted the file path. Any pointers?
One thing that is different on Linux vs Mac/Windows is that filenames are typically case sensitive. Maybe it's as simple as that? :)
Path seems OK, but I'd load from:
(otherwise you are making assumptions about the working directory)
Does it run for you at all? Normally I wouldn't ask someone else like this but I really can't nail down this problem. It runs on Windows as well I've been able to test, but I get UnknownError on Linux. Looks like in Gosu::Image's initialize/new.
Nope. I fixed it and to save you fixing it in the same way, I sent a pull request on github.
Just use PNG & OGG files for everything. Everything else is ropey at best ;)
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill