Skip to content

Instantly share code, notes, and snippets.

shader_type spatial;
render_mode unshaded;
uniform vec2 target_uv = vec2(0.5, 0.5); // The UV coordinate to affect
uniform float radius = 0.265; // Radius of the effect
uniform float min_cell_size = 0.02; // Minimum cell size
uniform float max_cell_size = 0.07; // Maximum cell size
uniform float falloff = 1.0; // Falloff factor for the size transition
uniform vec4 grid_color : source_color = vec4(1.0, 1.0, 1.0, 1.0);
uniform vec4 background_color : source_color = vec4(0.0, 0.0, 0.0, 1.0);
extends Node
signal server_hosted
signal connection_started
signal ping_updated(ping: int)
signal client_disconnecting
signal server_connected
signal server_disconnected
signal server_destroyed
class_name Player
extends FPSController3D
signal died
signal strength_test_started(fitness: FitnessHandler, strength_test: StrengthTestInteractable)
signal key_input(event: InputEventKey)
@export var underwater_env: Environment
@export var debug = false
@export var rb_contact_force := 2.0
## Base class for all characters in the game.
class_name SC_Character
extends CharacterBody3D
##############################
## SIGNALS
##############################
signal died
signal spawned
@levidavidmurray
levidavidmurray / basecamp-inline-code-styling-userscript.js
Created March 29, 2023 17:42
Basecamp Inline Code Styling Userscript
// ==UserScript==
// @name Inline Code Styling - basecamp.com
// @namespace Violentmonkey Scripts
// @match https://*.basecamp.com/*
// @grant GM_addStyle
// @version 1.0
// @author -
// @description 3/29/2023, 12:42:11 PM
// ==/UserScript==