Hey, I hope this will help you to draw your menu
Graphics(800, 600)
fw = CreateFramework()
camera = fw.main.camera
pausefunc = 0
AppTerminate = 0
while AppTerminate ==0 do
if KeyHit(KEY_ESCAPE) == 1 then
--sets pause to 1 and opens up the pause screen
pausefunc = 1
function FlipHook()
--if it applies to 1 the screen gots open
if pausefunc == 1 then
SetBlend(1)
menu = LoadTexture("abstract::menu.dds")
DrawImage(menu, X, Y, Width, Height)
SetBlend(0)
else
--add stuff here
end
end
end
fw:Update()
fw:Render()
Flip(0)
end
you need to add your own stuff to this but it's an start...
Cheers