This is a working program that at the moment doesn't do a thing.
I'm still in testing and getting things to work I also have to translate some of it since I copied some code from a game I made but then stripped down to make it with classes. I also may have some pointless stuff in there that hasn't been deleted yet this is still a work in progress
I told glinka that I'm making it graphical and I started toying with some just before he posted his and after seeing his I believe I can do what I want to do. I had already had my character drawn and a little animation to give me an idea of what needs to be done. I defiantly plan to do more and better with what I have but I decided to get the backbone of the program working. After that I will work my graphics in with monsters. I plan on adding a level class where you will be able to walk around and a more graphical shop but as I said I need a backbone to work with first. I like the idea of posting my work in progress so that I can get some advice on what and how to do better. I tried adding comments in for what I was thinking on in places. So it will be a work in progress post where I will probably bounce around with what I'm doing. I may stop coding and start creating my graphic ideas in the process.
to see what I have working comment out one and uncomment out the other to see what I have going
- Code: Select all
//shop.CompareStats(Fists, Draw, LONG_SWORD,weaponAttack,weaponSpeed,weaponTwoHand,weaponMagic,weaponNames);
Draw.myCharacter();
glinka has pushed me to make a better intro than what I had. I think its still in my other project though. The character will be colored and it will be rated M there will be graphical blood spraying while they die. Hopefully I will have a better animation to show in a bit.
on line 312 in drawengine.cpp just add a 2 to dying to see another idea I was thinking on.
since this is a work in progress I will update by adding new links
10-16-09EDIT: I guess I should elaborate on what I'm thinking on some parts
I want to create a new weapon and when I equipt another weaopn it will delete the other weapon(I'm thinking more as a larger picture as in if you had a couple hundred weapons to choose from not to mention armor which would be five times that size that would be a lot of wasted memory) but I will be able to keep the extra weapon in inventory but only a string name. I may just ditch the enum in inventory not sure yet. So I guess one question would be what is a good way to delete a old and create a new. I will probably add more to this as I go through my code.