ev01 / platformercontroller2d Goto Github PK
View Code? Open in Web Editor NEWA 2D platformer class for Godot 4.0
License: MIT License
A 2D platformer class for Godot 4.0
License: MIT License
player need up or down where stairs and cirrus , i had use collision to do it ,but its effect not as well,
it is :
On the ground, you can crawl along the cirrus , or you can jump and grab the cirrus and crawl again; On the cirrus , you can jump directly down to the ground, if left and right direction, just like jump . Characters need to cross the ceiling terrain
i set collision mask and use mask to do it
I noticed when testing out the code that the coyote time doesn't work the way it's suppose to. You can actually set the coyote time to 0 run off the platform and still jump. I believe this is because of how the double jump is implemented. I tested this by creating a platform super high up and just walking off, and I still had the ability to jump with coyote time set to 0 and the number of jumps equal to 1. I also think the issues can be easier to see if you make the gravity multiplier and max_acceleration smaller. Basically I think due to how the double jump is implemented it allows for players to jump in the air twice which I don't think was intended.
I am also working to fix this issue myself, and I can screen record my project if you can't reproduce the bug on your end.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.