Small Game: LCD Road Runner

My first small Arduino Project made with a 16x2 LCD screen, 2 x Pots, button and a 10K resistor. There are 10 levels in this version 0.1.

A car type game which you try to avoid walls and shot enemies blocking your path. Picture/video, schematics and the download are at the below link.

Actually, I've think you've managed to create the worlds simplest, smallest side scrolling shooter!

Cool game - glad to see another one made!

:slight_smile:

I admit I have not looked at your code but have you manually programmed in each wall? Could it be done at random - program it to at least leave a gap between them.

Would it be difficult to program in play for any screen? Presumably it could read how many rows and columns the screen has and adjust accordingly (if the walls were placed at random). I will try and take a look when I have a little bit more time. I have saved it to my desktop :slight_smile:

Mowcius

Thanks cr0sh :stuck_out_tongue:

mowcuis: Yep I have manually programmed in each wall and yes you could make the walls at random. At the moment each level is 2 rows of 127 chars, you could extend this or make it all randomly generated and using a 16 char as a buffer and some variables to keep count of things like distance between walls.

If you were to use a 20x4 LCD, then you'll just need to add 2 more rows to the level array and modify the for loop a bit. I do think 20x4 would make this game better :). For other LCDs (e.g. 3310), not so sure how it would work.

I'll take a look and see if I come up with anything

Mowcius

Nice work. As a todolist:

Customchars:
2frame Animation of your roadrunner.
and so 6 free for objects.

If you change the customchars "on the fly" you could get a smooth scrolling. (and 2 extraframes for you roadrunner, or a "between the rows"-frame) :slight_smile:

(i wait to get my LCD back, cause i wanted to play with animations with it)
Maybe trying a flickery fullscreenmovie, sent via the serial :slight_smile: