pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing

asciisprites - 4

miezebieze (mieze)

Tags:

Description

Some time ago, I examined a game, where the data was completely plain text. All the images were stored in ascii strings and converted to an (monochrome) image.

I really dislike binary data, so I tried to make polychromatic images from a string and a dict with the colours. I didn't succeed at first...

Then, a week ago, I began with making a new game - And I really want to finish it; just to actually have something done! (My first try at a real game was not so successful.) So I dusted off this here (It was only a whole lot of None before.) and extended it. But then I wanted to make easy to control animations. So I made that and also classified the Image stuff, to have better control and easily recompile the image.

Examples are included. Just download and execute it.

Keys: Space, Left, Down, Right

Also the example has some more comments than needed, to be compatible with bloodier beginners than me.

Changes

The file was broken... And now the description was removed? I really kinda hate this site. Okay. I figured it out now.

Links

Home Page: http://www.pygame.org/
Source: http://pastebin.com/Ec483A6d

Releases

asciisprites - 4 - Mar 25, 2011

Comments

If you wish to leave a comment, please sign in first.

March 26, 2011 6:46am - josmiley - nickname: (josmiley)
is sympathetic
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Feb 13, 2012

Jul 5, 2011

Apr 17, 2011

Apr 16, 2011

Apr 15, 2011


Apr 14, 2011



Apr 12, 2011

Apr 11, 2011


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)