Giter Club home page Giter Club logo

pymapgen's Introduction

PyMapGen 0.2.7b for Python 3.11

PyMapGen is a Python 3.11 program for viewing Traveller RPG stellar maps. Of course, it's a much smaller project than what's going on over at https://github.com/inexorabletash/travellermap

images/mapgen_cover_art.png

The Traveller game in all forms is owned by Far Future Enterprises. Copyright 1977 - 2024 Far Future Enterprises. Traveller is a registered trademark of Far Future Enterprises.

images/video.png
images/mapgen_screen1.png
images/mapgen_screen2.png
images/mapgen_screen3.png
images/mapgen_screen4.png

Requirements

  • Windows 11

    It has been tested on Windows 10.

  • Python 3.11

    This code was written using the C implementation of Python version 3.11. Also known as CPython.

  • pyttsx3 2.90

    PyMapGen speaks in Zira's voice (her voice comes with Windows). Can be changed to a different voice in the source.

  • pygame 2.4.0

    PyGame is used to draw the maps. It's basically a Python wrapper for SDL 2.26.4, which PyGame includes.

Usage

Click on a sector to center it.

Dragging a sector (or pressing the arrow keys) will scroll the map.

The mouse wheel will zoom the map in and out while pointing.

Pressing 0 will mute the computer's voice.

Pressing 1 - 9 will choose the computer's voice shown in the list.

Pressing h will flip to a hex map(s) at different zoom levels.

Pressing r will flip to a rectangle map.

Pressing c will toggle solid/clear travel zones while zoomed in.

Pressing z will toggle circle/hex/rectangle travel zones while zoomed in.

Pressing t will toggle world UWP/TC while zoomed in.

Pressing l will toggle the world system locations on/off.

Pressing g will toggle the hex/rectangle grid on/off.

Pressing ESC will exit the program.

Things To-Do

Printing a PDF from the screen.
Remove clipping at bottom of subsectors.
Add more world types.
Add trade routes.
Instruction manual.
Cheat codes.

Known History

  • v0.2.7b

    Displays subsector names.

  • v0.2.6b

    Searches for computer voices and displays their names in a list to choose from.

  • v0.2.5b

    Updated to Python 3.11.0.

  • v0.2.2b

    Desert, Agricultural, and Barren worlds are better displayed.

  • v0.2.1b

    Compatible with pygame 2.1.2.

  • v0.2.0b

    Removed requirement for colorama.

  • v0.1.0b

    A differentiation has now been made between barren and dieback worlds.

  • v0.0.8b

    Fixed the blue Allegiances.

    Removed 3rd-party voices.

Contact

Questions? Please contact [email protected]

pymapgen's People

Contributors

shawndriscoll avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.