kittykatattack / hexi

Make games the fun way!
MIT License
551 stars 83 forks source link

Examples still maintained? #18

Open xetra11 opened 7 years ago

xetra11 commented 7 years ago

Hello there!

I recently cloned the project incl. the examples to test them out. First of all I was not aware that the modules were actually git submodules - maybe you could tell how to install this as well?

However I started the Quick Start example and it got stuck at the loading screen. I cloned pixi.js already to the modules folder. The other examples all broke due other error messages.

I skip the part of adding the error messages here. First of all I just want to ask if the examples are still maintained?

Looking forward to work with Hexi!

greets Charlie

icarito commented 7 years ago

Hi I am another user. All examples I tried worked, but they look for modules in the wrong locations. I fixed it in my location by using symlinks but a patch would be good...

kittykatattack commented 7 years ago

@icarito Could you let us know how you fixed that? I remember having a problem with those links a while back - I thought I'd fixed them but I probably didn't.

☠️ Git! ☠️

Sempervirens256 commented 7 years ago

Hi, @xetra11 to run the examples i just modified the respective html file to link Hexi from the Hexi.min.js file instead of the core.js, pixi.js and modules.js and it works fine so far, hope that helps.

jdunwoody commented 6 years ago

Hello. Here's my experience trying the examples:

  1. I checked out master on the root project and got the submodules like so: git clone --recursive -j8 git@github.com:kittykatattack/hexi.git

  2. error: Server does not allow request for unadvertised object 6e58d07724cfcfde3d4f547accdecfd0a7dea447 Fetched in submodule path 'src/modules/bump', but it did not contain 6e58d07724cfcfde3d4f547accdecfd0a7dea447. Direct fetching of that commit failed.

  3. Since I wasn't able to get the submodules that way, I did the following: git submodule update --recursive --remote

  4. After starting a web server, I get a 404 when trying http://localhost:3000/examples/02_helloWorld.html

404: http://localhost:3000/src/modules/pixi.js/bin/pixi.js

It also looks like the submodules the are checked out don't match what the examples suggest. There is no bin directory etc.

As suggested in a previous comment, changing the contents of 02_helloWorld.html works if you reference the hexi.min.js rather than pixi.js, modules.js and core.js

kittykatattack commented 6 years ago

Something is definitely messed up here. I don't know if I have enough Git experience to fully grok this - can anyone help with a fix?