Skip to content

Designed and implemented a 2D tile-based world exploration software into an interactive game

Notifications You must be signed in to change notification settings

ryanhayame/2D-World-Exploration-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

2D-World-Exploration-Game

Designed and implemented a 2D tile-based world exploration software into an interactive game

Features:

  • A 2D game world rendered by using an array of simple graphic models as tiles
  • A custom pseudo-random world generation algorithm for seeded level generation
  • Persistence and serialization for saving and loading game data
  • An A* search algorithm for targeted path finding among enemy units towards the player
  • A CLI and keyboard input recognition software to control character and navigate menus

Full Demo Video:

https://youtu.be/1Nj8qfH52fI

Screenshots:

Main menu

Seed menu

Example world

Demonstration of enemy path finding (can toggle on and off)

Demonstration of using CLI to input seed and start world

Demonstration of using CLI to input seed, move character, and start world

Tech Stack:

Java

Challenges and Lessons Learned:

  • Working with StdDraw for the first time to manage tile rendering and GUI menus
  • Creating the pseudo-random world generation algorithm was a difficult process that required multiple attempts restarting from the ground up
  • Understanding the different search algorithms and learning how to implement A* efficienctly
  • Learned how to work closely around the CLI and how to handle different types of arguments

About

Designed and implemented a 2D tile-based world exploration software into an interactive game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages