Skip to content

Repository files navigation

Survival Game Concept

Intro

This is a medium-high level Prototype of a Unreal Engine v5 Game, done mainly in C++. In this protoype it's a proof of concept of the basic mechanics of a survival game. It includes: Eating, Harvesting trees, Mining Rocks, Other creatures, Health, Stamina, Hunger, Inventory system, & A building system with even more to discover. The level uses Unreal Engine v5 landscaping tools to create a simple level that could be added upon if wanted too.


Preview Images

Note: They are a little compressed mainly due to GitHub requirements!

image image image

Gameplay Implemented

Most of the game was done completely in C++ Here is the mechanics done in these:

  • Player Camera
  • Player Movement
  • Building Mechanics
  • Item Rotating
  • Tree resources
  • Rock resources
  • Berry resource
  • Objectives
  • Player Inventory
  • Player Jumping

I also used some blue prints to handle the simpler things in the engine for instance these:

  • Huds
  • Player Stats
  • GUI

Controls

Player Controls:

  • W: Forward
  • A: Walk left
  • S: Walk Backwards
  • D: Walk Right
  • Space: Jump
  • Mouse: Camera
  • Left Click: Interact Button

Menu:

  • F: Invenotry Menu
  • F: Exit Invenotry Menu
  • Esc: Pause Menu

Building:

  • E : Rotate Building 90 degrees
  • Left Click: Place Building
  • Mouse: Change location of building

How To Play

The game is currently in a sandbox state. Where your Objectives are displayed on the top right of the screen to give you direction.

The main gameplay loop will be harvest resources. Enter your Inventory Menu and eat the berries collected or create buildings you can later place.


How It Can Be Exapanded

The game could easily be woven into any Survival game as the ground work is already laid out and requires minimal effort to create new resources. Here however are some things you could do to expand the game:

  • Replacing Programmer Art

    This allows for the game to look more polished.

  • Create more building types

    This gives the player more insentive to find other materials.

  • Adding Enemies

    Adding a way for a player to lose health aside from eating will be perfect to go along with the fact as eating allows the player to gain health.


Frequently Asked Questions

Q: "How do I Collect resources?" A: Walk close to the item to where it's most of your screen then press the Ineteract Button

Q: "Why Post this open source?" A: I believe a good programmer should have code anyone can understand if they look at the source. With this project I wanted other to look at the code I created as it is neat and completely commented for easy documentation. I also wanted to demostrate that this game was mainly done using only C coding lanuages

Q: "What do the other people do?" A: Nothing as of currently. They are a proof of concept of animals that could be running around as the player collects resources as well as other surivalist.


About

This is a medium-high level Survival Game Prototype of a Unreal Engine v5 Survival Game, done mainly in C++.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages