Coder Social home page Coder Social logo

Comments (4)

noahgibbs avatar noahgibbs commented on September 28, 2024

Ah, hey, I should have talked to you about this. You know the whole "SkotOS is the library, separate from the game" thing? I've been doing more of that, and there will only be more in the future.

So: try cloning https://github.com/ChatTheatre/gables_game and running the local setup script. That should give you a functional SkotOS game. It's possible to do this all with "just" SkotOS by setting GAME_ROOT, but the plan is for it to become impossible in the future.

(If you run the script from gables_game it should set GAME_ROOT for you automatically.)

from skotos.

saraht45 avatar saraht45 commented on September 28, 2024

Gotcha. I do remember reading that in the VPS setup guide. I'll give that a shot. Will this still allow me to make changes on my machine and submit those changes back to SkotOS (as I'm updating links as we previously discussed)?

from skotos.

noahgibbs avatar noahgibbs commented on September 28, 2024

Oh, hey, that will complicate that a bit ("yes, but...").

So: the way the new game-and-library architecture works is that the game assembles a directory called ".root" under its own directory. That directory is made from the SkotOS library, with the game's own override files copied over. So: in the finished, running game the ".root" directory works like you're used to "skoot" working. So in gables_game, the stuff under the root directory (https://github.com/ChatTheatre/gables_game/tree/master/root) will override any file with the same name in SkotOS. That's how we handle things like the game getting its own Theatre object.

If you make changes to files under .root, that will be great for testing them. You can then copy the finished files, when they work, into the SkotOS repo under "skoot" and make a pull request. There are several other ways you can do it - let me know if this one isn't your favourite.

from skotos.

noahgibbs avatar noahgibbs commented on September 28, 2024

Sounds like this is working better now that you're using gables_game. I'll close this.

from skotos.

Related Issues (20)

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.