Hey impact users,
I'm trying to use impact with node.js using node-impact and I've got everything running except for the Entity list in WeltMeister?! I'm following through the pong tutorial and I'm stuck at the last point!
Has anyone got any tips on what I might be doing wrong?
Many thanks,
Alex
PS. I've also opened up the test.js level from the jump and run demo and I can't see an entity list in there either! Also there are no error messages in the developer console or in the node.js server output.
Help!
Thank you!
Out of interest, browser and operating system?
OSX and Chrome. :( Sad Alex.
I installed xampp too and everything works fine there but I'd really like to be able to use node for other reasons.
That's pretty strange. Are you sure it's node that's messing it up?
Try having a regular demo and see if that works without the node-extras stuff.
Yeah, I'm pretty sure. I copied the whole impact project into an xampp folder and it runs fine from there. I dunno - the impact-node extension is pretty old now.
1 decade ago
by MikeL
Are you trying to run Weltmeister through node.js? I'm not sure that it works. It might be necessary to edit levels using one of the recommended servers and then test the game using node.js.
Yeah, The node-impact package seems to have the correct routes for Weltmeister but they don't appear to be working. I'm going to learn some more javascript and see if I can fix the problem.
I am running impact via the standard apache2 download that comes from apt-get in ubuntu 10.04 and can get the normal game page plus the weltmeister pages, but I am getting the same thing as alex was, no entities, and can not create layers.
I am also following the pong tutorial, and created the entities, confirmed they are in the correct place on my www root...any ideas?
I tried to open this in Firefox 3.6.17 as well as latest chrome (11.0.696.71)
Are there any other security settings I may need to have setup for apache to serve the javascript needed, maybe?
1 decade ago
by MikeL
@thagrasshoppa: Did you check the error console to see if any errors are popping up? Proabably easiest to do on Chrome.
Uncaught TypeError: Cannot call method 'extend' of undefined
impact.js:213Uncaught Failed to load module impact.entities.paddle at lib/impact/entities/paddle.js required from game.entities.paddle-cpu
impact.js:213Uncaught Failed to load module impact.entities.puck at lib/impact/entities/puck.js required from game.entities.paddle-cpu
It seems like it doesn't like where the files are in the www root...I tried moving them around and changing the references to them in the individual .js files, but always get some variation of these errors...
I am wondering if when it says lib/bla/bla does it refer to internal hierarchy, or the webserver/file system one???
Page 1 of 1
« first
« previous
next ›
last »