Code Monkey home page Code Monkey logo

2d-platformer-controller's People

Contributors

akashenen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

2d-platformer-controller's Issues

CharacterController2D::Walk Deceleration not working

This is an amazing asset you've created, thank you!
Deceleration in CharacterController2D::Walk is only being called once, and then the speed.x will be set to 0 on the next call to walk when speed.x is assigned at line 328 of CharacterController2D

I fixed it by replacing the else at line 325 with
else if (direction != 0 && (speed.x == 0 || Mathf.Sign(direction) == Mathf.Sign(speed.x)))

I haven't thoroughly tested this fix, but it appears to work for me on initial testing.

Regards,
-NomadArtisan

Errors with new Input System changes?

I've noticed a few errors popping up with some of these scripts with the changes to the new input system. Anything with "using UnityEngine.Experimental.Input" will need to be changed to "using UnityEngine.InputSystem;"

There's still a few other errors popping up in the InputMaster and PlayerController scripts popping up that I'm trying to fix.

Can avoid death on spikes

Since you are revived with invulnerability if you step into a spike trap before it goes away you will not die to that spike trap.
I would expect the player to die immediately once the invulnerability ends.

Can't work in version 2020

I fixed some errors but there's still two.

Assets\Input\InputMaster.cs(7,28): error CS0246: The type or namespace name 'InputActionAssetReference' could not be found (are you missing a using directive or an assembly reference?)

Assets\Input\InputMaster.cs(50,26): error CS0115: 'InputMaster.MakePrivateCopyOfActions()': no suitable method found to override

Any help?

Package

Hi, thank you for your work!

This is not an issue, but a request:

Would be great to transform this project into a unity package so we can install it via Unity Package Manager (UPM).

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.