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 stahlmanDesign

OK I figured out how to bake but it wasn't completely clear in the Impact Docs.

In the terminal you have to change directory to tools before you run the bake.sh script.

I know the docs say that but don't explain how.

In the terminal I had to type

cd Sites/myGame/tools

And then I could drag bake.sh into the terminal and press return to run it.

1 decade ago by stahlmanDesign

I baked another game and it had a bunch of errors, but still seems to work fine.

It looks like every module had an error in the Terminal. What does it mean? Here's an example of a few lines of error messages :

Undefined index: lib/impact/font.js in /Users/stahlman/Sites/impact/ea04/tools/bake.php on line 73
loading lib/impact/font.js 
PHP Notice:  Undefined index: lib/impact/sound.js in /Users/stahlman/Sites/impact/ea04/tools/bake.php on line 73
loading lib/impact/sound.js 
PHP Notice:  Undefined offset: 3 in /Users/stahlman/Sites/impact/ea04/tools/bake.php on line 121
PHP Notice:  Undefined index: lib/impact/system.js in /Users/stahlman/Sites/impact/ea04/tools/bake.php on line 73
loading lib/impact/system.js 

1 decade ago by Jerczu

Yeah I wouldn't worry too much I get the same with my game and it works great.

1 decade ago by dominic

These are PHP notices, not warnings or errors. It's save to ignore these. I will add some additional checks in the next versions to prevent those messages though. Thanks for letting me know!

In PHP 4 and PHP 5 the default value is E_ALL & ~E_NOTICE. This setting does not show E_NOTICE level errors. You may want to show them during development.

~ http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
Page 1 of 1
« first « previous next › last »