Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/529124368/golang_ebiten_game_demo
/ functions
Functions
21 in github.com/529124368/golang_ebiten_game_demo
⨍
Functions
21
◇
Types & classes
5
↓ 8 callers
Method
SetPlayerState
set state
role/player.go:91
↓ 4 callers
Function
GetImageFromPlist
read images from plist
tools/tool.go:52
↓ 3 callers
Method
GetAnimator
(flg, name string)
role/player.go:106
↓ 3 callers
Function
GetEbitenImage
read images from bytes
tools/tool.go:43
↓ 2 callers
Function
CaluteDir
(x, y, x_tar, y_tar int64)
tools/tool.go:13
↓ 1 callers
Method
LoadImages
()
role/player.go:44
↓ 1 callers
Method
LoadMap
load images
maps/mapBase.go:26
↓ 1 callers
Function
NewGame
factory
main.go:62
↓ 1 callers
Function
NewMap
init
maps/mapBase.go:18
↓ 1 callers
Function
NewPlayer
(x, y float64, state, dir, mx, my int, images *embed.FS)
role/player.go:31
↓ 1 callers
Method
loadSkillImages
(name string)
role/player.go:80
Method
Attack
TODO
role/monster.go:26
Method
Attack
TODO
role/player.go:97
Method
DeadEvent
TODO
role/monster.go:21
Method
DeadEvent
TODO
role/player.go:102
Method
Draw
(screen *ebiten.Image)
main.go:248
Method
Layout
(outsideWidth, outsideHeight int)
main.go:316
Function
NewMonster
(x, y float64, state, dir int)
role/monster.go:10
Method
Update
()
main.go:122
Function
init
()
main.go:75
Function
main
()
main.go:320