Skip to content

Instantly share code, notes, and snippets.

View kennethrapp's full-sized avatar

Kenneth Rapp kennethrapp

  • Texas, United States
View GitHub Profile
@kennethrapp
kennethrapp / Hacker_News_Feel.user.js
Created December 5, 2012 22:55
hacker news random quote userscript
// ==UserScript==
// @name Hacker News Feel
// @namespace kennethrapp1@gmail.com
// @description motivation
// @include *news.ycombinator.com*
// @version 1
// ==/UserScript==
function main(){
@kennethrapp
kennethrapp / input_map.cfg
Created September 29, 2023 03:40
Godot custom input map loader
[move_up]
axis="LEFT_Y"
axis_value=-1.0
key=["w", "UP"]
[move_down]
axis="LEFT_Y"
axis_value=1.0
key=["s","DOWN"]
@kennethrapp
kennethrapp / player2d.gd
Created April 12, 2024 22:24
Godot 4 default player controller
class_name Player2D extends CharacterBody2D
#does: coyote time, peak jump, jump buffer
#needs: dash, wall climb
# jump physics:
# https://www.youtube.com/watch?v=IOe1aGY6hXA
# https://www.youtube.com/watch?v=hG9SzQxaCm8
# https://youtu.be/2S3g8CgBG1g