{"id":14961522,"url":"https://github.com/modcommunity/dot-fps-controller","last_synced_at":"2025-10-24T20:32:01.534Z","repository":{"id":225582707,"uuid":"766330547","full_name":"modcommunity/dot-fps-controller","owner":"modcommunity","description":"An open source 3D first person player controller for @godotengine that supports bunny hopping, air strafing, and more!","archived":false,"fork":false,"pushed_at":"2024-09-01T21:44:09.000Z","size":24261,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T04:24:39.033Z","etag":null,"topics":["bhop","bunnyhop","controller","fps","game","gaming","gdscript","godot","godot-engine","godotengine","lerp","movement","player","player-controller","scene","script","sprinting","strafe","strafing","walking"],"latest_commit_sha":null,"homepage":"https://forum.moddingcommunity.com/t/fps-controller-for-godot-dot-fps-controller/56","language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modcommunity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-03T00:38:28.000Z","updated_at":"2024-12-13T13:46:33.000Z","dependencies_parsed_at":"2024-09-24T13:53:00.459Z","dependency_job_id":null,"html_url":"https://github.com/modcommunity/dot-fps-controller","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"94dcc5af7c5eb8815d5360275a5f29ac0b3f8c29"},"previous_names":["modcommunity/dot-fps-controller"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modcommunity%2Fdot-fps-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modcommunity%2Fdot-fps-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modcommunity%2Fdot-fps-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modcommunity%2Fdot-fps-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modcommunity","download_url":"https://codeload.github.com/modcommunity/dot-fps-controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238035385,"owners_count":19405682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bhop","bunnyhop","controller","fps","game","gaming","gdscript","godot","godot-engine","godotengine","lerp","movement","player","player-controller","scene","script","sprinting","strafe","strafing","walking"],"created_at":"2024-09-24T13:25:28.582Z","updated_at":"2025-10-24T20:31:56.467Z","avatar_url":"https://github.com/modcommunity.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"An **open source** 3D first-person player controller for [Godot Engine](https://godotengine.org/) (version *4.3* and should work with *4.2*). This controller currently supports air strafing, bunny hopping, crouching, walking, and more!\n\nThis asset is a big work in progress and we plan on adding more features along with improving the current player movement in the future as we develop our own [open source games](https://moddingcommunity.com/forum/335-dot-games/).\n\n## Features\n* Air strafing\n* Bunny-hopping (with auto-hop option)\n* Crouching\n* Sprinting\n* Walking\n* FPS and speed 2D labels\n\nView our roadmap [here](https://github.com/orgs/modcommunity/projects/9)!\n\n## Godot Input Actions\nThe following input actions need to be added to the Godot project via *Project -\u003e Project Settings -\u003e Input Map* for the controller to work properly.\n\n| Action | Description |\n| ------ | ----------- |\n| `player_l` | Moves the player to the left. |\n| `player_r` | Moves the player to the right. |\n| `player_f` | Moves the player forwards. |\n| `player_b` | Moves the player backwards. |\n| `player_jump` | The player jump action. |\n| `player_crouch` | The player crouch action. |\n| `player_shift` | The player shift action. |\n| `player_walk` | The player walk action. |\n\n**Note** - Mouse wheel up button is supported for the `player_jump` input!\n\n**Note** - The `player_crouch`, `player_shift`, and `player_walk` inputs works as press and release. For example, the player must hold the input down to crouch and release it when they want to stop crouching.\n\n## Controller Settings\nThe following are variables exported by the player controller that can be modified outside of the controller.\n\n### General\n| Setting | Default | Description |\n| ------- | ------- | ----------- |\n| `verbose` | `0` | The verbose level (determines what is printed to the Godot debug console). |\n| `mouse_sens_x` | `0.3` | The mouse sensitivity while looking left and right. |\n| `mouse_sens_y` | `0.3` | The mouse sensitivity while looking up and down. |\n| `max_look_angle_down` | `-90` | The max look angle down. |\n| `max_look_angle_up` | `90` | The max look angle up. |\n| `max_slope_angle` | `deg_to_rad(45)` | The max slope angle. |\n| `crouch_depth` | `-0.5` | The depth to apply when crouching. |\n| `crouch_lerp_speed` | `12.0` | The lerp speed when crouching. |\n\n### Feature Settings\n| Setting | Default | Description |\n| ------- | ------- | ----------- |\n| `can_noclip` | `false` | Whether the player can noclip (not yet implemented). |\n| `can_crouch` | `true` | Whether the player can crouch. |\n| `can_sprint` | `true` | Whether the player can sprint. |\n| `can_walk` | `true` | Whether the player can walk. |\n| `can_auto_hop` | `false` | Whether the player can auto-hop by holding down space. |\n\n### Movement Settings\n| Setting | Default | Description |\n| ------- | ------- | ----------- |\n| `max_speed` | `7` | The max speed. |\n| `speed_left` | `0.100` | The left speed. |\n| `speed_right` | `0.100` | The right speed. |\n| `speed_forward` | `0.100` | The forward speed. |\n| `speed_back` | `0.100` | The backwards speed. |\n| `crouch_speed_multiplier` | `0.4` | The crouch speed multiplier. |\n| `walk_speed_multiplier` | `0.4` | The walk speed multiplier. |\n| `sprint_speed_multiplier` | `1.5` | The sprint speed multiplier. |\n| `accelerate` | `3` | The accelerate speed. |\n| `air_accelerate` | `100` | The accelerate speed while in air. |\n| `max_air_speed` | `1` | The max speed while in the air. |\n| `friction` | `1.5` | The amount of friction to apply. |\n| `stop_speed` | `10` | The stop speed. |\n| `gravity` | `25` | The amount of gravity to apply. |\n| `max_velocity` | `40000` | The maximum velocity. |\n| `jump_height` | `1` | The jump height. |\n\n\n## Preview\nHere are some GIFs and images showcasing the controller as of *3-2-24*.\n\n### Video\n![GIF 01](./images/previewgif1.gif)\n\n### Images\n![Image 01](./images/preview1.png)\n\n![Image 02](./images/preview2.png)\n\n## Credits\n* [Christian Deacon](https://github.com/gamemann)\n* [BleyChimera](https://github.com/BleyChimera) - Their code was a base for this controller with additions/changes. Thank you!\n* [Prototype Textures](https://www.kenney.nl/assets/prototype-textures)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodcommunity%2Fdot-fps-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodcommunity%2Fdot-fps-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodcommunity%2Fdot-fps-controller/lists"}