Comments (7)
@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.
@owend Replace the body of initResourceLocator
with this:
locator.addFileSystem(unpackedAssetsPath);
from halley-template.
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.
@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.
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.
@sagartewari01 Oh I hadn't seen the wiki - thanks!
from halley-template.
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)
- README.md HOT 6
- GitHub Template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halley-template.