You are not logged in.

#1 2014-12-04 02:10:56

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

My Contribution: Hungry Human - A game in SDL 2 **WORK IN PROGRESS**

**IMPORTANT**
This game is a work in progress and as such it WILL contain bugs, lack features, and probably break. This project is INCOMPLETE, use at your own risk!

Hello all. I love programming as a hobby. I have never gone to university or college, and I'm still in high school. I want to contribute something to the Arch Linux community. I already think there are plenty of useful tools, but not enough games. So I'm hoping to contribute my game, Hungry Human. Hungry Human is a 2 dimensional, SDL based game, written in C++. Here is the basic idea of the game:

-Simillar to pacman in gameplay
-The Hungry Human is the player.
-The player will need to collect all the sandwhiches in the level to win.
-The player can collect packages of gum (or maybe toothpaste) to freshen breath, and gain extra lives.
-The player can collect soda pop for an invincibility bonus, where you cannot take damage,
-The player will need to avoid things like coffee mugs, onions, and garlic. These foods give you bad breath, and you will lose a life if you eat them!
-The player can collect condiments (ketchup, mayo, or mustard) to shoot at the enemies. Ketchup has 1 use, mayo has 2 uses, mustard has 3 uses.
-The player can only hold one condiment at a time.
-The garlic has a damage radius of twice its size (because it smells). This means if you come near it (without touching it) you lose health! However, garlic moves very slowly.
-The coffee cup has a damage radius of its own size. However, it can spill, and flood parts of the map with burning hot coffee! Coffee moves at a medium speed.
-The onion can roll across the map, and has to touch the player to damage him. The onion moves at a much faster pace than the other bad foods, so watch out!
-The player moves at a medium speed.
-The map itself will be a house, layed out in a maze like shape.

This is a really ambitious project. So, I have broken it down in order of how I want to write it...
-Get collision and player movement working
-Get collectable sandwiches, pop, and gum/toothpaste working
-Get AI movement working
-Give the AI their abilities
-Give the player condiments, and get that working.

Right now, this game has collision working nearly flawlessly. That said, for such a large project, I would like your guys help. If you want to help me with this project, you may do so in all of the following areas:
-Writing sections of code
-Testing/debugging
-Making artwork
-Making sound effects
-Giving me ideas
-Providing support for this project.

All code will be available on github. I ask that you have a github account if you want to contribute code (and artwork too). The game is written in C++. I use Code::Blocks, a fantastic IDE. The CB files are included in the git repository. Finally, you will need the following SDL 2 libraries to run or play this game:
-SDL2 (basic SDL package)
-SDL2_image (for loading images other than BMP)
-SDL2_ttf  (True Type Font loading and rendering)
-SDL2_mixer (for audio)

I got all of the libraries from the standard Arch repositories.

This project is ongoing, and I hope to eventually have it in the AUR/Community repository. That way it'd be available for everyone to enjoy! In my opinion, a well designed 2D game is much better than a crappy 3D game. I plan on making a really good 2D game, hopefully with help from the Arch community.

I will be on the #archlinux IRC on freenode regularly. That is probably the best way to contact me, in addition to these forums.

All feedback appreciated!

EDIT:
Github link: https://github.com/JohnBobSmith/hungry_human

Right now its a skeleton, but I have player movement working, and collision is almost there. They say that for indie games, its a good idea to get community involvment and feedback early, so thats what I did. smile

Last edited by JohnBobSmith (2014-12-04 02:20:23)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#2 2014-12-04 02:13:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: My Contribution: Hungry Human - A game in SDL 2 **WORK IN PROGRESS**

Links?  Where on github is it?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-12-04 02:19:01

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: My Contribution: Hungry Human - A game in SDL 2 **WORK IN PROGRESS**

Whoops, my bad! I thought I included the links! Will edit original post and put them there.

Just an FYI for you Trilby, the Raspberry Pi is my christmas project. This is my ongoing project right now, and will be for some time to come. smile


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#4 2014-12-20 13:19:49

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: My Contribution: Hungry Human - A game in SDL 2 **WORK IN PROGRESS**

Hello all.

Progress has been made and as such, I am updating this thread. Currently, the game now has sandwiches mostly working. The game exits after 10 seconds once the player has collected all sandwiches. The player image is currently very bad, but I like the sandwiches...

Here is a picture of the current progress:
https://www.dropbox.com/s/n5d9vjs17sctj … 1.png?dl=0

The walls and boxes are programmer art. The latest code can be found on github here:
https://github.com/JohnBobSmith/hungry_human

Be warned, this is still a WIP and as such it will contain bugs and what not. Should you want to play it, feel free to compile it and try it out. Let me know what you guys think of my progress.

Special thank you to buhman, lyonsb, dissapointment, and others for helping with this project by providing code and/or support for the project.

Will add a readme with the credits and more info to the git repo.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#5 2014-12-24 18:11:33

hyshka
Member
From: Edmonton, AB
Registered: 2014-12-24
Posts: 1
Website

Re: My Contribution: Hungry Human - A game in SDL 2 **WORK IN PROGRESS**

Ambitious! I like it. Do you have any plan for art direction as of yet?

Offline

Board footer

Powered by FluxBB