1 decade ago by FunnyFunk91
Hey I just got impact today and had a look at the examples that came with it and decided to try something myself. As soon as I created my own project, I ran into a road block with creating a player entity. The error I am getting is EntityPlayer is undefined.
I can't see whats wrong with the syntax. Am I missing something blatantly obvious here?
ig.module(
'game.entities.player'
)
.requires(
'impact.entity'
)
.defines(function() {
EntityPlayer = ig.Entity.extend({
});
});
I can't see whats wrong with the syntax. Am I missing something blatantly obvious here?
