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.

Newcomers DBPro Corner / text and sprite on screen together

Author
Message
jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 21st Jun 2008 23:54
text 20,20,"Hello"
load image "skull.bmp",1
sprite 1,40,40,1
sync
suspend for key

I can't get both the sprite AND the text message on the screen together. If I delete the text line, I get the sprite, if I delete the sprite line I get the text ! Why is that please?

Attachments

Login to view attachments
Ed222
17
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 22nd Jun 2008 02:32 Edited at: 22nd Jun 2008 02:32
is the sprite on the text?

jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 22nd Jun 2008 18:52 Edited at: 22nd Jun 2008 19:00
Thanks WindowsKiller.
That does the trick.
It would be nice if all these little gems, inc when to use load image rather than bitmap etc, were in 1 of the tutorials - I couldn't find a reference in any of them - is there 1 please?.
Ta.
Ed222 - 1 is at 20,20 and 1 at 40,40. They're bothe small enough to nt overlap.
What I mean is, looking at the help on these commands is NOT helpful.
Ed222
17
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 22nd Jun 2008 21:54
Quote: " is at 20,20 and 1 at 40,40. They're bothe small enough to nt overlap.
What I mean is, looking at the help on these commands is NOT helpful."

sorry about that I didn't run you code so I thought that was only a part of your code and I also didn't know the size of your image because of that and no I didn't look at the help files when I asked the question.

Login to post a reply

Server time is: 2024-11-25 01:33:45
Your offset time is: 2024-11-25 01:33:45