GithubHelp home page GithubHelp logo

Comments (7)

 avatar commented on June 27, 2024 1

@thoughton The wiki contains info about building and running the games. The api documentation is incomplete but the engine source appears to be quite clean and easy to understand (at least the parts I've read).

from halley-template.

 avatar commented on June 27, 2024

@owend Replace the body of initResourceLocator with this:

locator.addFileSystem(unpackedAssetsPath);

from halley-template.

thoughton avatar thoughton commented on June 27, 2024

I've run into the same issue (on Ubuntu 18.04).

Trying the above suggestion resulted in a different error:

Unhandled exception: Unable to load assets.

This might be a silly question... but are there even meant to be any loadable assets as part of this template?

from halley-template.

 avatar commented on June 27, 2024

@thoughton did you run the halley-cmd tool over your sources?

As for your question, halley is a source based library. You just plug-in the source in your game project and start using this library. And it happens that halley itself needs a minimal amount of assets (included in the halley repo) for it to work. You need to import those assets with halley-cmd tool.

In my case the problem was that the tool was collecting the assets in assets_unpacked folder, but wasn't packaging them in a dat file.

from halley-template.

thoughton avatar thoughton commented on June 27, 2024

Ah right, no I hadn't run halley-cmd - in fact I didn't realise it even existed, as the Tools weren't building for me due to an issue with Yaml-cpp... but that's sorted now at least.

So I now have the halley-cmd and can successfully import the project's assets. I'm still not entirely sure what the overall workflow should be, but this probably isn't the place to dicsuss that. :)

from halley-template.

thoughton avatar thoughton commented on June 27, 2024

@sagartewari01 Oh I hadn't seen the wiki - thanks!

from halley-template.

brandc87 avatar brandc87 commented on June 27, 2024

You need to run halley-cmd pack asset-manifest.yaml /dir/to/proj /dir/to/halley after right? Unless you replace the locator to the unpacked path as @sagartewari01 said

Also just noticed you can add encryption keys to the YAML which is pretty cool for packing assets when it comes to release :)

from halley-template.

Related Issues (3)

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.