Add custom hud texture example
This commit is contained in:
parent
ad6642a4bd
commit
3fe3b4ca19
|
@ -0,0 +1,7 @@
|
||||||
|
function on_hud_render()
|
||||||
|
local texInfo = get_texture_info('test')
|
||||||
|
djui_hud_set_resolution(RESOLUTION_N64);
|
||||||
|
djui_hud_render_texture(texInfo, 0, 0, 1, 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
hook_event(HOOK_ON_HUD_RENDER, on_hud_render)
|
Binary file not shown.
After Width: | Height: | Size: 990 B |
Binary file not shown.
|
@ -58,6 +58,7 @@ All of this is a holdover from when there were only two players. It was a reason
|
||||||
- [Instant Clip](examples/instant-clip.lua)
|
- [Instant Clip](examples/instant-clip.lua)
|
||||||
- [Water Height Changer](examples/water-level.lua)
|
- [Water Height Changer](examples/water-level.lua)
|
||||||
- [Custom Level](examples/custom-level)
|
- [Custom Level](examples/custom-level)
|
||||||
|
- [Custom HUD Texture](examples/custom-hud-texture)
|
||||||
|
|
||||||
## Example Lua mods (large)
|
## Example Lua mods (large)
|
||||||
- [Extended Moveset](../../mods/extended-moveset.lua)
|
- [Extended Moveset](../../mods/extended-moveset.lua)
|
||||||
|
|
Loading…
Reference in New Issue