Git Product home page Git Product logo

gridbasedbuilding's Introduction

GridBasedBuilding

Fortnite Building Remake

This should be a remake of the Fortnite Building System. This Project is discontinued.

Short Introduction :

  • This is still a Prototype

  • Lots of the Code is not commented (trying to do this)

  • Like the name said, it is based on a 3D Grid

  • Each Grid Node stores some information

    • Like Neighbors which I split into Static and Dynamic Neighbors
      • Static Neighbors is the Neighbor in World Position so it is always the same
      • Dynamic Neighbors is based on the rotation/direction of the custom Gizmo
  • Simple Terrain/Ground Collision Check

I did not find a good way to solve the tons of conditions which are needed for the Wall, Ramp, Floor Placement. Also for the chain destruction I considered saving all required Neighbors which was the wrong way of doing it.

Take a look in the GridNode.cs for more Information :D have fun to see some horror code

About the GridNode Recognition; it uses cardinal points mixing Y and Z Axis Rotation.

If you want to modify the KeyPress(es) used look at BuildHandler, in the Inspector and open Buildable Object. In each item (e.g. Floor, Ramp, Wall) you will see the Input Key selection.

Have Fun =D

https://youtu.be/KEdmQQ63Uto

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.