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

9 years ago by Manic

I get an issue with "The following entity classes were not loaded due to file and class name mismatches. lib/game/entities/cursor.js (Expected name: EntityCursor)"

Here's my EntityCursor header:

ig.module('game.entities.cursor').requires('impact.entity').defines(function() {
	EntityCursor = ig.Entity.extend({

Am I doing something really dumb, or is this an issue with Weltmeister? I've had the cursor entity around for a while, but Weltmeister didn't report it until tonight.

9 years ago by Jackolantern

I am having a similar situation. No idea why Weltmeister is not loading my player class:

    EntityPlayer = ig.Entity.extend({

And it is stored in a file called player.js inside the lib/game/entities. But Weltmeister, upon loading, says there is a file and class name mismatch, and it is expecting name: EntityPlayer. But that appears that is what I have written.

Is there anything else that can trigger the name mismatch error in WM?

9 years ago by Jackolantern

I figured out what was wrong with my file. I had simply forgotten to put COLLIDES in all caps lol.

9 years ago by Manic

Never mind--I was using the EntityType plugin and it was messing up an entity that used it. I just included the plugin in weltmeister.js and it works great!
Page 1 of 1
« first « previous next › last »