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

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

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

March 26, 2011 6:46am - josmiley / Luke spywoker - nickname: (mutualaccount)
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
Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

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