Giter VIP home page Giter VIP logo

maitreya's Introduction

maitreya.aic

What is it?

An interactive SCP story.

This repository contains compiled builds which are available here:

Building

In order to build Maitreya from source you will need Git, Node.js and Gulp.js installed.

git clone https://github.com/rossjrw/maitreya.git
cd maitreya
npm install
gulp
xdg-open dist/index.html

This will compile and open Maitreya in a browser.

index.html provides a resizable iframe for testing different screen sizes, which contains maitreya.html. maitreya.html is the content of the article, and fills the iframe if accessed through index.html or the Wikidot page, or the whole screen if accessed by itself.

src/js/LoopService.coffee is a file generated by a spreadsheet on Google Sheets. Please contact me if you require access to this spreadsheet (it will be very useful for translations).

License

Code: GPL; content: CC-BY SA 3.0

maitreya's People

Contributors

rossjrw avatar

Stargazers

 avatar

Watchers

 avatar

maitreya's Issues

frame around fullscreen

Annotation 2020-03-30 134005

  • window occupies slightly smaller region with drop shadow
  • simple geometric background - possibly stripes or diagonal blue strip? maybe remove some of the colour from the interface (eg blue->white header) and move to background) (desktop only ofc)
  • simple, clean pattern in the background. might come off as too cartoonish, though, I want this to look at least sort of generated and not custom.

Requirements for the new game engine

Per #35, the new game engine will have events defined by a static TOML file or files. The old game engine (LoopService.js) was not static, allowing me to pass arbitrary functions for each event to do whatever I want; this will no longer be possible. Each possible side effect must be documented and implemented specifically. So, what needs to be possible?

  • Each interaction must have introductory dialogue and a set of options.
  • Choosing an option should initiate another interaction.
  • It should be possible to skip the options and proceed directly to a default interaction under some condition.
  • Options should be able to be toggled on or off given some condition.
  • Individual lines of text, and even groups of several lines, should be able to be toggled on or off given some condition.
  • Any "some condition" should be able to access the game state to check for pretty much anything. (what is 'anything'? is it feasible to codify each possibility?)
  • The event files must be read-writable so that I can make a UI to easily add new ones.
  • It should be possible to generate a tree mapping all interactions together.
  • It should be possible to find orphaned/wanted/tail interactions.
  • It should be possible for options to appear during the text of an interaction, or otherwise produce an indistinguishable effect, that allows an option to be selected that will cancel and interrupt the current interaction and begin a new one.
  • It should be possible for option selection to be interrupted, e.g. by a character growing impatient if time is running.

isolate aiad logo from options background to own element

currently both the logo and the gradient are set via style, which means that the gradient can't be changed for desktop

logo should be isolated to its own element

this would also facilitate advanced animations to be applied to it

Make display responsive

mobile

  • lose the textbox completely

window

desktop

  • get bigger, thicker, longer slide-arrows
  • make text size much bigger
  • whitespace out the wazoo
  • people on left with pfp, options on right

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.