• Register

An adventurer with a yearning to explore the inaccessible, misty world of magic hears a tale of a door that opens onto that world, located in a lost city. She embarks on a journey through desolate and dangerous places to discover this city and its door, and enter the mist-world.

Post news Report RSS Control-Mapping Done!

In which the key-mapper is finished; said key-mapper is available on GitHub; the GitHub version includes a Lander-style sample-game; a test-game for the key-mapper is available on itch.io; A Door to the Mists' key-mapper is updated to reflect the recent changes; A Door to the Mists now uses the new key-mapper functionality, and can thus be played by gamepad, etc.; and a new "wandering visual novel" side-project is begun.

Posted by on

Greetings and salutations!

This week's screenshots show the key-mapper for A Door to the Mists, now updated with the key-mapping module's recently-added functionality!

(Please excuse the lack of a mouse-pointer in them; it wasn't captured with the screenshot.)

Screenshot from 2019 05 12 02 30 1

Screenshot from 2019 05 12 02 30

The week just past was a busy one, I feel! Once again, most of its work was related to the key-mapping module, whether directly or peripherally:

To start with, I believe that I have my key-mapping module complete! ^_^

This involved some tweaks, and the addition of a few new features (including the separation of the key-mapping "profile" directory into a "default profile" directory and a "user profile" directory). But perhaps more than that, it involved a lot of bug-fixing, as I discovered a number of issues along the way--but thankfully, I believe that I've fixed all that I found.

With the module pretty much done, I believe, I've uploaded it to GitHub, available for other Panda3D developers who may find it useful. If you want to take a look, you should find it here:
Github.com

The GitHub version includes a very, very simple example-game that I put together in the week just past. It shows the use of the module in the context of a game, as well as some of how the module's appearance can be customised. The game itself is a simple Lander-ish thing, in which the player flies a little craft around an arena, collecting gems while avoiding the walls.

Screenshot from 2019 05 13 18 06

I also included a dummy saving- and loading- script in the repository, so that programs, and especially the test/example programs, may be used without showing error-messages at every attempted control-binding.

I believe that in last week's post I mentioned a short game that I had made in the hopes of getting feedback on the key-mapper. Well, with the key-mapper done, I uploaded that test-game to itch.io. If you're interested in trying it (whether for feedback or just for fun), you should find it here:
Thaumaturge-art.itch.io

And with all of that done, I moved back to work on A Door to the Mists itself. Specifically, and as shown above, I updated its key-mapper to reflect the changes that I've made: in particular, the "reset to default" button has been removed, replaced by the appropriate profile-related UI-elements.

Furthermore, I set to work on integrating the key-mapper's new functionality into the game itself. This actually went pretty smoothly, I believe! Indeed, for the first time I got to play A Door to the Mists with a controller. ^_^

(I still much prefer keyboard-and-mouse, but I like that the option is there, and that it works.)

This did incur the addition of a few extra controls to the game--specifically, one each for the four axial-directions involved in looking. (That is, up, down, left, and right.) On the plus side, adding these means that if someone decides that they want to look around via keyboard, they should be able to do that.

The only real stumbling-block is that I have a very cheap gamepad, which confuses Panda3D a little; in particular for this game, the right thumb-stick doesn't seem to report itself as Panda3D expects. However, I think that the engine-developers may have recently added some fixes for this--we'll hopefully see when the next version of the engine is released!

I will confess that I do fear that my current gamepad controls feel rather awkward in the combat mechanic. (Although it's possible that some of this is due to my inexperience with gamepads.) It's something that may call for further thought...

And over the course of the week a number of other changes and fixes were made that don't seem worth mentioning here!

Finally, I've started in on a new side-project in my off-hours. I'm currently calling it a "wandering visual novel": visual-novel mechanics embedded in a tile-based, free-roaming 3D environment, such as was used in a number of old RPGs.

I posted a short video showing my prototype, which you should find here:

And a few screenshots:

Screenshot from 2019 05 12 01 55

Screenshot from 2019 05 12 01 55 1

That then is all for this week--stay well, and thank you for reading! ^_^

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: