Documentation
¶
Overview ¶
res is resources
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Crab = anim.SubImages(ReadEbImgFS(fs, "assets/img/crab.png"), 0, 0, 16, 9, 2, false) Icon8 = make(map[uint8]*ebiten.Image, 0) BlockCrackFrames = make(map[uint8][]*ebiten.Image, 0) BlockUnbreakable = make(map[uint8]*ebiten.Image, 0) HotbarEdge = ReadEbImgFS(fs, "assets/img/gui/hotbar_edge.png") HotbarMid = ReadEbImgFS(fs, "assets/img/gui/hotbar_mid.png") CraftingTable1x2 = ReadEbImgFS(fs, "assets/img/gui/table1x2.png") CraftingTable3x3 = ReadEbImgFS(fs, "assets/img/gui/table3x3.png") CraftingTable2x2 = ReadEbImgFS(fs, "assets/img/gui/table2x2.png") BlockBorder = ReadEbImgFS(fs, "assets/img/gui/block_border.png") SlotBorder = ReadEbImgFS(fs, "assets/img/gui/slot_border.png") Font = LoadFontFromFS("assets/font/arkpixel10.ttf", 10, fs) )
View Source
var ( Player = ReadEbImgFS(fs, "assets/img/player/player.png") PlayerWoodenAxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_wood_axe.png") PlayerStoneAxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_stone_axe.png") PlayerIronAxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_iron_axe.png") PlayerDiamondAxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_diamond_axe.png") PlayerWoodenPickaxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_wood_pickaxe.png") PlayerStonePickaxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_stone_pickaxe.png") PlayerIronPickaxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_iron_pickaxe.png") PlayerDiamondPickaxeAtlas = ReadEbImgFS(fs, "assets/img/player/player_diamond_pickaxe.png") PlayerWoodenShovelAtlas = ReadEbImgFS(fs, "assets/img/player/player_wood_shovel.png") PlayerStoneShovelAtlas = ReadEbImgFS(fs, "assets/img/player/player_stone_shovel.png") PlayerIronShovelAtlas = ReadEbImgFS(fs, "assets/img/player/player_iron_shovel.png") PlayerDiamondShovelAtlas = ReadEbImgFS(fs, "assets/img/player/player_diamond_shovel.png") )
Functions ¶
func LoadFontFromFS ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.