Visual map maker for Let Them Trade by Spaceflower, made with VueJS/Quasar.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Griefed 1c8f7dd2c2
Merge branch 'renovate-jamesives-github-pages-deploy-action-4.x' into 'main'
3 hours ago
.github chore(deps): update jamesives/github-pages-deploy-action action to v4.4.1 4 weeks ago
.run chore: Add run configurations for Jetbrains IDEs 1 year ago
CommunityMaps Whoops 1 year ago
public fix: Undo user error in public-folder. Whoops. 4 months ago
root/defaults build: Add Docker container configuration for NGINX and Dockerfile 1 year ago
src build(deps): Update dependencies and bump version to 2.3.4 1 year ago
src-electron disabled dev tools in electron prod build 1 year ago
.editorconfig Initial commit 1 year ago
.eslintignore Initial commit 1 year ago
.eslintrc.js Initial commit 1 year ago
.gitignore chore: Expand gitignore 1 year ago
.gitlab-ci.yml Update .gitlab-ci.yml file 4 months ago
.postcssrc.js Initial commit 1 year ago
Dockerfile no message 9 months ago
LICENSE chore: Add license 1 year ago
README.md no message 9 months ago
babel.config.js Initial commit 1 year ago
jsconfig.json Initial commit 1 year ago
package-lock.json chore(deps): update dependency @quasar/extras to v1.15.5 4 weeks ago
package.json chore(deps): update dependency @quasar/extras to v1.15.5 4 weeks ago
package_versions.txt build: Update installed packages in Docker container. 3 weeks ago
quasar.conf.js Electron build added 1 year ago
renovate.json ci: Move docker build to GitLab CI. Add scheduled job for Docker container package updates. Add RenovateBot config. 4 months ago
tsconfig.json Initial commit 1 year ago

README.md

banner

Homepage Blog Fleet GitHub DockerHub Discord


Sources, GitHub, GitLab and Mirroring and all that good stuff

Repositories on GitHub are now for issues only. I've set up my own installation of GitLab and moved all my repositories over to Git.Griefed.de. Make sure to check there first for the latest code before opening an issue on GitHub.

For questions, you can always join my Discord server and talk to me there.

This repository is available at:

Docker Pulls Docker Image Size (latest by date)

GitHub release (latest by date including pre-releases) GitHub

GitHub Repo stars GitHub forks GitHub contributors GitHub all releases

Screenshots

screenshot

Let Them Trade Map-Maker

ltt-mapmaker is a visual map-maker for the game Let Them Trade by Spaceflower, a german indie-gamestudio.

Using lttmm

Simply click on a button in the center of a tile and select the tile you want it to change to. Do so for the whole map. After your map looks good to you, hit the "DOWNLOAD MAP"-button in the top-right. This will generate a .json-file and download it which will contain your configuration as a Let Them Trade map.

TODOs

  • Add infobutton/box telling users how to load their maps in-game (so far only relevant for playtests) map fromfile - Opens an "Open file"-dialog

Using/Deploying lttmm

Deploying lttmm as a website

If you wish to manually deploy lttmm, download the latest lttmm-x.x.x.tar.gz or lttmm-x.x.x.zip from the Releases page and use these files to deploy it. I expect you to know how to deploy these files with NGINX or similar software, as providing a complete guide on how to do so would blow up the README.

Using the Electron App

If you wish to use Let Them Trade Map-Maker as an app, download the archive fitting to your OS from the Releases page. Currently available are macOS, Linux Ubuntu and Windows builds.

  • When using the Linux build, you may need to chmod +x the binary first.
  • When using macOS, you may need to adjust your Security preferences first and trust the app.

Docker

Docker-Compose

Create a docker-compose.yml-file in your preferred location and add the following to it after editing it to your liking:

version: '3'
services:
  ltt-mapmaker:
    image: ghcr.io/griefed/ltt-mapmaker:latest
    container_name: ltt-mapmaker
    restart: unless-stopped
    environment:
      - TZ=Europe/Berlin # Your Timezone
      - PUID=1000 # Your user ID
      - PGID=1000 # your group ID
    ports:
      - 80:80
      - 443:443

After running docker-compose up -d, lttmm will be available at localhost:80 and localhost:443.

Docker run

Run the following command, after editing it to your liking:

docker create \
  --name=ltt-mapmaker \
  -e TZ=Europe/Berlin `# Your Timezone` \
  -e PUID=1000 `# Your user ID` \
  -e PGID=1000 `# Your group ID` \
  -p 80:80 \
  -p 443:443 \
  --restart unless-stopped \
  ghcr.io/griefed/ltt-mapmaker:latest

After running the command above, lttmm will be available at localhost:80 and localhost:443.

Making changes

If you wish to make changes, simply clone this repository, install the dependencies with npm install, start the app in development mode (hot-code reloading, error reporting, etc.) with quasar dev and make your changes, lint the files npm run lint, build the app for production with quasar build.

Expanding/changing random map names

If you wish to expand/change the random name generator, edit const reticulating and/or getMapName() in the index.js.

Awesome People!

Contributors & Collaborators

Trungel
Trungel
Griefed
Griefed

Sponsors

kreezxil
Kreezxil

Bots

dependabot[bot]
dependabot[bot]
github-actions[bot]
github-actions[bot]

Other things to note