So I've got something finished and pushed it through py2exe and heres the link
RPG roguelike proof of concept
Its got bugs and even the ending is a bit buggy but it's still my first finished game. Which is sad as it is poorly coded to me at least but it's done. Still I'd like to expand on this idea and this is more of a proof of concept, not going to expand this actual chunk of code but going to probably use it as a basis to make someting more fleshed out. The floor generation could use a sledge hammer on it as it is pretty boring though following original 'rogue' in spirit. Read me is put here just for convenience of filling this out. Also finished before deadline, yay.
RPG roguelike Proof of concept.
run main.exe to play
A simple RPG combat system fitted on top of a very basic roguelike idea. Go through 10 floors to defeat the evil demon lord.
forewarning : This game was more of a steping stone for me to complete a project and learn from the experience. The game probably has more than a few niche bugs that I have not encountered and may never fix. Also the balance is somewhat skewed. Also there are bad jokes in here, the character selection for one.
Character classes
Rogue : A thief who starts with the highest dodge. Rerolls dodge bonus for going first in combat and running away from encounters. Uses cowardly tactics to increase success of dodge rolls.
Fighter : A warrior that starts with the highest hp. Rerolls strength bonus to attacks. Uses tactics to lower a foes chance to dodge or protect an friend by making them harder to hit.
Wizard : A Mage who starts with a wand. Increases damage done with wands. Is able to cast spells that ignore toughness damage reduction and create a shield on self and friends that may completly nullify an attack, this is however unerliable.
Cleric : A man of faith who starts with the most potions. Is able to call down a smite on foes that always hit and heal allies however is not entirely reliable.
Paladin : A man of faith and steel. Rerolls toughness bonus for reducing damage. Has an oath to protect when used on a foe rolls dodge to get in the way of the attack regardless of the target on a friendly target will always intercept the attack.
Peasent : Repressed extra brought into the dungeon, not really a good option doesnt' even have class abilities.
Keys
Battle
Arrow keys - move cusor around
Q Quaff - use a potion on the target to heal.
A/Enter Attack - Attack selected target
Z Zap - use a wand to deliver a massive magical attack at the target
S Stance - change the character to a regular stance
C class stance - use the class stance for class specific abilities.
R Run - run away from battle.
Outside of battle
Arrow key - move character around
S Stats - view stats
P Pick up - pick up an item off the ground and give it to a party member
> Go down stairs - Go down some stairs.
Enter Accept option - used in menus
A blog about things. How novel. Talk about games of the console, computer, and table top kind. Add some programing nonsense and some drawing nonsense. Then season with some random stuff not covered, like how I stretched a buck by eating fried flour that day.
Showing posts with label demo. Show all posts
Showing posts with label demo. Show all posts
Thursday, November 22, 2012
Saturday, September 3, 2011
The mini project results
![]() |
| well it works |
So in yesterdays post I talked about a minor break in Combat project to try and do some roguelike programing as fast as I can under pygame along with a friend who was trying to make something to get him out of a slump. So we worked on it yesterday for a few hours.
Things went well for me at first, basic class creation and ideas for the "board" along with some methods to do movement and collision and it was all looking good. Then I started to try and draw to the screen and all the trouble started. Movement code was working wonderful until I realized moving above the test wall would cause it to vanish. From then followed a lot of debugging that didn't do much.
Cut to four hours later with lots of cursing and "knowing" what the problem was without actually knowing how to fix it and I had my friend look at the code. He knew "draw square" functions in java worked off an odd scheme of top left corner coordinates with a height and width variable to fill the rest out. Getting lost in how python works for it I assumed it was top left and bottom right corner to fill out the square so I was ending up with an increasingly bigger error. Fixed it and everything worked fine, the underlying system worked fine it was my misuse of graphics that messed it up.
After this I made a basic room and decided to send it to a friend. After a lot of trouble we failed to get it work which is why I don't like modules. This really put me off but I did add a bit more so I could prove the concept of me being able to set up roguelike things.
For those intersted you need to get
python 2.7.2
pygame 1.9.2a0 for python 2.7
and the demo itself as I won't call it a game
You just install python first then pygame after. From there you should be able to just execute the demo but I'm not entirely sure due to all the problems I have had with trying to get other people to use it.
As it stands you just move around with arrow keys and can kill defenseless goblins. After you're bored you can just exit out.
Either way it's something to keep around as it is a base for me to make roguelikes with.
Subscribe to:
Posts (Atom)
