Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: pimathbrainiac on May 27, 2015, 09:23:46 pm

Title: Quest for the Golden Plunger
Post by: pimathbrainiac on May 27, 2015, 09:23:46 pm
So @Eskmo and myself were in the same AP Computer Science class this past year, and for our final project, we made a roguelike. You are a man in a maze with randomly placed torches. You have to find the golden plunger before the "minotaur" (actually a dancing ditto) catches you.

Source here (https://bitbucket.org/pimathbrainiac/ap-cs-project). Screenies soon.

EDIT: This is a project with SDL as its dependency and also has a windows-specific makefile atm (blame netbeans). If you want to make, I'll figure out how to make it setup-independent.
Title: Re: Quest for the Golden Plunger
Post by: alberthrocks on May 28, 2015, 12:12:58 am
This looked really tricky to compile (especially with the environment, since the paths are not necessarily correct). On Windows, this is a nightmare if you don't know what to get!

To remedy this, I built a little installer for you guys!

Download here: ap_cs_project_win32.zip (http://www.filefactory.com/file/1qy0kcl0m5cd/ap_cs_project_win32.zip)

(http://i.imgur.com/bzoOKkY.png)

For those trying to build it, I actually used Microsoft Visual C++ 2010 to build this. It'll give strange errors at first (after all paths and such are set up correctly) - but all you have to do is move the variable declaration to the top (before any actual execution happens), and you should be good.

@pimathbrainiac + @Eskmo: I'd be happy to give you guys what I have! Also, the installer assumes that the license is GPLv3. If it's NOT, please let me know (highlight me @alberthrocks) and I'll change it ASAP and update the source/binary accordingly.

EDIT: I meant variable declaration only, no initialization. If you declare and initialize at the same time, e.g. int bla = somevalue;, split it up - put int bla; on top, and then where the old line used to be, put bla = somevalue;. Repeat for everything else!

EDIT #2: The installer will also install the VC++ 2010 SP1 Redistributable (x86), if you don't have it installed already.
Title: Re: Quest for the Golden Plunger
Post by: pimathbrainiac on May 28, 2015, 05:10:33 am
@alberthrocks well right now the licence is "we're making the proprietary eventually to release on greenlight or desura." The current version's licence should be the wtfpl, imo.

Also I have the binaries and required dlls in a zip file I can upload (and since we used MinGW, no msvcr needed :P). I'll upload that when I get time. I don't like installers much, since I can't use them myself (still no admin privileges on my computer).

EDIT: Here is the zip file (https://drive.google.com/file/d/0B_rRGhX27sY-c3ZMdTlLSk1tbzg/view?usp=sharing)

EDIT 2: Screenies!
Game start!
(http://img.ourl.ca/QuestScreen3.png)
When both you and the minotaur are in the sight of the torches, the plunger appears.
(http://img.ourl.ca/QuestScreen1.png)
Avoid the minotaur-ditto-minotaur, or it's game over.
(http://img.ourl.ca/QuestScreen2.png)
Title: Re: Quest for the Golden Plunger
Post by: Matrefeytontias on May 28, 2015, 05:08:25 pm
Nice :D I downloaded it, I'll try it soon.
Title: Re: Quest for the Golden Plunger
Post by: alberthrocks on May 29, 2015, 09:16:17 pm
Re-did the binaries again, this time making it static so that no Visual C++ 2010 stuff is needed! With some tricks and whirls, got the file size to something significantly tiny! (478 KB vs 1093 KB - it can go down even lower without the 218 KB icon!)

Download:
Changes: New icons, no library dependency