Giter Club home page Giter Club logo

mod1's Introduction

mod1

Terrain generation and water simulation in Unity C#. (42 Silicon Valley)

Made in Unity version 2018.3.12f1
Recommended screen resolution: 1024 x 768

After building the game in Unity, copy Assets/Maps to <build_directory>/Assets/Maps.

Releases

Controls

Camera Controls

  • W, A, S, D, Q, E Move around.
  • Left Shift + Move Mouse Look around.

Terrain Controls

  • Enter terrain file name in text field, and then click Load Terrain to build height map in Unity Terrain object.
    • demo1.mod1
    • demo2.mod1
    • demo3.mod1
    • demo4.mod1
    • demo5.mod1
  • Click Random Terrain to generate and texturize a 3D mesh from layered Perlin noises.

Voxel Water Controls

  • Voxel Size Adjust water size.
  • Numpad 1 Initialize water around 4 edges of terrain.
  • Numpad 2 Initialize water along 1 edge of terrain.
  • Tap Numpad 3 Spawn rain.
  • Hold Numpad 6 Spawn rain.
  • Tap Numpad . Take 1 step in water-filling simulation.
  • Hold Numpad 0 Fast-forward water-filling simulation.

Particle Water Controls

  • Particle Size Adjust water size.
  • 1 Spawn water around 4 edges of terrain.
  • 2 Spawn water along 1 edge of terrain.
  • 3 Spawn rain.

Monster Controls

  • Tap P Spawn a toon witch, who does not like water.
  • Hold M Activate Moses.
  • R Remove all water and monsters.

mod1's People

Contributors

ashih42 avatar

Watchers

James Cloos 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.