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.

Code Snippets / Useing bitmap as text DBC V1.08

Author
Message
Alien 001
19
Years of Service
User Offline
Joined: 4th Jul 2005
Location: Gateshead UK
Posted: 13th Nov 2006 15:25
Here is an little snippet that i made last night. check the download for the bitmaps.

Attachments

Login to view attachments
ZtEaLmAx
19
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Sweden
Posted: 28th Nov 2006 02:25
Now it works on DBPRO



just removed absolete line
SET EMULATION ON

Thanx for the code m8



Yes www.darkbasic.se - swedish forum is comming
Mr Tank
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 29th Nov 2006 01:21
Nice. I'm using somehing like this in my game, only with textured plains.
In DBP the automatic mipmapping when you load the image in the load_text_bitmap function screws things up, but you can fix it by adding a flag to the end i.e.

Load image FIle_Name$ , Text_Bitmap(1),1


You'll be able to click on this someday.

Login to post a reply

Server time is: 2024-11-22 23:32:46
Your offset time is: 2024-11-22 23:32:46