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

9 years ago by MikeW

I am an experienced programmer - but new to Impact - like what I have seen so far. Adding the code for my first entity and weltmeister won't load.

My code is

ig.module(
'games.entities.car'
)
.requires(
'impact.entity'
)
.defines(function (){
EntityCar = ig.Entity.extend({
animSheet: new ig.AnimationSheet('media/carsml.png',49,49),
flip:false

})


})

Which is pretty basic - so am I missing something the console output is

14:22:10.541 uncaught exception: Unresolved (or circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules or a previous syntax error prevents a module from loading:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)
weltmeister.entities (requires: game.entities.car)1 <unknown>

Thanks

9 years ago by MikeW

Fixed it not sure what I did
Page 1 of 1
« first « previous next › last »