I had actually already implemented that a while ago, and simply forgot to upload it. The new version now contains that feature. Thank you for your request!
I have another question now. Perhaps I simply missed it, but is there a way to force hide the minimap no matter the set preferences? For example in a scene where the character faints and later wakes up in an unknown location.
Hide screen doesn't work and setting the 'area' variable to None throws an error, but maybe it's just my coding skill issue. I'd appreciate some help.
Yes, using a hidden location is currently the way to do it. But now that I think about it, tying the visibility to a variable might be more useful in some cases. I’ll make a small update later today!
← Return to Framework
Comments
Log in with itch.io to leave a comment.
Helloo, I tried to use your code and I get an error:
'config' is not a keyword argument or valid child for a screen statement.
config->.overlay_screens.append("minimap")
I don't know if I did something wrong.
Hi! It looks like you put
config.overlay_screens.append("minimap")
inside a screen's code. It should be within a init python block instead. Anywhere in your project, you can put
init python:
config.overlay_screens.append("minimap")
And it should work.
Ty! It worked.
This one is amazing! thank you so much for such nice tool
Thanks, you're welcome!
Hi! Thank you for the tutorial! You're a lifesaver!
Is it possible to make the minimap show a partial, zoomed in map instead of a shrunk version of the whole map?
You're welcome, I'm happy to hear that!
I had actually already implemented that a while ago, and simply forgot to upload it. The new version now contains that feature. Thank you for your request!
Thanks! Works like a charm.
I have another question now. Perhaps I simply missed it, but is there a way to force hide the minimap no matter the set preferences? For example in a scene where the character faints and later wakes up in an unknown location.
Hide screen doesn't work and setting the 'area' variable to None throws an error, but maybe it's just my coding skill issue. I'd appreciate some help.
Sorry. Never mind. I figured it out. I just needed to define a "hidden" location and set the location to there at the appropriate scene.
Yes, using a hidden location is currently the way to do it. But now that I think about it, tying the visibility to a variable might be more useful in some cases. I’ll make a small update later today!
The new version is now up. I hope this helps!
This is great!
Wow, that's awesome!!