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.

DarkBASIC Discussion / Image number and Bitmap number

Author
Message
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 13th May 2007 03:58 Edited at: 13th May 2007 04:00
I'm making a slot machine game for my friend. I need to texture the cylinders I loaded up. I simply had a command that loaded the bitmap file of the texture, but then, when I texture the cylinder, it asks for an image number. In other words, look at it this way:


When I load "Slots!" it has a bitmap number. When I texture the objects, I need an Image number I need to texture the 3 cylinders with "Slots!" but "Slots!" isn't what DarkBASIC says is an image number.

What happens when when you mix coke, pop rocks, vinegar, and baking soda?
I am currently working on 2 projects: The Ultimate Killing Game & The Turtle Game
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th May 2007 04:04
Sounds like you are confusing DB's Bitmap with Image.

If you use Load Bitmap, (for Bitmap read 'screen'), then you still need to use Get Image to grab the image off the bitmap.

In other words, use Load Image - not Load Bitmap.

TDK_Man

Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 13th May 2007 04:35
Thank you, TDK. I have tons of other problems with this game, but I'd rather not post too many questions, as people might think I'm spamming.

What happens when when you mix coke, pop rocks, vinegar, and baking soda?
I am currently working on 2 projects: The Ultimate Killing Game & The Turtle Game
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th May 2007 04:59
Quote: "as people might think I'm spamming."


'Officially', spamming is posting the same thing on more than one board. If you have lots of questions, just post them one at a time on one board and then get that aspect of your program working before posting another one.

People won't be all that bothered unless you've clearly not attempted to solve your problem by using the search button - or the subject is already covered in depth in one of the tutorials.

TDK_Man

Login to post a reply

Server time is: 2025-05-29 02:34:08
Your offset time is: 2025-05-29 02:34:08