Coder Social home page Coder Social logo

maparoni-n-cheese's Introduction

maparoni-n-cheese

Description

A map maker, random or custom or combined.

maparoni-n-cheese is a basic 2D map maker (think treasure map but not treasure just map). Maps can be made manually throug the placement of map objects using the mouse (or possibly touchscreen if available) or they can be randomly generated using a Voronoi diagram. Combinations of both are allowed!

How to run it

Simply open up the main file called (you guessed it!) maparoni-n-cheese. Run it in your favorite text editor, or straight with Python3 (note: the pyglet module MUST be installed for it to work). Two sample files ("30 seed map save.txt" and "70 seed map save.txt") are included and can be opened for an example of 2 randomly-generated maps (one with, well, 30 seeds, and the other with 70 :P). These files can be edited manually via changing text (but be sure to follow the same format inside them) and then re-loaded to move things around (not recommended --> pretty tedious tbh and it's way easier just using the program).

Required libraries

pyglet is a MUST, and tkinter is needed for file saving/loading, but tkinter can be ignored if file io isn't desired (may need to edit the imports if this is the path you desire).

Shortcut commands

Notable shortcuts are:

  • s --> switch between visualizing the random map generation (looks really cool when it's enabled) and just going for it quick as ya can (less recommended because it doesn't look cool, but is probably more efficient/less recourse intesive)
  • delete --> IF a map object is selected, delete will delete it.
  • escape --> quickly switch back to the select tool instead of having to move that pesky mouse to the gui and back <>{

maparoni-n-cheese's People

Contributors

kcmw3e avatar

Stargazers

 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.