Skip to content

Instantly share code, notes, and snippets.

View ryz's full-sized avatar
😊

Steve Haßenpflug ryz

😊
View GitHub Profile
@ryz
ryz / kitty-monokai.reg
Last active March 5, 2023 00:42 — forked from gdvalle/putty-monokai.reg
Monokai style theme for KiTTY, an awesome PuTTY fork for Windows. (colors copied from ST2's theme.)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\9bis.com\KiTTY\Sessions\monokai]
"Colour21"="255,255,255"
"Colour20"="245,222,179"
"Colour19"="200,240,240"
"Colour18"="0,217,217"
"Colour17"="179,146,239"
"Colour16"="174,129,255"
"Colour15"="122,204,218"
@ryz
ryz / PixelPerfectCam.cs
Created November 30, 2015 23:19 — forked from pixelrevision/PixelPerfectCam.cs
Script for unity to create a pixel locked orthogonal camera
using UnityEngine;
/**
* A camera to help with Orthagonal mode when you need it to lock to pixels. Desiged to be used on android and retina devices.
*/
public class PixelPerfectCam : MonoBehaviour {
/**
* The target size of the view port.
*/
public Vector2 targetViewportSizeInPixels = new Vector2(480.0f, 320.0f);
/**