Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Husten

hi,

i m finished my project, everthing works fine. now i tried to bake it :)

the bakingscript works fine, and i see in the game.min.js every file from the lib-folder. so i include only this new file and not impact.js and main.js

everthing works fine, but when i delete the lib-folder, i get errors. i checked with firebug, and i can see, that the game still trys to include the files in the lib-folder.

any ideas?

1 decade ago by dominic

You have to modify the index.html file to load the game.min.js instead of the files from the lib/ directory.

So instead of :
<script type="text/javascript" src="lib/impact/impact.js"></script>
<script type="text/javascript" src="lib/game/main.js"></script>

You need this:
<script type="text/javascript" src="game.min.js"></script>

1 decade ago by Husten

i did this. i only include the game.min.js, not the other files anymore. its magic :)

1 decade ago by tinsh

Could you leave a url of your game?
Page 1 of 1
« first « previous next › last »