-
Notifications
You must be signed in to change notification settings - Fork 47
terminal.png not provided #93
Comments
I'm not sure what you mean. https://github.com/tomassedovic/tcod-rs/blob/master/terminal.png But if you mean your own projects that use the |
What I meant that the version checked out with the repo should be findable by the library by default. So a solution that would use the one included when another isn't available would make most sense, perhaps? I just feel that for a total newbie, the absence of terminal.png could be confusing, especially when one is included with TCOD itself. I propose adding a check that if the terminal.png isn't available, the provided one is used and a warning is generated in place of the "SDL : cannot load terminal.png" warning :) |
Sorry, I'm still not sure what your exact problem is. Do you mean having a project that depends on the If that is the case, then the http://doc.crates.io/build-script.html the build script has no way of knowing where the project that uses it is and it shouldn't interfere with it at all. The error message itself comes from And you have the same problem with your C, C++ or Python libtcod code: I understand this can be frustrating for a Rust / libtcod newbie, but the best think we can do I think is just document this. Or maybe provide an engine-like function that looks for the font and if it isn't there and there isn't an alternative set, we could bail out. But strictly speaking, with this library you're supposed to provide the fonts (just like any other assets) and the right calls yourself. Libtcod isn't as much an engine as it is a library that you write your roguelike engine on top of. |
Sorry for the latency. Yeah, you raise some valid points there. Providing a default font with the library is probably not desirable. Feel free to mark this as resolved ^^ |
Cool :-). I'll keep this open because we should mention this in the docs and/or the examples. I'd like people who aren't familiar with libtcod to use this with as few issues as possible. |
Hey, I started working on https://tomassedovic.github.io/roguelike-tutorial/part-1-graphics.html and I got stuck with the same issue as above. Not knowing enough Rust, it took me a while to find this issue which helped me solve the problem. Can the tutorial be updated to point to this issue? |
This project has not been maintained for a few years. I'm closing all pull requests and issues before archiving the repo on github. Sorry I hadn't done this sooner! |
The tcod-rs build script could copy it to the root of the project?
The text was updated successfully, but these errors were encountered: