For the two end functions, it's just a copy-paste error ^^
I've modified my code... : think it's better like this (thanks you !) :
sync on : sync rate 30
load object "models/Jean.x",1
load image "models/texJean.jpg", 4
paste image 1, 0, 0
do
cls
paste image 1, 0, 0
if boutonJouer() = 1 then goto play
sync
loop
play:
makeHero();
do
moveHero()
sync
loop
end
function makeHero()
make mesh from object 1,1
texture object 1, 4
endfunction
function moveHero()
If Upkey()=1
Move Object 1,-2
endif
If Downkey()=1
Move Object 1,2
endif
If Leftkey()=1
Turn Object Left 1,2
endif
If Rightkey()=1
Turn Object Right 1,2
endif
endfunction
But, my texture still does'nt appear...