December 16th-19th 2011 :: Theme: Alone

Back to Browse Entries

The Lonely Gun

by pighead10 - 48 Hour Compo Entry

A LOT OF PEOPLE ARE ASKING WHY THEY RANDOMLY DIE. They don't, read the instructions before playing! (below and in readme).

Created in C++ with Ogre3d engine with SdkTrays GUI with my own gui images. Please, don't be afraid to rate just because it's not very good (it's my first ever game, any thoughts are appreciated)!

The Lonely Gun - you control a character ( = cube) that has a gun that makes anyone it hits lonely, meaning whenever you hit an enemy with it, every enemy *except* the one you hit disappears!

A and D to move, space to fire, right mouse button to move camera. Further instructions are in README. To run the game, look in /bin for LonelyGun.exe.


a and d to move, space to fire, right click to move camera (only if you have to, it is probably better not to).

The weapon you have is the "Lonely Weapon" - anyone it hits is immediately lonely, meaning every enemy except the person you hit
disappears. Enemies will spawn randomly every ~1 second (depending on what I change it to and forget to change the readme), and you need to stop them from getting past you bearing in mind the lonely weapon.

You have 100 health. Each enemy takes 30 health if it goes past not (not if it hits you). If you didn't know, you are the blue cube
and the enemies are the red cubes. Score is how long you survived, in seconds.

TIP: Wait for the ones at the back to span to remove all of them and give you the most time afterwards. Hitting the nearest one may make it impossible to save yourself from
being hit,

Why is it in 3D? I have no experience with any 2d engines. Don't ask me why I decided to start with this one (Ogre3d), but this is my first game in C++ :D It was planned to
be a lot more developed, but I completely underestimated how bad I was at C++, having only been using it about an hour a week for a few months.

Downloads and Links




KhaoTom says ...
Dec 19, 2011 @ 10:51am

Hopefully this makes you better prepared for the future! Keep up the efforts :)

pighead10 says ...
Dec 19, 2011 @ 12:13pm

I definitely learned a lot from this!

fakeshadows says ...
Dec 19, 2011 @ 2:17pm

When first running it complained about "The procedure entry point" not being "located in the dynamic link library MSVCR100.dll". As I have the VC++ Redist installed I tried removing the "msvcp100.dll" in the bin folder and managed to get it to launch. Could it be missing some ".dll" files?

Cool concept :) The "Lonely Gun" seems to work. I did seem to die randomly though!

pighead10 says ...
Dec 19, 2011 @ 2:58pm

It was working fine for me and a few testers without the msvcr100 dll inside. One of my friends wanted to play it and was missing that dll, so I put it inside the bin so you don't have to install vc++ redist - it still works for me. You say it worked as soon as you removed the dll? (adding the dll didn't fix my friend's problem)

fakeshadows says ...
Dec 19, 2011 @ 3:07pm

Yeah, once I'd removed the dll it started working.

pighead10 says ...
Dec 19, 2011 @ 4:10pm

Added 2 up-to-date dlls, I had someone test it and it now works fine, tell me of any issues. You don't die randomly - read the instructions (I didn't have time to make a health bar ingame)

fakeshadows says ...
Dec 19, 2011 @ 5:04pm

It works out of the box now!

Ahh, I see. The instructions weren't so clear when I first downloaded it. I assumed I must have missed something so I held off voting!

Really cool game!

pighead10 says ...
Dec 19, 2011 @ 9:11pm

There was going to be a flashing red screen or something to show when you get hit, and a health bar, but no time! :(

edibletoaster says ...
Dec 22, 2011 @ 3:33am

Good job trying something new. Great effort, and its great that you entered something. Hope you learned from this, Jams/Compos like these help you learn your tools much more quickly than you expected!

You must sign in to comment.

[cache: storing page]