Closed ThomasDavisA closed 2 years ago
Tried to test this locally and ran into some issues.
koboldList.forEach(data => {
const newUser = addNewKobold(data, Y_AXIS_LOWER_BOUND, Y_AXIS_UPPER_BOUND, X_AXIS_LOWER_BOUND, X_AXIS_UPPER_BOUND);
app.stage.addChild(newUser.koboldPlate);
newUser.chatBubble = new ChatBubble(app.stage);
})
Other than the two issues mentioned above, everything else looks good.
Closing due to newer pull request merge.
I did a bit more when I probably should have separated this out, so apologies to this.
Kobold sprites and their names are contained in a Kobold Plate now. This allows me to keep the names under kobolds as they move about on screen. Y axis movement has been implemented, as well as the kobolds spawning in random locations.
Kobolds have been split into their own file as well.