Separate sprites into their own files

This commit is contained in:
2026-02-25 15:33:00 -03:00
parent 8867e36489
commit 36fc3869a2
54 changed files with 143 additions and 16 deletions
+4 -1
View File
@@ -32,7 +32,10 @@ export function create_player() {
// TODO: actual player ids
player.add(new PlayerInventory(player.id));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:pickaxe", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:bomb", 5));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:sword", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:axe", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:hoe", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:watering_can", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:bomb", 64));
player.add(new Camera(-100, -100));
return player;