News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
Convert bitmap image to ascii
Author Message
jyf1987
Member
***


Posts: 58
Group: Registered
Joined: Jun 2008
Status: Offline
Reputation: 0
Post: #11
RE: Convert bitmap image to ascii

iGame3D Wrote:
Well here's the progress. I was able to convert the binary bits of an 1982 bitmap custom font into 3D objects with no effort, once the code was done of course.
Looks like this:
http://aquarius.residenteasel.com/aquari...amovie.swf

Here are some downloads.
MAC OS X version:
http://aquarius.residenteasel.com/aquari...quaMac.zip

Windows Version:
http://aquarius.residenteasel.com/aquari...quaWin.zip

You'll need to move your mouse down a bit to orient yourself to the 'floor'
of Aquarius Characters.

Keyboard works like a video game:
W = forward
S = back
A = slide left
D = slide right
R = rise
F = fall

Command F on the Mac will toggle fullscreen.
Maximize the window on Windows witht he usual control.

Command or Control L will exit into the editor, the mouse may be locked
to the camera, a second press of those keys should unlock it.

The editor is an adventure in undocumented discovery.
A ton of lua scripts and fluid files in there for exploration
if you are into reading code and stuff.

I've also been able to do some screenshot conversion that translates back into ye olde BASIC statements that POKE the characters back into the ancient computer.
That needs some work and will have to wait until I'm at a stand still in zombie game making to continue.

In all its been a cool experiment that murgaLua has made possible.
Eventually I'll pull together some kind of BASIC emulation in Lua,
so that you can play some really old school games in your console!
There is nothing like driving a pound sign down the dangerous curving
roads of asterisk alley.

Is there a wait to get input in console in Lua?
Like "you are in a dungeon there are exits north and west, what will you do?
And then the program waits for input like "N" or "W" before continuing.
I could and probably should do in a gui I suppose.


unforturnally,the link was banned by the GFW at my location,:[


Cheers
jyf
01-17-2009 04:27 PM
Find all posts by this user Quote this message in a reply
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #12
RE: Convert bitmap image to ascii

iGame3D Wrote:
Is there a wait to get input in console in Lua?
Like "you are in a dungeon there are exits north and west, what will you do?
And then the program waits for input like "N" or "W" before continuing.
I could and probably should do in a gui I suppose.


I've been searching for this stuff too, but apparently it isn't possible in console, as io.read always waits for a newline, and you can't change the input buffering behaviour.
So this would mean you would need to write some small routine in C to accomplish the job. I've been trying too, but i did not succeed. Let me know if you do get it right Wink.
In gui it's easy to just put some zerospace hidden buttons with hotkeys binded to them...


Anyhow, for the old adventure game lovers, there still is http://www.nethack.org (for all common platforms) Wink.

Greetz,
Jan-Pieter

01-17-2009 08:30 PM
Find all posts by this user Quote this message in a reply
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #13
RE: Convert bitmap image to ascii

As an experiment I created particle emitters of the
3D from 8-bit characters that that I posted yesterday.
Then I started a little BASIC interpreter.

Here's a flash movie

oh and here's a youtube video of the real deal


I'm thinking I have to take a step way back and
figure out how to build a solid interpreter,
No clue really how to do that, I'm just winging it.

Having too much fun. :-)

Mr Bill

01-18-2009 04:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: