Posted 07 February 2013 - 04:46 PM
This is probably the most advanced program I've ever written. It's not exactly the cleanest of code but I thought I'd share it anyway.
Video of (somewhat) current version: https://www.dropbox....amethingy81.wmv
The song in the video is "Theme from 'Mr. Broadway'" from The Dave Brubeck Quartet, if you're wondering.
Videos of older versions: http://www.youtube.c...eature=view_all
It began with me messing with the Parallel api. I've made grids that you can move a character around in before but I decided to add enemies that move independently from the character. Then I pretty much ran with it from there.
Pastebin for the installer: http://pastebin.com/cNAWjUWz
Pastebin for the main code: http://pastebin.com/XZxgjeNs
Pastebin for the blank highscore file: http://pastebin.com/g4a2C28K
Pastebin for the credits file: http://pastebin.com/iKsjmYjd
How to install it:
If you have the HTTP API enabled
Run the command "pastebin get cNAWjUWz installer".
Run installer.
OR
Create a new file and name it whatever you want. Paste in the code from the installer pastebin above.
Run the program.
If you don't have the HTTP API enabled
Create 3 files ingame, name one "credits", another "hs_0" and the third whatever you want. Open them in your text editor of choice (I use notepad++). Paste the code from credits file into "credits", from the highscore file into "hs_0", and from the main file to whatever you named it.
Run the main file.
EDIT: I'd also like to point out I'm not finished with it. I've yet to really balance the different difficulties and make it so you can enter in your name for the high scores.
EDIT2: I forgot to test the failsafes for missing files. They work sorta, though. If you run the main program and nothing happens then you've done something wrong with the files. Double check the names of them. They are case sensitive.
EDIT3: Fixed the failsafes.
Sorry moderators. I'm forgetful and OCD about fixing mistakes.
EDIT4: Updated it a bit. Now you're able to put your name in if you beat a highscore.
EDIT5: Made an installer.
Video of (somewhat) current version: https://www.dropbox....amethingy81.wmv
The song in the video is "Theme from 'Mr. Broadway'" from The Dave Brubeck Quartet, if you're wondering.
Videos of older versions: http://www.youtube.c...eature=view_all
It began with me messing with the Parallel api. I've made grids that you can move a character around in before but I decided to add enemies that move independently from the character. Then I pretty much ran with it from there.
Pastebin for the installer: http://pastebin.com/cNAWjUWz
Pastebin for the main code: http://pastebin.com/XZxgjeNs
Pastebin for the blank highscore file: http://pastebin.com/g4a2C28K
Pastebin for the credits file: http://pastebin.com/iKsjmYjd
How to install it:
If you have the HTTP API enabled
Run the command "pastebin get cNAWjUWz installer".
Run installer.
OR
Create a new file and name it whatever you want. Paste in the code from the installer pastebin above.
Run the program.
If you don't have the HTTP API enabled
Create 3 files ingame, name one "credits", another "hs_0" and the third whatever you want. Open them in your text editor of choice (I use notepad++). Paste the code from credits file into "credits", from the highscore file into "hs_0", and from the main file to whatever you named it.
Run the main file.
EDIT: I'd also like to point out I'm not finished with it. I've yet to really balance the different difficulties and make it so you can enter in your name for the high scores.
EDIT2: I forgot to test the failsafes for missing files. They work sorta, though. If you run the main program and nothing happens then you've done something wrong with the files. Double check the names of them. They are case sensitive.
EDIT3: Fixed the failsafes.
Sorry moderators. I'm forgetful and OCD about fixing mistakes.
EDIT4: Updated it a bit. Now you're able to put your name in if you beat a highscore.
EDIT5: Made an installer.