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 dmen

Do this all the time... can't figure out why I'm getting an error now. In my entity I do this:

ig.game.btnA();

in my game class I have:

btnA: function(){
},

I get this when I do the ig.game.btnA():
Uncaught TypeError: Property 'btnA' of object #<Class> is not a function

1 decade ago by dmen

I love how you try and figure something out for an hour, and then you finally post a question... and then poof you see the problem.

I had an entity also named btnA in the game class. My bad.
Page 1 of 1
« first « previous next › last »