Thank you very much Samme, sorry to ask another question as i feel im missing something obvious.
When i use group.create on my physics group, like so
this.enemy = this.enemies.create({
x: 100,
y: 100,
key: ‘enemySprites’,
frame: 0,
active: true,
visible: true
});
Nothing happens?
this.enemy = this.enemies.create(100, 100, ‘enemySprites’);
The above does not work either
EDIT: this.enemy returns undefined
EDIT: Nevermind im an idiot, thanks for the help Samme