Skip to content

Instantly share code, notes, and snippets.

View GreenShaman's full-sized avatar
🙂

0x00FF00 GreenShaman

🙂
  • One's Own
  • Nearby
View GitHub Profile
@grendell
grendell / 1. explanation
Created May 17, 2015 07:43
Axiom Verge Cheat System Explanation
Any password that begins with the letters AXIO will be treated as a cheat code.
This is how the game evaluates cheat codes.
1. Map the remaining eight characters to an integer value.
0 - 9 maps to 0 - 9 and A - Z maps to 10 - 35.
2. Multiply each value with a power of 36, determined by position,
and take the sum of those calculations.
x = 36^7 * v0 + 36^6 * v1 + 36^5 * v2 + 36^4 * v3 +
36^3 * v4 + 36^2 * v5 + 36^1 * v6 + 36^0 * v7
@dinodeck
dinodeck / StateMachine.cs
Last active March 14, 2019 20:29
A simple reusable statemachine written in C#.
using System;
using System.Collections;
using System.Collections.Generic;
public interface IState
{
void Update(float dt);
void HandleInput();
void Enter(params object[] args);
@josephbk117
josephbk117 / Liquid.shader
Last active June 25, 2024 21:52
Unity liquid shader
/*Please do support www.bitshiftprogrammer.com by joining the facebook page : fb.com/BitshiftProgrammer
Legal Stuff:
This code is free to use no restrictions but attribution would be appreciated.
Any damage caused either partly or completly due to usage this stuff is not my responsibility*/
Shader "BitshiftProgrammer/Liquid"
{
Properties
{
_Colour ("Colour", Color) = (1,1,1,1)
_FillAmount ("Fill Amount", Range(-10,10)) = 0.0
@GR3Y-SCALE
GR3Y-SCALE / Christmas Gift list.md
Last active December 26, 2022 21:43
Christmas gift list for 2021