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 / problems creating a displaying a sprite >.

Author
Message
squids
21
Years of Service
User Offline
Joined: 1st May 2003
Location: United Kingdom
Posted: 12th May 2003 14:17
Hi,

I have just been reading through "Beginners guide to DarkBASIC game programming" and I am having problems with creating a sprite from a bitmap and displaying it on screen.

Sorry if this post is a little lame I have only recently started using DarkBASIC.

11111111111111111111111
Basically the first problem I am having is creating a sprite and displaying it on the screen. In the book I am reading through the code does not include "SET CURRENT BITMAP" but that is the only way I can get the screen to display the sprite I make. Is this the wrong thing to do?
11111111111111111111111
22222222222222222222222
In the second bit of code I am trying to display the same sprite from the source bitmap on screen with a background bitmap. If I use the code as it is, nothing is displayed on the screen. If I use "SET CURRENT BITMAP" then the only visible image is the background itself without the sprite on top. Basically I cant display the sprite over the background, its either one or the other.
22222222222222222222222

Sorry that its a bit sad but hey, I am a newbie. I am using DBPro so I am not sure if I have to write it a different way etc.

Also I have an old Voodoo III in the machine. I have looked at its display list and it says it can do this that and the other,. however I cannot run a DB project in 32 bit mode >.
squids
21
Years of Service
User Offline
Joined: 1st May 2003
Location: United Kingdom
Posted: 12th May 2003 14:20
didnt realise there was a limit to how much you could type >.< eek,. just to say, thanks for any response to this post. Any response would be greatly appreciated,

Thanks.

Ash

squids
21
Years of Service
User Offline
Joined: 1st May 2003
Location: United Kingdom
Posted: 12th May 2003 15:03
Okay, problem solved.. kinda

Thanks anyway people

Madehra
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: Portugal
Posted: 15th May 2003 16:46
LOL
hey, greets from anyother newbie! Kinda cool to see other newbies using dumb looking avatars, LOL
Sephnroth
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 15th May 2003 17:08 Edited at: 15th May 2003 17:09
I dont think there is a limit on how much you can type - if you ever have the misfortune to come across one of posts (or books is probably a better way to put it ) you will see that

I figured it was because of your crossed eye'd face (are you an anime fan by any chance?) - i think it took the left triangular bracket as the start of a html tag or something ^^ but mind you, you used it in your second post fine.. hmm, for a test, i'll do three of them

>< >.< >_<

my text still in tact?

yup, okay, so i was very wrong

Login to post a reply

Server time is: 2024-11-24 14:26:08
Your offset time is: 2024-11-24 14:26:08