Giter Site home page Giter Site logo

platformer-movement's Introduction

IF YOU ARE GETTING MISSING SCRIPT ERRORS, SEE BELOW :D

platformer-movement

Everything from the video and now more! Now Includes: Dashes, Wall Jumps, Slide and State Machine

Guide to the Scripts

Player Data

A scriptable object that contains all the parameters for your player eg: maxRunSpeed, jumpForce etc

Input Handler

Manages all the player's input, with the new Input System. The player scripts, by default, REQUIRE the new Input System package (which you can import via the packet manager). However if you wish to use the standard Input System just change all the references to the Input Handler (in the player movement script) to the standard input system eg: InputHandler.instance.MoveInput => Input.GetAxisRaw("Horizontal")

On the other hand, if you use my Input Handler I would recommend this (old but great) video explaining how the new Input System works: https://youtu.be/Pzd8NhcRzVo

Advanced Player (recommended)

  1. My recommened platformer script
  2. Has all the features shown in the video, with some bonus stuff
  3. Great if you're looking to upgrade your platformer script

State Machine Player

  1. The most complex and expandable platformer system
  2. A Finite State Machine is a great architecture if you're planning to work on your game for a long time and increase the complexity
  3. Allows full incredible flexibility
  4. Can require more time to implement and upkeep

Basic Player (very broken lol)

  1. Ignore for now
  2. Will just be a very standard platformer controller as you may see in a tutorial such as https://youtu.be/QGDeafTx5ug. Videos like this are great for beginners, but hopefully my take on platformer movement can highlight some of the great improvements you can make to create a fluid, precise charater.
  3. Will later be used to show contrast between player types

About Me :D

My Discord: https://discord.gg/XkuKREkdVf Best place to ask me questions or chat :D

My Twiiter: https://twitter.com/DawnosaurDev Keep up with my game dev journey and new platformer mechanics!

Thanks so much for checking this out <3

Dawnosaur

platformer-movement's People

Contributors

dawnosaurdev 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.