Hoping to Incorporate a crude health feature into a game.

Started by Ovi, Tue 27/01/2009 04:03:56

Previous topic - Next topic

Ovi

Okay, so I still haven't messed around with the program much - promise I will get on that some more - but I think I have some pretty solid ideas and want to start working things out.

One idea I have, since this game I have in mind deals a lot with survival and action-based gameplay, is to incorporate a health meter into the gameplay, and let the player use weapons to fight other characters with their own health meters. (Which may or may not be visible to the player, I don't know yet.)

I just feel like, I don't think I could do this sort of game without having a way to have the protagonist sustain damage from different characters and objects and visibly show the player how much health they currently have.

Is there a way to do this?


While I am at it, I am also considering a feature where you would switch between playing as multiple main characters in the game, either at certain story points or manually, or both.  And I would want the individual characters to have access to different items or controls to make them feel unique and important to completing different puzzles and objectives.

On another note, I have considered a create-a-character feature where the player would build their own protagonist from scratch, modify their colors and looks, and name them whatever they want.  But I don't know if this would be too difficult and time-consuming, it's probably too much for a first project.

Ovi

Oh...and I also want to make a nice menu players can access with the Enter button or something...

I think it would make the game more enjoyable to select items and equip stuff from a nice, visually-pleasing menu than a simple text one.

beomoud

All these are possible. Just start getting into it, reading the manual and the tutorials, there is also a RPG tutorial that might help, and if you stuck at any time we are here to help. There is no point in us giving you the whole code for your game by now...

Best Luck  :)

Ghost

Just to get you started, the Modules thread has a template for a Diablo2- style inventory, which should serve you well. A "Health Bar" is simple too; it could be anything from a number somewhere to its own, graphical GUI. And having your menu pop up after pressing Enter, heck, that's totally possible; just have a good look at the on_key_press section of your game script. YOu can do anything there.

SMF spam blocked by CleanTalk