yes it uses OOP on bmp files only ( I havn't learnt how to do other formats yet, there on my list of things to figure out)
it uses a string to id individual bitmaps and you call it's sub\functions
there are a total of 6 subs and 2 functions
I'll include an example code to better explain it
Search found 42 matches
- Thu Apr 30, 2009 1:20 am
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
- Mon Apr 27, 2009 7:51 pm
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
I asked cause I wrote an entire routine for graphics that I wanted someone to try out and give feed-back on it (I like having people say im good at something every once in a while :) ) the entire thing is in a UDT and it loads multiple bitmaps, has a cropping feature, and can do transparancies. if y...
- Thu Apr 23, 2009 1:10 pm
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
- Thu Apr 23, 2009 1:05 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What happened to QB express?
- Replies: 4
- Views: 10585
- Tue Apr 14, 2009 11:51 am
- Forum: General Discussion
- Topic: Text Screen in QB4.5/VBDOS?
- Replies: 4
- Views: 8674
- Mon Apr 13, 2009 6:36 pm
- Forum: General Discussion
- Topic: Text Screen in QB4.5/VBDOS?
- Replies: 4
- Views: 8674
honestly I've never had a need for any thing to be done after my codes exit, so I'll try to come up with an explanation based on what I've observed in a lot of the demos I've played over the years in a lot of the older dos based games (DOOM for example) those ad screens were done in text mode (scree...
- Tue Mar 31, 2009 10:19 pm
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
- Sun Mar 29, 2009 3:25 am
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
- Mon Jan 26, 2009 11:50 am
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
- Sat Jan 24, 2009 2:34 pm
- Forum: Freebasic Questions & Answers
- Topic: Turn Based Games
- Replies: 19
- Views: 124383
I'm assuming that your using a for loop to go through the list of characters. something like: for i = 0 to 4 char(i).dostuff 'what ever your code is? next instead do a nested for loop inside and have it look for characters speed stat for i = 0 to 4 for i2= 0 to 4 if char(i2).speed = i then 'your tur...
- Sun Oct 26, 2008 2:43 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sort of new here!
- Replies: 2
- Views: 9035
- Thu Oct 16, 2008 5:34 pm
- Forum: General Discussion
- Topic: looking for music composing program
- Replies: 7
- Views: 16660
Qbasic,VB dos,freebasic, a little C++(not enough to say I know how to program in it). I've only been learning this for about 6-7 years so I still concider myself as either a newbie or a simi-novice programer I'm using windows XP, with a 1-something Ghtz athlon processor (that's the one I usually use...
- Thu Oct 16, 2008 3:25 pm
- Forum: General Discussion
- Topic: looking for music composing program
- Replies: 7
- Views: 16660
looking for music composing program
any one know were to find a download of a music composing program.
one that lets you compose music,not set up a series of pre-done wave files like music maker does.
one that lets you compose music,not set up a series of pre-done wave files like music maker does.
- Thu Oct 16, 2008 12:32 pm
- Forum: News and Announcements
- Topic: QBASIC.COM gone?
- Replies: 102
- Views: 371376
- Thu Sep 25, 2008 1:44 pm
- Forum: Freebasic Questions & Answers
- Topic: A custom font for FB I want some feed back on
- Replies: 5
- Views: 54906
- Wed Sep 24, 2008 11:08 am
- Forum: Freebasic Questions & Answers
- Topic: A custom font for FB I want some feed back on
- Replies: 5
- Views: 54906
Well, looks like no one cares to leave any comments so I guess there's no point in making any more posts of this nature. anyway i had an idea, does anyone want to help me orginize a competition, it's for both FB and QB, I don't want to go into any details over the forums yet but anyone intrested can...
- Fri Sep 19, 2008 1:55 am
- Forum: Freebasic Questions & Answers
- Topic: A custom font for FB I want some feed back on
- Replies: 5
- Views: 54906
Re: A custom font for FB I want some feed back on
----------TO MAKE A QUICK FONT BITMAP--------- I use a paint program called ultimate paint which has a palette function on it and saves in 8 bit formats using the palette chart which makes this really easy, I type the characters down first in note pad and then in the paint editor using palette colo...
- Wed Sep 17, 2008 11:13 pm
- Forum: Freebasic Questions & Answers
- Topic: A custom font for FB I want some feed back on
- Replies: 5
- Views: 54906
A custom font for FB I want some feed back on
Hey everyone... I wrote a custom font code i wanted some feed back on before i past it, i need to make some info clear on how it works first I use a simple bitmap (.BMP) to hold the characters along with a little data in the bitmap about the font at point 0,0 in the bitmap is a pixil representation ...
- Wed Sep 10, 2008 8:31 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Quick Question on -put-xor-or-and-pset.....
- Replies: 3
- Views: 9740
- Fri Sep 05, 2008 9:48 am
- Forum: General Discussion
- Topic: WOW...
- Replies: 27
- Views: 68379
Hey mentat, I couldn't even put that in a better way and I agree So F'n what if it's a dead language it's easy to get results visually and you don't need to write 20+ lines of code to do so I just get so flustered to see that some one wants to attack something so negitivly just cause they (from what...