Code Monkey home page Code Monkey logo

shatteringtool's Introduction

Table of Contents

Object destruction / Voronoi Shattering

This repository contains the project for my master thesis, in which I implemented two methods for destroying objects in video games using Unity. The goal of my thesis was to provide an overview of the current techniques used for object destruction in video games and to give insight into their implementation. In addition, I compared the performance, quality, and complexity of these algorithms.

The following methods were implemented:

Swapping with prefractured object

The prefractured method is a simple but very effective method for most cases. Basically, you create a fractured counterpart of your asset and replace it during runtime when fracturing occurs.

Voronoi diagram-based destruction

This is a more complex method to implement but has the possibility for a higher quality if implemented correctly. This is because the fragments are generated during runtime, so you can create the fragments based on an impact point from a projectile and create more realistic results.

Screenshots

Screenshot of the game Screenshot of the game Screenshot of the game

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To run this project, you will need to have Unity installed on your machine. You can download the latest version of Unity from the Unity website.

Installing

  1. Clone this repository to your local machine using git clone https://github.com/YOUR_USERNAME/destroy-object-in-video-games.git
  2. Open the project in Unity by going to File > Open Project and selecting the project folder.
  3. You should now be able to run the project by clicking the play button in the Unity editor.

Built With

  • Unity

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

shatteringtool's People

Contributors

prommerbua avatar

Watchers

 avatar  avatar

shatteringtool's Issues

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.