LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-12-2013, 09:18 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 373

Rep: Reputation: 0
convert ascii letter to 8x8 game image


I would like to take a whack at making a game.
I have it in my head that there must be a way to convert any of the ascii characters (XFCE) to little stick-like persons then be able to print that converted character wherever.
Is that in fact true? If so can U point me to a tutorial? What I am finding is 16x16 or larger and made with GIMP or other apps which is not where I want to go.
I vaguely remember doing something like this a long time ago.
 
Old 10-12-2013, 11:11 AM   #2
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 276

Rep: Reputation: 93
Well... This is an old trick from the 8bit era...

Nowaday it's far easier to write direct "sprites" or "bitmaps" (with alpha channel), as anyway even the fonts files are displayed this way...

You can, by the way create a bitmap based font, but it's stuck to monochrome display. And frankly, I don't any know tools to do that, as I trust my graphic artists .

Do you know how to program ? Without knowing anything of your current knowledge level it's hard to point you toward a direction.

Beside, as I'm a game developer, and I'm willing to teach that "art" to motivated people, you can PM me and I could give you some help. For a quick CV, I started programming in 1989, and worked on some "famous" games: Ultim@te Race, NY Race, Far Cry Instinct XBox, Prince of Persia: the two thrones XBox, Chicken Little: Ace in Action + Code Lyoko on Nintendo DS... And various other things on exotics platforms. (Edit: my "skills" are 3D Programming, and general Engine architecture programming, so I have some clues on graphic rendering ).

Cheers.

Garry.

Last edited by NoStressHQ; 10-12-2013 at 11:15 AM.
 
Old 10-13-2013, 02:14 AM   #3
waddles
Member
 
Registered: Sep 2012
Posts: 373

Original Poster
Rep: Reputation: 0
Are U saying that I could modify my font with something called "alpha channel"?
I should mention I am doing this in Slackware (of course we are here) 13.37 and anticipating that I'll use shell script to build it initially.
This is an experiment in game development so am trying to stay ultra simple.
My experience is a Masters in Computer Science + >>15 yr with networking and data bases and directing (managing??) others, my programming languages (20+) are the standard stuff (taught college courses for ~5yr) but I stay away from the manufacturing languages like C++/##, MS basic whatever they call it I forget, lisp and a few others.

Last edited by waddles; 10-13-2013 at 02:17 AM.
 
Old 10-13-2013, 04:41 PM   #4
waddles
Member
 
Registered: Sep 2012
Posts: 373

Original Poster
Rep: Reputation: 0
I may have found my solution. I can create a file of bitmapped (via the program bitmap) characters but need to find a way to display them to the screen. Is there some trick to do this?

Last edited by waddles; 10-13-2013 at 04:43 PM.
 
Old 10-13-2013, 05:00 PM   #5
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 276

Rep: Reputation: 93
Sorry, answer you might take you some time, as I need to write a lot. There's a lot of "hidden" things here. I'll get back with a long answer asap.
 
Old 10-13-2013, 07:26 PM   #6
waddles
Member
 
Registered: Sep 2012
Posts: 373

Original Poster
Rep: Reputation: 0
I don't wish to impact UR time. If the task can be done fine. Then just point me to needed info. If the task is lengthy and circuitous then if may not be the approach I would want to take.
BTW the 8x8 is not a restriction I was trying to do something small.

Last edited by waddles; 10-13-2013 at 07:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert encoding between ASCII text and ASCII English text astanton Linux - General 2 08-03-2011 03:55 PM
Convert HTML to ASCII ministeren Programming 3 06-09-2010 03:40 PM
Need to convert document from size A4 to letter JosephS Linux - General 4 05-13-2010 08:38 AM
Trying to find an old ASCII game [KIA]aze Linux - Software 0 06-14-2007 05:14 AM
convert integers to ascii raven Programming 3 02-15-2002 03:32 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration