Skip to content

Instantly share code, notes, and snippets.

View cfultz's full-sized avatar
🦈

Caleb Fultz cfultz

🦈
View GitHub Profile
@cfultz
cfultz / Player.gd
Created January 8, 2024 22:23
Godot 4.2.1 Player Script to stop diagonal movement
extends CharacterBody2D
# speed in pixels/sec
var speed = 500
func _physics_process(delta):
# setup direction of movement
var direction = Input.get_vector("left", "right", "up", "down")
# stop diagonal movement by listening for input then setting axis to zero
if Input.is_action_pressed("right") || Input.is_action_pressed("left"):
@cfultz
cfultz / GX-IR03.ir
Created January 28, 2023 19:22
GX-IR03 IR Flipper Zero
Filetype: IR signals file
Version: 1
#
name: Power
type: parsed
protocol: NEC
address: 01 00 00 00
command: 0A 00 00 00
#
name: Edit
@cfultz
cfultz / Dead Rising 2 infinite loading fix
Created February 15, 2022 05:18 — forked from coreybruce/Dead Rising 2 infinite loading fix
Dead Rising 2 infinite loading fix & controller fix instructions
You will first need to install xact first to fix the infinite loading screen bug
"WINEPREFIX=/home/$USER/.steam/steam/steamapps/compatdata/427190/pfx/ winetricks xact"
Change the location on the command above if your library is on a different drive location.
Please use the latest Proton-GE to also fix wierd controller layout issues
https://github.com/GloriousEggroll/proton-ge-custom/releases
After that your game will run without issues.

Keybase proof

I hereby claim:

  • I am cfultz on github.
  • I am cfultz (https://keybase.io/cfultz) on keybase.
  • I have a public key ASDwsbU9DHqW4nolmDZ6ynFxpSttUbRUj3lQlmZqFJPp-go

To claim this, I am signing this object:

package dev.fultz.counter
fun main(){
//immutable variable
//TODO: Add new functions
// val myString: String = "Android Masterclass"
// val myFloat: Float = 13.37F
// val myDouble: Double = 471.4288
// val myByte: Byte = 25