PDA

Click to See Complete Forum and Search --> : Read-out in Dopewars emulation


Yadda
Sep 29th, 1999, 02:36 AM
I am trying to emulate the BeermatSoftware game called 'Dope Wars'. Being fairly new to VB, I thought it would make a challenging project. For reference it can be found at www.beermatsoftware.com. (http://www.beermatsoftware.com.)

My problem is that I cannot figure out a practical way to make the readout/stats.

The best I have come up with is to do a PSP capture for the 'Cash, Bank, Debt..' section and use a lot of pic.boxes to display the constantly changing numbers-ie, 1 pic.box per digit, which would also be 'captured' and stored as bmps.

This is not practical. There is a better way and I am hoping someone can make a suggestion.

Thanks in advance.

cedx
Sep 29th, 1999, 08:02 AM
You could try an Image box, I don't think they use as much resources as a picture box.

Alternatively, you could find a font that resembles the one used in the game and use that in a Label box. Just adjust the font and backgroud colour.

Another way to get the font would be to get your hands on a font editor and create.

The font would then have to be distributed together with your program should that be your aim.

HTH.

Yadda
Sep 29th, 1999, 09:07 AM
Thank you for the suggestion. I feel I could have made myself clearer. Bear with me...

Imagine a black strip: about he same size as the 'Your UserName:' box on this form.

This strip has, for example, 10 very light green boxes on it. It now looks like a length of film strip with the sequence of frames blank(and, as mentioned, light green).

Now imagine the first few 'frames' each containing letters(enough to form the word 'UserName' for example).

The next few frames will be blank, and the last 2 'frames' will have the digits 2 and 1 respectively.

The trick here would be to be able to print what one likes on TOP of these light green frames at the drop of a hat(click of a button!)

I'm not sure fonts would work as there is an awkward black space between each 'frame'.

I still feel as though I'm wading through treacle! If you have seen the game, you will know what I mean.

Think I'll give up while I'm behind!

Regards.