top of page

Pixel RPG

It is an RPG in pixel art style, inspired by the first parts of the Final Fantasy series. I programmed this game without any engines, only C++, SDL library and free assets from the Internet. It was my final assignment for the first year at Bryansk State Technical University.

It is not finished, because I moved to the Netherlands and did not finish my study at BSTU. Therefore, this game has a lot of visual bugs.

Menus

I made simple menus for the main screen and in-game screen. Both of them can be controlled by a keyboard.

Classes

I codded 4 different classes, with different stats. You play as a team of 4 heroes and at the beginning, you can choose the class and name for each hero. Classes differ in stats such as HP, DMG, protection, amount of mana and stamina, and starting equipment.

Inventory System

I made 6 different inventories: weapons, armour, potions, abilities, quests, and quest items. Weapons and armour can be equipped or unequipped, and they affect heroes' stats. Abilities can be forgotten or bought in the shop. In the case of shops, they are divided into 4 NPC: weapons, armour, potions and abilities.  All inventories I decided to make common for all heroes, except abilities. However, every item can be used or equipped personally on the specific hero.

*Sprites are not connected with the item they represent, because I did not really focus on the visual part of this project, they are just drafts

Quests/Dialogues System

I realized the system of dialogues and quests in this game. There are some NPCs placed on the map. Some of them are common NPC, who just give you one phrase and that's it. On the other hand, there are some quest NPCs, who have a dialogue with options and at the end of this dialogue you can receive a quest. Also, these quests can be done, if you have a specific item required for the quest. After finishing the quest, the player receives a reward.

Battle System

I also made a mechanic for fighting with enemies. It is the same as in the first "Final Fantasy" - turn-based. Each hero can perform one action from the list: attack one enemy, use the ability, use the potion on one of the heroes, defence and escape. 
I programmed 3 types of common enemies, which differ in their stats and abilities. I also created a very simple logic for them: if they have an ability, which is not on cooldown, they cast it, if they have very little HP they are trying to escape, otherwise they attack a random hero.
In addition, I created a boss, which just has higher stats and he is alone on the battlefield. 

Saves/Loads System

This game contains save and load mechanics. Players can save and load the game at any moment except for battle. It saves all required data, such as player position, all inventories and equipped items and spells and quest status.

Abilities

I developed a system of abilities for heroes and enemies. All abilities have a damage and cooldown. Some abilities use a mana for casting, on the other hand, some abilities use stamina for casting. I added this difference to draw a line between some classes. Also, some abilities have a special debuff such as stun(target skip next turn), poison and fire(deal damage every turn) and mark(next attack will deal more damage).

bottom of page