Skip to content

A 2D top-down RPG game, with a tile-based world. Built with C++ (SDL2).

License

Notifications You must be signed in to change notification settings

mauritzn/Whispering-Origin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Whispering Origin

Specifications

  • 1280x720 (720p) non-scalable window.
  • Striving for concurrent 60 frames per second.
  • The player should always be centered on the screen (the world “moves” around the player).
  • 32x32 grid-layout for the world.

A 2D top-down RPG game, with a tile-based world.

[HP]: High Priority [MP]: Medium Priority [LP]: Low Priority I: Initiated C: Completed


Features

  • Map parsing [HP] C
  • Code cleanup [HP]
  • Fix everything into classes [HP] C
  • Debug Mode [HP] C
  • Player class [HP] C
  • World movement (“char movement”) [HP] C
  • Inventory System [HP] C
  • Collision handling [HP] I

  • XP System [MP] C
  • Progress bar and yield for tiles [MP] C
  • Money system [MP]

  • Rudimentary Monster class [LP]
  • Player & Monster Health Bar [LP]
  • Dialog creation [LP]
  • Multi-threading [LP]
  • Installer [LP]
  • Cross-platform support [LP]

Skills (max skill cap 20)

  • Woodcutting
  • Mining - Fishing - Simple Cooking - Smithing

Skill mechanics

The skill’s level will tell you which tool you can use and which item “tier” you can “use”.

When cutting trees, mining ores or fishing the “spot”/”item” has a specific amount of resources available.

When killing monsters, monsters will have a set of items which can have a random chance of dropping.

When cooking, there will always be a chance of food getting burned (perhaps).

When smithing, there can be a chance of failing doing said craft.


Inventory system

  • Slots: 12 item slots, 4 tool slots
  • Items stack: yes
  • Max stack size: 10

Stores items you get from resources like trees, ores, fishing spots and of course items that “drop” from monsters. Resource items stack, each stack can contain 10 items, after that a new stack is created. However weapons and tools do not stack.


Polynomial Progression

The experience system will go after this formula: (current level * 2) ^ 3

That in return will mean that the system will go after a polynomial progress which is cubed, much similar to the system made with the old game Armada which had (current level * 8) ^ 3.

Tested exp: https://repl.it/@Dreameh/FastWhiteGnuassembler


Items

Ores {{TYPE}} (resource amount)

  • Tin (max: 3) [used with copper to make bronze]
  • Copper (max: 3) [used with tin to make bronze]
  • Iron (max: 2)
  • Coal (max: 2) [used with iron to make steel]

Trees {{TYPE}} (resource amount)

  • Oak (max: 5)
  • Willow (max: 4)
  • Maple (max: 3)

Fish {{TYPE}} (resource amount)

  • Salmon (max: 3)
  • Cod (max: 3)

Money

  • Gold (max: 2 Million)


Controls

  • WASD: Up, Left, Down, Right
  • E: Interaction (Talking to NPCs & Non-combat related matters)
  • Space: Attack
  • Left Shift: Block (To be investigated)
  • F4: Toggle Debug Mode
  • Esc: Toggle menu (or exit screen)

About

A 2D top-down RPG game, with a tile-based world. Built with C++ (SDL2).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published