Many times while creating a game, I accidentally add a kind. How can I remove it?
3 Likes
I might be wrong, but you have to go into the JS bit, and at the top of the main.js file, the classes are being created. You might have to delete that line.
You have to go into JS mode:
- Search for the
namespace SpriteKind {
code - Remove which sprite kind you want to delete.
So:
Becomes:
But you may get errors such asProperty 'Thingamabob' does not exist on type 'typeof SpriteKind'
. Then replaceSpriteKind.Thingamabob
with whichever kind you want, such as Player or Enemy.
1 Like