GithubHelp home page GithubHelp logo

francoisschwarzentruber / sea Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 3.57 MB

Spreadsheet engine for adventures

Home Page: https://francoisschwarzentruber.github.io/sea/

License: GNU General Public License v3.0

JavaScript 98.49% HTML 0.94% CSS 0.40% Shell 0.17%
spreadsheet adventure-game-engine phaser3 csv map-editor game libreoffice-calc ods-files

sea's Introduction

sea - Spreadsheet engine for adventures

Create your own adventure game with a spreadsheet!

Motivation

Suppose you aim at creating quickly an adventure game (let say for a birthday gift, or whatever). Instead of learning how to program, learning a new framework, learning how to use a map editor... you just use your already installed spreadsheet software (such as Libre Office Calc, Microsoft Excel, etc.). Also, easy and funny to invite many friends to collaborate for the level design.

How to use the engine

  • The map is described in the spreadsheet map.ods in the LibreOffice format. Each cell is a tile.
  • Assets are in the corresponding folder. The name of the files are XXX.png where XXX are the labels in the cells of the spreadsheet.
  • Write player in the cell where the player should start.
  • Use upper case for obstacles.
  • Lower case for regular decor.
  • Greek letters or numbers for passages (doors, etc.).
  • objXXXX for objects to collect.
  • The map can be dynamic. you can also have conditional expressions in the map.ods. For instance objFlute ? p : T means that if you have the flute, then the tile contains a p (a path let say) and otherwise a T (a tree let say)
  • Background colors in the spreadsheet correspond to an atmosphere (it changes the background color in the game but also the music)
  • and if you need special scripts, write them in script.js

Save the progression

For saving your current game session, just copy the URL. Objects and position of the player are directly stored in the URL.

Roadmap

Coming soon:

  • ennemies, at some point...

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.