This Tiny Joypad "Megazoid Variant" project is now complete. If anybody has any questions - ask away. Many thanks to the kind people that helped out
This might be a nice platform for people who like to write ATtiny85 games. Having the option of sound, screen rotation, and a joystick does give you a bit more flexibility over projects such as Attiny Arcade (although Tiny Joypad is a harder build).
More Tiny Joypad games, info and designs can be found on Daniel Champagne site : https://www.tinyjoypad.com
Slight code changes are needed for PacMan and Tiny Arkanoid for them to work on my version of Tiny Joypad (or just use the files in the Tiny_Joypad_Variant-Games-master.zip )
PacMan - Change
if ((analogRead(A3)>=750)&&(analogRead(A3)<950)) {Sprite[0].DirectionH=1;}
else if ((analogRead(A3)>500)&&(analogRead(A3)<750)) {Sprite[0].DirectionH=0;}
To
if ((analogRead(A3)>=750)&&(analogRead(A3)<950)) {Sprite[0].DirectionH=0;}
else if ((analogRead(A3)>500)&&(analogRead(A3)<750)) {Sprite[0].DirectionH=1;}
Tiny Arkanoid - Change
if ((analogRead(A3)>=750)&&(analogRead(A3)<850)) {if (VARIABLE.TrackBaryDecal<7) {if (VARIABLE.TrackBaryDecal+(VARIABLE.TrackBary*8)<44){ VARIABLE.TrackBaryDecal++;}}else{VARIABLE.TrackBaryDecal=0;VARIABLE.TrackBary++;}}
if ((analogRead(A3)>500)&&(analogRead(A3)<750)) {if (VARIABLE.TrackBaryDecal>0) {if (VARIABLE.TrackBaryDecal+(VARIABLE.TrackBary*8)>4){ VARIABLE.TrackBaryDecal--;}}else{VARIABLE.TrackBaryDecal=7;VARIABLE.TrackBary--;}}
To
if ((analogRead(A3)>=750)&&(analogRead(A3)<850)) {if (VARIABLE.TrackBaryDecal>0) {if (VARIABLE.TrackBaryDecal+(VARIABLE.TrackBary*8)>4){ VARIABLE.TrackBaryDecal--;}}else{VARIABLE.TrackBaryDecal=7;VARIABLE.TrackBary--;}} if ((analogRead(A3)>500)&&(analogRead(A3)<750)) {if (VARIABLE.TrackBaryDecal<7) {if (VARIABLE.TrackBaryDecal+(VARIABLE.TrackBary*8)<44){ VARIABLE.TrackBaryDecal++;}}else{VARIABLE.TrackBaryDecal=0;VARIABLE.TrackBary++;}}
* Don't forget when you program the cartridges, that Pin's 1 and 2 are swapped around on the Pacman and Tiny Arkanoid PCB's.
Great project! Love the rotating screen and game cartridges—awesome upgrades to the Tiny Joypad. Perfect for ATtiny85 game dev with sound and joystick support. Check out more details at hillcr.com. Thanks for sharing the files and making it open-source!