Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KorokEngine/Korok
/ functions
Functions
1,776 in github.com/KorokEngine/Korok
⨍
Functions
1,776
◇
Types & classes
332
Function
NewBufferPlayer
()
audio/sine/sine.go:30
Method
NewComp
(entity engi.Entity)
gfx/visibility.go:40
Method
NewComp
(entity engi.Entity)
anim/frame/frame.go:93
Method
NewCompX
New SpriteComp with parameter
gfx/sprite.go:123
Function
NewContext
NewContext takes an HTML5 canvas object and optional context attributes. If an error is returned it means you won't have access to WebGL functionality
webav/webgl.go:353
Function
NewDecoder
(name string)
audio/wav/decoder.go:219
Method
NewDecoder
(name string, fileType sine.FileType)
audio/decoder.go:14
Function
NewDrawList
()
gui/drawing.go:96
Function
NewEngine
()
anim/frame/anim.go:30
Function
NewEngine
()
anim/ween/anim.go:107
Function
NewExplosionSimulator
(cap int)
effect/sim_explosion.go:33
Function
NewFlipbookTable
(cap int)
anim/frame/frame.go:86
Function
NewFountainSimulator
(cap int)
effect/sim_fountain.go:37
Function
NewInputSystem
()
hid/input/input.go:56
Function
NewMeshRender
(vsh, fsh string)
gfx/mesh_render.go:26
Function
NewRenderSystem
()
gfx/render_system.go:155
Function
NewSimulationSystem
()
effect/simulate.go:257
Function
NewSkeleton
(skeletonData *SkeletonData)
anim/spine/skeleton.go:70
Function
NewSnowSimulator
(cap int, w, h float32)
effect/sim_snow.go:32
Function
NewSoundPool
()
audio/sine/sine.go:40
Function
NewStreamPlayer
()
audio/sine/sine.go:35
Function
NewTTFConfig
(size int, runes []rune)
gfx/font/config.go:56
Function
NewTex
(id uint16)
gfx/R.go:58
Function
NewVorbisDecoder
(name string)
audio/ogg/decoder_vorbis.go:105
Method
Norm
()
math/f32/vector.go:33
Method
NumOfChan
()
audio/wav/decoder.go:191
Method
NumOfChan
()
audio/ogg/decoder_vorbis.go:27
Function
OfColor
OfColor returns a Animator that animates between gfx.Color values.
anim/ween_basic.go:86
Function
OfFloat
OfFloat returns a Animator that animates between float values.
anim/ween_basic.go:50
Function
OfVec2
OfVec2 returns a Animator that animates between f32.Vec2 values.
anim/ween_basic.go:68
Function
Offset
Offset move the ui coordinate's origin by (dx, dy)
gui/gui.go:69
Method
Offset
(dx, dy float32)
gui/gui_lib.go:53
Method
Offset
(dx, dy float32)
gui/auto/layout.go:159
Method
OnCreate
window callback
game/game.go:103
Method
OnDestroy
()
game/game.go:111
Method
OnFocusChanged
(focused bool)
game/game.go:123
Method
OnKeyEvent
input callback
game/game.go:132
Method
OnLoop
()
game/game.go:107
Method
OnPause
()
game/game.go:115
Method
OnPointEvent
(key int, pressed bool, x, y float32)
game/game.go:136
Method
OnResize
(w, h int32)
game/game.go:140
Method
OnResume
()
game/game.go:119
Function
Open
Open opens a named asset. Errors are of type *os.PathError. This must not be called from init when used in android apps.
asset/res/res_local.go:14
Function
Open
Open opens a named asset.
asset/res/res_webgl.go:13
Function
Open
Open opens a named asset.
asset/res/res_file.go:10
Function
Ortho2D
Equivalent to Ortho with the near and far planes being -1 and 1, respectively
math/f32/project.go:14
Function
OutBack
(t float64)
math/ease/back.go:8
Function
OutCirc
(t float64)
math/ease/circle.go:9
Function
OutCubic
(t float64)
math/ease/cubic.go:8
Function
OutElastic
(t float64)
math/ease/elastic.go:9
Function
OutExpo
(t float64)
math/ease/expo.go:13
Function
OutQuad
(t float64)
math/ease/quad.go:8
Function
OutQuart
(t float64)
math/ease/quart.go:8
Function
OutQuint
(t float64)
math/ease/quint.go:7
Function
OutSine
(t float64)
math/ease/sine.go:9
Function
OutSquare
(t float64)
math/ease/ease.go:18
Function
PMAColor
PMAColor returns a pre-multiplied alpha Color.
gfx/data.go:40
Function
PMAColorf
(r, g, b, a float32)
gfx/data.go:50
Method
PathLineToMergeDuplicate
(pos f32.Vec2)
gui/drawing.go:148
Method
Pause
()
game/fps.go:55
Method
Pause
()
audio/sine/bk_al.go:246
Method
Pause
()
audio/sine/bk_al.go:315
Method
Pause
()
audio/sine/bk_windows.go:424
Method
Pause
()
audio/sine/bk_windows.go:517
Method
Pause
()
audio/sine/bk_webgl.go:262
Method
Pause
()
audio/sine/bk_webgl.go:355
Method
Pause
()
audio/sine/bk_sl.go:404
Method
Pause
()
audio/sine/bk_sl.go:495
Method
Pause
()
anim/frame/frame.go:43
Function
PauseEffect
(cid ChanId)
audio/audio.go:72
Function
PauseMusic
()
audio/audio.go:46
Method
Peek
()
game/scene.go:104
Function
Perspective
(fovy, aspect, near, far float32)
math/f32/project.go:18
Method
PixelStorei
Sets pixel storage modes for readPixels and unpacking of textures with texImage2D and texSubImage2D.
webav/webgl.go:868
Method
Play
(data *StaticData)
audio/sine/bk_al.go:234
Method
Play
(stream *StreamData)
audio/sine/bk_al.go:293
Method
Play
(data *StaticData)
audio/sine/bk_windows.go:393
Method
Play
(stream *StreamData)
audio/sine/bk_windows.go:461
Method
Play
(id uint16, priority int)
audio/sine/pool.go:78
Method
Play
(data *StaticData)
audio/sine/bk_webgl.go:232
Method
Play
(stream *StreamData)
audio/sine/bk_webgl.go:299
Method
Play
(d *StaticData)
audio/sine/bk_sl.go:390
Method
Play
(d *StreamData)
audio/sine/bk_sl.go:474
Method
Play
(name string)
anim/frame/frame.go:30
Method
Play
()
effect/particle.go:42
Method
Play
()
effect/simulate.go:156
Function
PlayEffect
Effect ////////////////////
audio/audio.go:68
Function
PlayMusic
Music ////////////////////
audio/audio.go:36
Function
PointerButton
(pb KeyPoint)
hid/input/input.go:170
Function
PointerPosition
(pb KeyPoint)
hid/input/input.go:174
Method
PolygonOffset
Sets the implementation-specific units and scale factor used to calculate fragment depth values.
webav/webgl.go:874
Method
Pop
()
game/scene.go:87
Method
PopClipRect
()
gui/drawing.go:221
Method
Position
()
gfx/transform.go:52
Function
Pow2
Pow2 returns the first power-of-two value >= to n. This can be used to create suitable Texture dimensions.
math/i32.go:55
Method
Prewarm
(t float32)
effect/particle.go:54
Method
Prewarm
(t float32)
effect/simulate.go:161
Function
ProgressBar
Widget: ProgressBar, Slider
gui/gui.go:50
Function
ProgressBar
Widget: ProgressBar, Slider
gui/auto/gui.go:95
Method
Push
(sn Scene)
game/scene.go:75
← previous
next →
1,201–1,300 of 1,776, ranked by callers