What's wrong here ???

Just starting out? Need help? Post your questions and find answers here.
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

What's wrong here ???

Post by Skipsy »

Hello,

Could someone explain what's wrong with the following ? :

DisplaySprite( #header ,0, 0) ; header (size = 680 x 526
DisplaySprite( #Pict, 0, 50) ; game bkground
ClearScreen( 0,0,0)
GrabSprite(#background, 0, 0 , 679, 526 )

DisplaySprite( #background,0,0)

It only display the first sprite (#header). #background is supposed to be
#header and #pict merged (?)

Another strange thing is that the 50 top lines of the new sprite are
left shifted (10 pixels).

Any idea :?:
Thks a lot.
Beware of the man who has the solution before he understands the problem...