Skip to content

Instantly share code, notes, and snippets.

View Naxum's full-sized avatar

Jake Sawyer Naxum

View GitHub Profile
@cjddmut
cjddmut / EasingFunctions.cs
Last active May 31, 2024 12:55
Easing Functions for Unity3D
/*
* Created by C.J. Kimberlin
*
* The MIT License (MIT)
*
* Copyright (c) 2019
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
@KdotJPG
KdotJPG / OpenSimplex2S.java
Last active June 19, 2024 15:44
Visually isotropic coherent noise algorithm based on alternate constructions of the A* lattice.
/**
* K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
*
* More language ports, as well as legacy 2014 OpenSimplex, can be found here:
* https://github.com/KdotJPG/OpenSimplex2
*/
public class OpenSimplex2S {
private static final long PRIME_X = 0x5205402B9270C86FL;
@MattRix
MattRix / DZMenu.cs
Created April 28, 2014 17:55
Unity menu item to do iOS builds easily (make sure you put it in a folder named "Editor")
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using System;
public class DZMenu
{
[MenuItem ("DiscoZoo/Build for iOS")]
static void BuildForIOS()
{
@jpsarda
jpsarda / FScrollContainer.cs
Last active July 23, 2017 16:36
FScrollContainer for Unity3D Futile 2D game engine. To test it you need to change a few things in the Futile code : * _theSingleTouchable must be protected and not private * Update() must be declared virtual.
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/*
A serie of 4 classes extending Futile classes in order to manage scrollable containers with scrollable buttons.
@kylefox
kylefox / color.m
Created January 27, 2012 17:45
Generate a random color (UIColor) in Objective-C
/*
Distributed under The MIT License:
http://opensource.org/licenses/mit-license.php
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to