How do I create a custom end screen?

Tails Gamer

A Gamer
Modder
Dec 14, 2025
127
30
670
Colombia
github.com
Pronouns
He / Him
For the past few days I've wanted to make a custom end screen like the one in the "Triple baka pack" mod, so I took the base code but it didn't work, can anyone help me?
doraemon-end.png

This is the image
 
Solution
I’ll check it out later how to do it but try making a textures folder and put the png in there and name the image “end”
Don't double post! Use that edit button! Post automatically merged:

LUA:
TEX_CAKE = get_texture_info("end")

function render_end()
    if render_end then

        local x = djui_hud_get_screen_width() / 2 - TEX_CAKE.width / 2
        local y = djui_hud_get_screen_height() / 2 - TEX_CAKE.height / 2

        if gNetworkPlayers[0].currLevelNum ~= LEVEL_ENDING then
            return
        end
            djui_hud_set_color(255, 255, 255, 255)
            djui_hud_render_texture(TEX_CAKE, x, y, 1, 1)
        end
    end

hook_event(HOOK_ON_HUD_RENDER_BEHIND, function()
    djui_hud_set_resolution(RESOLUTION_N64)
    render_end()
end)
I’ll check it out later how to do it but try making a textures folder and put the png in there and name the image “end”
Don't double post! Use that edit button! Post automatically merged:

LUA:
TEX_CAKE = get_texture_info("end")

function render_end()
    if render_end then

        local x = djui_hud_get_screen_width() / 2 - TEX_CAKE.width / 2
        local y = djui_hud_get_screen_height() / 2 - TEX_CAKE.height / 2

        if gNetworkPlayers[0].currLevelNum ~= LEVEL_ENDING then
            return
        end
            djui_hud_set_color(255, 255, 255, 255)
            djui_hud_render_texture(TEX_CAKE, x, y, 1, 1)
        end
    end

hook_event(HOOK_ON_HUD_RENDER_BEHIND, function()
    djui_hud_set_resolution(RESOLUTION_N64)
    render_end()
end)
 
Last edited:
Solution
I’ll check it out later how to do it but try making a textures folder and put the png in there and name the image “end”
Don't double post! Use that edit button! Post automatically merged:

LUA:
TEX_CAKE = get_texture_info("end")

function render_end()
    if render_end then

        local x = djui_hud_get_screen_width() / 2 - TEX_CAKE.width / 2
        local y = djui_hud_get_screen_height() / 2 - TEX_CAKE.height / 2

        if gNetworkPlayers[0].currLevelNum ~= LEVEL_ENDING then
            return
        end
            djui_hud_set_color(255, 255, 255, 255)
            djui_hud_render_texture(TEX_CAKE, x, y, 1, 1)
        end
    end

hook_event(HOOK_ON_HUD_RENDER_BEHIND, function()
    djui_hud_set_resolution(RESOLUTION_N64)
    render_end()
end)
Thanks
 

Users who are viewing this thread