Giter VIP home page Giter VIP logo

stylisedcharactercontroller's Introduction

Stylised Character Controller

A stylised physics based character controller for Unity 3D.

The character controller is based on the approach devised by Toyful Games for Very Very Valet. In this video from the team's development blog, the various techniques for the movement are outlined and explained. The video also provides snippets of code, though incomplete in places. The source code was not provided by Toyful Games due to it being tied up in the complex otherworkings of Very Very Valet. This project aims to be an independent pure re-creation of their physics based character controller.

Additional stylisation inspired by discussions found in Toyful Games blog posts on character animations and shaders and effects are also included. These implementations exist from a personal desire to have them in my own projects. The project makes use of Unity's Universal Render Pipeline (URP) to facilitate some of these graphical features.

Features

  • Physics based character controller, as described here.
  • Squash and stretch on the character makes motion appear more fluid and bouncy, it is a principle of animation.
  • Dithered silhouettes appear on the character when obscured from view, letting the player know where they are at all times.
  • Top down blob shadows on characters make 3D platforming feel sharper, and they look great when combined with Unity's inbuilt shadows on the environment.
  • Dust particles appear when characters move, making the character feel more alive.

Installation

Open the project in Unity. Open the demo scene located at StylisedCharacterController/Assets/Scenes/.

Usage

When running the project in the Game view, use WASD and Space to move and jump the character.

Contributing

  1. Fork the repository.
  2. Create a branch for your feature: git checkout -b my-shiny-feature.
  3. Commit your changes: git commit -am 'Added my super shiny feature'.
  4. Push to the branch: git push origin my-shiny-feature.
  5. Submit a pull request.

All contributions big and small are appreciated and encouraged!

Credits

Physics based character controller

Credits for the clever character controller goes to Toyful Games. A large portion of this system's code is their own as presented in this video.

Blob shadows

The blob shadows use Nyahoon Games' asset Dynamic Shadow Projector for URP.

All else

Is my own.

License (MIT License)

See this page for more information.

stylisedcharactercontroller's People

Contributors

joebinns avatar

Stargazers

 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.