Giter Site home page Giter Site logo

fyrevmweb-react's People

Contributors

chicagodave avatar nijotz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fyrevmweb-react's Issues

Request: Base64 loading like Parchment supports

I've never worked with TypeScript, so this isn't really pull-request quality. However, I did hack a change in, you are welcome to the source code: BroadcastGames@9e67fdc

I was able to use

  parchment/game2js.py --giload CloakofDarkness.ulx

Paste the relevant output into a javascript var named gameDataBase64, and call

  manager.LoadStoryBase64(gameDataBase64);

Seems to work. This allowed me to run without a web server and now use file:/// references to the index.html

Rebuild Correctly

The current code is too invasive and not loosely-coupled. It needs to be redesigned to retain fyrevm-web as a separate library from this code.

suggest 'getting started' doc or part of README

Hi. Thank you for sharing and open sourcing your work. Not sure where to start, but here goes.

I did a git checkout. The Cloak/index.html seems to want FyreVMWeb.js - so trying to compile it.

  1. cd fyrevm-web/projects/Cloak of Darkness/javascript

  2. tsc FyreVMWeb.ts
    produces errors for me:

    glulx-typescript/Output.ts(79,7): error TS2341: Property 'image' is private and only accessible within class 'Engine'.

I also note that

projects/stop-the-ifpress.fyrevm/FyreVMWeb.ts
projects/Cloak of Darkness/javascript/FyreVMWeb.ts 

Are not the same. I'm sure more questions coming. Just wanted to get the ball rolling. Thank you again.

Consideration: Engine should not return undefined for main channels?

Maybe it's a good idea to change the specifications / docs on the engine so it doesn't return undefined for things like "mainContent" and would return empty string instead? That way it's just empty or populated and no need to have a third state of undefined.

Take it as a suggestion / discussion point.

Status Time output "Time: 17:-2 " value on testing Damnatio Memoriae

Start with this game's Inform source, add the 3 Includes for FyreVM https://github.com/I7-Standard-Examples/Damnatio

This game works very well on fyrevm-web, Inform 7 generates a solution.txt you can use as a walkthrough. However, I observe that the formatting of the Time: on the Status is nonsensical. Some work on the engine's output or the HTML formatting/presentation?

Or, is that Time output something unique to Cloak of Darkness (which I'm using the index.html from) as an artifact? As there is no Time when you run Damnatio Memoriae from within Inform 7's interpreter/VM.

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.