Skip to content

Instantly share code, notes, and snippets.

View dresswithpockets's full-sized avatar
💝
comfy

Ashley dresswithpockets

💝
comfy
View GitHub Profile
@Andicraft
Andicraft / StairsCharacter.cs
Last active February 4, 2024 19:18
Stair-Stepping Character Example for Godot in C#
using Godot;
// Use this class as a base for a character controller in Godot to enable stair-stepping
//
// In your character code, simply call StairStepUp() just before MoveAndSlide(),
// and then StairStepDown() afterward.
//
// Make sure your character collider margins are set as low as possible.
// Inspired by and partially based on https://github.com/JheKWall/Godot-Stair-Step-Demo
public partial class StairsCharacter : CharacterBody3D
@dresswithpockets
dresswithpockets / Executed IO
Created May 12, 2013 02:44
VSL2NET, Convert VSL to .NET
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.CSharp;
using System.CodeDom.Compiler;
namespace ClassLibrary1