Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.35 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.35 KB

TOS-Bad-Apple

The code to play Bad Apple!! on TempleOS. This is the code from this video https://www.youtube.com/watch?v=vP7HIdFsSsM

Sorry, the code is messy and if it's inefficient.

Why?

I had an idea and wanted to try it, to see if it is possible to do it my way, which it is. Other people already played Bad Apple!! on TempleOS in better ways, but as always this is my take on this idea.

How does it work?

Simple! I have a file called Data.HC.Z Which stores each pixel in a huge array (bad idea and also explains the huge load time), each pixel in the array is either a Zero or a One where 0 is Black and 1 is White. That way my code in BadApple!!.HC.Z draws each pixel with the colors taken from the array. The code can be improved, but I'm just too bad at programming that this is my best.

Is music played by TempleOS?

No. I add the music afterwards with the real Bad Apple!!

How to try it?

Download the ISO.C file from the releases and mount it in TempleOS, then drag the mounted files to a folder. All Files NEED To Be In The Same Folder! Then open BadApple.HC.Z, press F5, wait a bit and type in the command-line "BadApple;". Enjoy!

To cancel the playing press any key.