Code Monkey home page Code Monkey logo

videogamecoursework's Introduction

Gameplay GIF

Overview

This project was created for the CSC384 Video Games Programming module at Swansea University. The aim of the project was to create a video game in Unity with C#, from a selection of game genres. I chose to create a Frogger-style game, where the player must navigate a character across a busy road and river. Instead, I themed my game around a virus trying to infect computers, by crossing the paths of files and programs.

Features

  • Achievements
  • Leaderboards
  • Profile System
  • Settings

Achievements

Achievements

The achievements system uses a JSON file to store the different achievements. The achievements are loaded into the game and displayed in the achievements menu. They are unlocked by completing certain tasks in the game, such as completing a level or not dying in a level.

Leaderboards

Leaderboards

Players can compete against each other to get on the leaderboard. The leaderboard is for local players only.

Profile System

Profile

Players can set their name, and choose a colour for their virus character.

Service Locator Pattern

I used the service locator pattern for loading and saving player data. This allows the player data to be accessed from anywhere in the game, without having to pass the data between scenes. This is useful for the achievements and leaderboards, as they can access the player data from anywhere in the game.

Command Pattern

I used the command pattern for the player input. This allows the player input to be changed at runtime, without having to change the code. In the game you have the ability to rewind time, which changes the player input to the rewind input. This allows the player to move backwards in time, and undo their mistakes.

Gallery

Main Menu

The main menu of the game.

Death Screen

The death screen of the game.

Level

A level of the game.

videogamecoursework's People

Contributors

mitgobla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.