Skip to content

Instantly share code, notes, and snippets.

@lparkermg
lparkermg / IBuilder.cs
Last active October 18, 2020 15:44
Interface for the building functionality in Project 2.
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Helpers
{
/// <summary>
/// Interface to handle building.
/// </summary>
@lparkermg
lparkermg / Dithering-By-Luke.lua
Created April 18, 2021 15:24
Aseprite Dithering on currently selected layer.
-- Dithering (In Aseprite)
-- Dithers the selected layer using a basic algo.
-- By Luke Parker (https://twitter.com/MrLParker)
if app.apiVersion < 1 then
return app.alert("This script requires Aseprite v1.2.10+")
end
local cel = app.activeCel
if not cel then
@lparkermg
lparkermg / BuildHelper.cs
Last active July 31, 2022 05:27
C# and Batch File for the unity buildscript tutorial over at https://mrlparker.com
using System.Linq;
using System.IO;
using System.Collections.Generic;
using UnityEditor;
public static class BuildHelper
{
private static string _buildLocation;
public static void Windows()