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 paulh

Hi All

I've managed to get the ios version compiling and working on both a device and the emulators however im struggling to get any of the other demo games working (or my own).

Could somebody please let me know what i should be doing? Presently ive tried deleting/overwriting all the game files/media files and tried swapping trough the different impact folders?

I also added

// require all ios plugins for compatability
	'plugins.ios.ios'

 this.backgroundMaps[i].chunkSize = 256;


Im also deleting the app from the pad/phone when recompiling.

to clarify, the projects compile but stick on the impact (preloading?) screen.

Since the demo app compiles with the latest impact i can also discount that, which leads me to think its something daft im missing?

Any thoughts, suggestions or ideas would be of great help!

1 decade ago by Arantor

Did you try running it in the phone simulator with debug turned on? Normally pretty good about telling you what went wrong...

1 decade ago by paulh

this is the error from the debug/analyzer:

2012-01-13 15:41:32.800 iOSImpact[28526:207] TypeError: 'undefined' is not an object (evaluating 'ig.$('body')[0]') at line 43 in lib/impact/debug/menu.js

2012-01-13 15:41:32.812 iOSImpact[28526:207] TypeError: 'null' is not an object (evaluating 'ig.debug.addPanel') at line 100 in lib/impact/debug/entities-panel.js

1 decade ago by Arantor

Take out impact.debug.debug as a requirement in your core code. iOSImpact doesn't support Impact's debugger (since there's no HTML DOM to work with)

1 decade ago by Montana

wrong thread!

sry

1 decade ago by paulh

Thanks Arantor,that sorted it.
Page 1 of 1
« first « previous next › last »