[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
Brads Electronic Projects Forum • Pixel Paint Version 2
Page 1 of 1

Pixel Paint Version 2

Posted: Thu Dec 23, 2010 10:25 am
by brad
I did a little bit extra with this today and am just using it as a learning experience really.

I have version 2 for download, I have come up with a better way to detect keypresses (which is independent of the normal key repeat rate) Which allows you to increase or decrease the rate yourself. This version also allows multiple key presses at the same time, I have worked on the flicker a little bit also. And lastly, I have added a NES control pad to show what you have pressed.

For the keypresses, I have set a flag when the key is pressed and then the flag is only cleared when the key is then released. A timer is then called to update the graphics dependent upon what is stored within the flags.

Once again, the keys are:

H = UP
N = DOWN
B = LEFT
M = RIGHT
A = PAINT PIXEL

ScreenShot:
PixelPaint2.png
PixelPaint2.png (44.79 KiB) Viewed 11945 times
Exe File Download:

Re: Pixel Paint Version 2

Posted: Tue Jan 25, 2011 11:00 pm
by bitfogav
What would be a good feature for this, is an output window which gave you a Binary output of each column, so you could copy and paste it to your 8x8 matrix PIC code, this is something that I added to my 8x8 matrix App :) (not saying you have to do the same but it was useful).

Re: Pixel Paint Version 2

Posted: Wed Jan 26, 2011 7:32 am
by brad
You've just given me a good idea!

I'd love to design a program that allows you to draw different levels for games on the LEDBOY :)