top of page

2D rpg game engine

Overview

In 2011, while in graduate school, I built this 2D RPG Game Engine to better understand Tools Programming. Using Visual Basic (.NET) for this, I built out various editors needed to prototype a top-down, 2D Action RPG.

Using Harbour's Visual Basic documentation, I was able to quickly gain the basic knowledge of VB, then expand upon it with tools and a full prototype. I used JSON files to manage most of my data.

2DRPGGameplay.jpg

My contributions

Character Editor

 

Here you can set up the name, class, and race of the character you are creating. I have a modular database of classes and races, all with unique stats and mid-game abilities. This also manages animations, items and gold drops, and all stats (with a random roll D&D style, if you prefer).

With this tool, you can create:

  • Playable Characters

  • Companion Characters

  • NPC's & Vendors

    • Class defines Shops​

  • Enemies

    • Class/Race defines abilities​

  • Bosses

Note: You can see an image of the tools in the gallery below. Click on the gallery for full-screen images.

Quest Editor

Creation of content is made fast and scale-able with this tool. As seen in the image below, you can set up as many quests as you want, then link them to any Character (NPC) you have created and placed in the world.

The main elements you can set up for a quest are:

  • Quest Title

  • Short Summary (to see with quest)

  • Full Description (once you have the quest)

  • Requirements to complete quests include:

    • Collect Item(s)​

    • Collide with Location Trigger

  • Rewards can include:

    • Experience Points​

    • Gold

    • Any Item (from the Item DB)

Item Editor

This editor covers the creation of all items. As the image below shows, I have this tool covering the following values:

  • Name

  • Category

    • Weapon, Armor Types, Consumables, Currencies​

  • Description for the item

  • Weight (Skyrim-style weighting)

  • How much it can sale to a Vendor

  • If a weapon, how much attack damage it does, and what DX dice roll it can do (i.e. D6)

  • If an armor, how much damage can be mitigated when hit

  • Manages the Image of when it is in your inventory screen

  • Manages the Image of when it is dropped in the world

  • If weapon/armor, offers ability to buff/debuff core stats

For quicker reference an item, a Summary is displayed to quickly explain what all the settings mean.

My 2d rpg game engine Gallery

VBItemEditor
VBQuestEditor
VBCharEditor
2DRPGGameplay

2024 Will Fitzgerald

  • Twitter Clean Grey
  • LinkedIn Clean Grey
bottom of page