Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Rc29
18
Years of Service
User Offline
Joined: 18th Apr 2006
Location:
Posted: 18th Apr 2006 17:22
can anyone tell me why this doesnt work? its to display a background, then a sprite over the top. The background loads but the sprite doesnt? im using db pro

Its very similar code to the Harbour and Smith book i bought (chapter 11), those examples work fine off the cd but not through d.b which I cant understand

thanks
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 18th Apr 2006 18:11
can you post the code in the
please it isnt hard.

Click the code button paste you code in and then click the button again.

Cheers

BM

Our aim is to keep the loo's clean, your aim can help.
Rc29
18
Years of Service
User Offline
Joined: 18th Apr 2006
Location:
Posted: 18th Apr 2006 18:16
Hmm i thought I had

sync on
hide mouse
load bitmap "background.jpg",0
sync
load bitmap "target.bmp",1
get image 1,0,0,64,64
sprite 1,170,90,1
sync
wait key

thanks
Firewood
19
Years of Service
User Offline
Joined: 24th Jul 2005
Location:
Posted: 18th Apr 2006 21:28
Whay you think of the command
Show sprite 1

Never say a question is stupid. Questions not ask are stupid.

Login to post a reply

Server time is: 2024-11-26 23:35:38
Your offset time is: 2024-11-26 23:35:38