Ludum Dare #31compo
Screen Takeover
*WARNING*
THE MUSIC IN THE WINDOWS VERSION DOES NOT PLAY. IF YOU UPLOAD THE SOURCE TO YOUR JAVA IDE (ECLIPSE WORKS) THEN THE MUSIC SHOULD PLAY. ANY SOLUTIONS TO THIS ISSUE IN THE COMMENTS WOULD BE GREATLY APPRECIATED. THANK YOU.
Also, if this file says it can harm your computer, it most likely wont. It's a jar file, that's the game.
Twitter: @MikeTheWayne_
Another Game you should check out:
http://mikethewayne.itch.io/barcode
This is Screen Takeover, a game about being a virus, creating popups and causing chaos to the CPU, or stealing the user's data. ALL ON ONE SCREEN.
The game is started by pressing the "Begin" button in the bottom left. On the taskbar, there are malicious actions that you can perform, each costing you DataPoints (top left), however each also earns you DataPoints per second of running, though it runs for a random amount of time. Each action heats up the CPU (CPU Usage meter top right). If CPU Usage reaches 100%, you win. However, as your CPU usage increases, the antivirus will begin to come after you. If it fills up the bar, you lose. You can scramble the antivirus, causing it to lose progress.
Another way to win is to collect enough DataPoints to steal all the data off of the user's computer for yourself. In the GB tab in the top right, you can steal data.
However, if your DataPoints get so low you can't purchase anything anymore, you automatically lose.
Software used:
Java Eclipse: Programming
Music: GarageBand
To install, download links, unzip files, run the executable jar file. For music, download source, import to Java IDE (preferably Eclipse), run program.
Thank you for checking this out!
Enjoy! :)
THE MUSIC IN THE WINDOWS VERSION DOES NOT PLAY. IF YOU UPLOAD THE SOURCE TO YOUR JAVA IDE (ECLIPSE WORKS) THEN THE MUSIC SHOULD PLAY. ANY SOLUTIONS TO THIS ISSUE IN THE COMMENTS WOULD BE GREATLY APPRECIATED. THANK YOU.
Also, if this file says it can harm your computer, it most likely wont. It's a jar file, that's the game.
Twitter: @MikeTheWayne_
Another Game you should check out:
http://mikethewayne.itch.io/barcode
This is Screen Takeover, a game about being a virus, creating popups and causing chaos to the CPU, or stealing the user's data. ALL ON ONE SCREEN.
The game is started by pressing the "Begin" button in the bottom left. On the taskbar, there are malicious actions that you can perform, each costing you DataPoints (top left), however each also earns you DataPoints per second of running, though it runs for a random amount of time. Each action heats up the CPU (CPU Usage meter top right). If CPU Usage reaches 100%, you win. However, as your CPU usage increases, the antivirus will begin to come after you. If it fills up the bar, you lose. You can scramble the antivirus, causing it to lose progress.
Another way to win is to collect enough DataPoints to steal all the data off of the user's computer for yourself. In the GB tab in the top right, you can steal data.
However, if your DataPoints get so low you can't purchase anything anymore, you automatically lose.
Software used:
Java Eclipse: Programming
Music: GarageBand
To install, download links, unzip files, run the executable jar file. For music, download source, import to Java IDE (preferably Eclipse), run program.
Thank you for checking this out!
Enjoy! :)







Comments13
Still it was fun to watch my data points go up and the CPU usage too. Good job!
Here's how you can fix it.
The problem is that the File("src/ScreenOSMusic.wav") specifically looks for a real file on disk (in a real folder called "src"), not a resource that might be in a jar.
Two ways of solving this:
* Keep the code as-is, and supply the WAV (in a folder called "src") alongside the JAR instead of inside it.
* Keep the WAV in the JAR, and swap your File and FileInputStream code for a call to getResourceAsStream(). Resources might be files on disk, or they might be parts of a JAR (or theoretically other things).
Also, your game works on platforms other than Windows (I just ran it on Mac OS X), but not everybody likes RAR format archives. You could get more people playing your game if you link to a ZIP (or better still, just link to your JAR directly since a JAR is actually just a ZIP with particular files in it).