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 / ascii tutorials

Author
Message
heretic
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: the deepest, darkest, pit of cyberspace
Posted: 28th Nov 2005 01:52
been bumming around the forums for awhile. finally am going to make an rpg style game(oldskool). i want to make use of ascii graphics. are there any ascii tuts i can learn from. thank you in advance.
Bush Baby
20
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 28th Nov 2005 02:24
Like as in using characters like '§¤Ñµ' ?


If so just do a search in google for "ascii char codes"
([href]www.google.com[/href])

We will take over the world!
Let our reign begin, CHARGE BUSH BABIES!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 28th Nov 2005 03:54
Quote: "been bumming around the forums for awhile. finally am going to make an rpg style game(oldskool). i want to make use of ascii graphics. are there any ascii tuts i can learn from. thank you in advance. "


There's old school... and there's ooooolllllldddd school. I used to play an ansi D&D inspired game that was black and white. It was real fun and I wish I could remember the name but I can't. :-(

I did remember an old ansi game I played a lot (thats not really an rpg)... Kingdom of Kroz:
http://www.textmodegames.com/download/kroz.html

In my search for the game I played I found this instead (the ultimate ansi rpg):
http://www.johndaileysoftware.com/products/bbsdoors/dungeonmaster/index.asp
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 28th Nov 2005 10:53
While it's for DBPro, and not DBClassic, you might want to have a look at the DBPro Challenge thread.

In particular, half way down this page where RiiDii offers up some tutorials for making a 2d rpg (from character creation, up to maze generation and baddie movement - you may need to read a page or two to find all his tutorials).
And also, there was a challenge to make ASCII Frogger in the same thread - looking at some of the entries there ought to help you.

Good luck - I look forward to seeing what you come up with!
Bluestar4
19
Years of Service
User Offline
Joined: 19th Dec 2005
Location: USA
Posted: 3rd Jan 2006 21:47
my question would have been - is there a way to print ascii graphics to the screen at all in db ?

Bluestar4~
SirFire
20
Years of Service
User Offline
Joined: 4th Apr 2005
Location: North America
Posted: 3rd Jan 2006 22:18
print chr$(242)

you should get up with TinkerGirl, she did an awesome frogger game in ascii!

Bluestar4
19
Years of Service
User Offline
Joined: 19th Dec 2005
Location: USA
Posted: 3rd Jan 2006 23:10
I tried that ..... but all the special characters ended up looking like this : |
perhaps if I change the font I'll get something more useful?

Bluestar4~
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 3rd Jan 2006 23:38
Ascii characters were part of built in fonts on the Speccy, and other similar computers. Nowadays there are no real hardware fonts, only software fonts, so you would have to choose one of the many Windows fonts to avoid cheating. I mean, basically you could develop a font that is just a single bitmap of graphics, and therefore would look just like a B/W game. Probably the best way to be majorly retro is to use an actual spectrum, commodore 64 set of ascii characters.

Bluestar4
19
Years of Service
User Offline
Joined: 19th Dec 2005
Location: USA
Posted: 3rd Jan 2006 23:44
I have an idea - I think I can make a dll that might do the trick. just an idea though ...no promises.

Bluestar4~
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 4th Jan 2006 07:39
You can use the terminal font to get the normal ascii characters.




Bluestar4
19
Years of Service
User Offline
Joined: 19th Dec 2005
Location: USA
Posted: 4th Jan 2006 17:22
the key was the set text font command ,
the following code actually works
set window on


Bluestar4~
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 4th Jan 2006 19:48
Yup... I know... I just told you.


heretic
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: the deepest, darkest, pit of cyberspace
Posted: 16th Jan 2006 23:01
thanx bluestar and grog. you put me on the right trail.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 16th Jan 2006 23:07
Np.


Bluestar4
19
Years of Service
User Offline
Joined: 19th Dec 2005
Location: USA
Posted: 17th Jan 2006 04:30
grog did most of the work. I had tried setting the text font before but didnt' realize it had an optional extra parameter. if you omit the extra parameter then you end up with nothing but rectangles or | showing in place of the standard ascci characters.
Good luck on your project and thanks Grog for helping me learn something new too about dbc.

Bluestar4~
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 17th Jan 2006 04:42
Np Bluestar4.


Login to post a reply

Server time is: 2025-05-22 23:51:47
Your offset time is: 2025-05-22 23:51:47