so, i don't understand at all! If i tried in only a 3 lines codes, it works, but not in thie following simple code:
in my master file:
#include "MenuPrinc.dba"
Set Display Mode 1024,768,16
sync on
sync rate 30
randomize timer()
autocam off
hide mouse
rem boucle principale du jeu
do
LoadIntro()
rem AfficherMenu()
end
loop
in MenuPrinc.dba:
function LoadIntro()
load image "Img\team.jpg",1
paste image 1,212,40,0
set text size 40
[b]x=512
center Text x,600,"Présente"[/b]
sync
delete image 1
load image "Img\Intro.bmp",1
Suspend For Key
paste image 1,0,0,0
sync
delete image 1
LoadMenu()
Suspend For Key
endfunction
function LoadMenu()
load image "Img\background.jpg",1
endfunction
it doesn't work!
(whereas text 512,600,"Présente" works well)
Any Suggestions?