Skip to content

Instantly share code, notes, and snippets.

import pygame
import sys
from pygame.locals import *
from sys import exit
from random import *
import ovr
import math
ovr.initialize(None)
@akisute
akisute / PostprocessBuildPlayer.rb
Created September 25, 2012 06:05
Adds weak frameworks as well as required frameworks in PostprocessBuildPlayer of Unity using Ruby
#!/usr/bin/env ruby
#
# PostprocessBuildPlayer
# Tested on Ruby 1.8.7, Gem 1.3.6, and xcodeproj 0.3.0
# Created by akisute (http://akisute.com)
# Licensed under The MIT License: http://opensource.org/licenses/mit-license.php
#
require 'rubygems'
require 'xcodeproj'
require 'pathname'
@gre
gre / easing.js
Last active October 30, 2024 16:49
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {