Giter VIP home page Giter VIP logo

godot-4-2d-platformer-template's Introduction

2D Platformer Template

This is a simple 2D Platformer template that is a good starting point for any Platformer game. This is made using Godot 4 and is a C# project.

General Information

This template includes the following features:

  • A playable character with the following features
    • Coyote Time - Give a fraction of a second after leaving the platform to still be able to jump (0.0f to disable)
    • Jump buffer - Give a fraction of a second after pressing jump to still perform the action (0.0f to disable)
    • Multiple Jumps - Give the player an option to jump more than once
    • Terminal Velocity - Limit the player's fall speed to give more air control if needed
    • Gravity scale - Multiply gravity by scale on fall (or/and when releasing jump button) (on stop jump and fall)
    • Apex Bonus - Give a small nudge to the player when apex is reached in a jump (Vector2(0.0f, 0.0f) for non)
  • A simple example of Animation Tree and multiple animation sprite sheets
  • A simple level to play around in and test out the capabilities
  • Player Start locator for the level that makes the camera in the level follow the character

How To Use?

  • Clone the repository [email protected]:odinn1984/Godot-4-2D-Platformer-Template.git
    • Feel free to also fork the repository instead
    • You can clone this repo to any directory (e.g: the name of the project you want to create)
  • In the directory that you cloned the repo to:
    • Open project.godot file
    • Update config/name value on line 13 to whatever you want to call your project (e.g: config/name="My Awesome Project")
    • Do the same for project/assembly_name
  • Open the project in Godot
  • Open your favorite IDE/Text Editor
  • Have fun :)

TODO

  • Introduce Multiplayer Support
  • Add extendable abilities system (e.g: Dash, Blink, etc...)

Credits

  • Character sprite is something I got a while back and don't remember who made it... If you know (or are) the maker of this free asset please tell me so I can give you credit :)

godot-4-2d-platformer-template's People

Contributors

odinn1984 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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