Add custom hud texture example
This commit is contained in:
parent
e1fd969cf3
commit
85d0bf037d
|
@ -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)
|
||||
- [Water Height Changer](examples/water-level.lua)
|
||||
- [Custom Level](examples/custom-level)
|
||||
- [Custom HUD Texture](examples/custom-hud-texture)
|
||||
|
||||
## Example Lua mods (large)
|
||||
- [Extended Moveset](../../mods/extended-moveset.lua)
|
||||
|
|
Loading…
Reference in New Issue