GithubHelp home page GithubHelp logo

kyle-png / basic-fps-controller-godot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from colormaticstudios/quality-godot-first-person

0.0 0.0 0.0 66.26 MB

Fork of "Actually good first person controller for Godot 4.1"

Home Page: https://godotengine.org/asset-library/asset/2087

License: MIT License

GDScript 100.00%

basic-fps-controller-godot's Introduction

First person controller credit

By ColormaticStudios / Zakarya (Uploader to Godot Asset Library) https://godotengine.org/asset-library/asset/2087 https://github.com/ColormaticStudios/quality-godot-first-person

Original README

quality-godot-first-person

Actually good first person controller for Godot 4.1 MIT License (credit Colormatic Studios)

This is a first person controller that was made because there aren't many first person controllers for Godot, and the ones that do exist are pretty bad.

Directions

Move with WASD, space to jump, shift to sprint, control to crouch.

FEATURES:

  • In-air momentum
  • Motion smoothing
  • FOV smoothing
  • Head bobbing
  • Crouching

editor screenshot

More features incoming

Possibly a version of this that is an addon?

If you want to add this to an existing project, just steal the data/player folder.

You will also want to remove the code for pausing, it's the first two lines of _ready() and the _on_pause() and _on_unpause() functions. Note, you will need to bring your own mouse capturing code.

The player scene also has a little dot sprite in the middle of the screen, you can either delete that or provide your own cursor image.

If you make a cool game with this program, I would love to hear about it!

basic-fps-controller-godot's People

Contributors

colormaticstudios avatar kyle-png 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.