Hi guys. I present you my first game: Dreaming Warrior. Its 2D single player tile based role playing game with command driven turn based combat.
You can get the sources @
https://github.com/krofna/Dreaming-WarriorOr, the compiled binary for Windows @
https://github.com/krofna/Dreaming-Warrior/downloadsHow does it look like?Choose 'New Game':https://legacy.sfmluploads.org/cache/pics/221_NewGame.pngPick mage for 'Hard' difficulty and warrior for 'Insane': (You'll see what I mean)
https://legacy.sfmluploads.org/cache/pics/222_Class.pngWrite name for your character:https://legacy.sfmluploads.org/cache/pics/223_Name.pngNavigate your character using arrows and 'collide' with NPCs for interaction: All humans are friendly; orcs and dragons are unfriendly.
Also be wary of 'random encounters'. You may get attacked from ambush!
Pro tip: Always take quests. If you kill all enemies and quest isnt complete, you're stuck.
https://legacy.sfmluploads.org/cache/pics/224_World.pngQuest Screen:https://legacy.sfmluploads.org/cache/pics/225_Quest.pngVendor Screen:Here you spend money earned by doing quests/killing orcs.
Food regenerates health when used, water regenerates mana.
Potions cost more, but can be used in combat! Red is health, blue is mana.
Esc returns to 'main menu'.
https://legacy.sfmluploads.org/cache/pics/226_Vendor.pngCharacter Screen:By pressing 'C' this pops up:
I think its self explanatory, so I won't write too much about it.
You only need to know that 'esc' button returns to 'main menu' and 'enter' either consumes item or increases selected attribute if you have points left.
https://legacy.sfmluploads.org/cache/pics/227_Char.pngCombat:Self explanatory... Use arrows and 'enter', esc to return to main menu.
https://legacy.sfmluploads.org/cache/pics/228_Combat.pngPro tips:S button saves the game. As well as exiting it using X button on window and entering new map. If it crashes (crash is usually exit(1) invoked if something weird is going on) or you exit by using X on console it wont save, I didnt set the atexit();
Want to modify/make your own world?What you want is modify .txt files in World folder, whole thing is loaded from there, nothing is hard-coded.
Check out World Structure folder for instructions and MapEditor.exe to edit terrain and objects!
Use + and - to advance to next/prev map. Click on objects/textures on right and place them at map on left.
https://legacy.sfmluploads.org/cache/pics/229_MapEdit.pngBugs/Suggestions?This is my first serious program which I started writing after 4 months of learning C++, and it may (or may not be) horribly written. It was written in hurry, for high-school-students-programming-contest, but they disliked it and it failed its purpose, so I post it here seeking your opinion.
If you find any bugs, or suggestions, regarding code or game, feel free to notify me, or even open pull request on github
Also, sorry for bad english, may be found both in game and this post :/
P.S.
https://github.com/krofna/Dreaming-Warrior/commit/0d52edcef5583e991a5c40513965f6f5d5f4d41fNow I have bunch of code with 2 different naming conventions :evil: