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 ITCmathclass

So we have been using Weltmeister and today out of nowhere it stopped working. when we load the screen off of the link in the getting started link on the impact website it will come up but we can not load or save or add layers. As far as I know nothing has changed in the computers at all other than a couple of windows updates. We are using xampp as the getting started guide suggests. Does anybody have any ideas on what we can do ?

1 decade ago by Kxen

Have you checked the browser's console for any errors?

1 decade ago by ITCmathclass

I am getting two errors

Uncaught SyntaxError: Unexpected end of input

Uncaught Unresolved (circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules:

weltmeister.weltmeister (requires:weltmeister.edit-entities)
welmeister.edit-entities (requires: weltmeister.entities)
weltmeister.entities (requires: game.entities.test)

1 decade ago by Kxen

It should say what line the SyntaxError is. You probably have forgot to add a } somewhere or something like that.

I think the second error is a consequence of the first one but if not it may be due to things like two entities with the same name (not the file name but the actual class name, easily happens when you are creating a new entity by copying another file and rename it).

1 decade ago by yatayata

one thing is that weltmeister will load all of your entities, as it doesn't know what you're going to add to a level. so even work in progress files in the directory will get sucked in and parsed.

you can work through this by playing your game and seeing which level you get stuck loading on.

BUT:

> Uncaught SyntaxError: Unexpected end of input
these type of errors are best caught with your editor. javascript is ugly as hell for matching braces. i'd suggest jslint, which you can install into emacs, or many of the other editors out there - i think dom is using komodo lite.

you could also use node.js and just run your single file through there and it will catch any errors.

or use coffeescript :)

1 decade ago by ITCmathclass

Thank you, one of the students put a half made entity in the folder
Page 1 of 1
« first « previous next › last »