Skip to content

Instantly share code, notes, and snippets.

View jimtang's full-sized avatar
🐌
moving on slowly

Jim jimtang

🐌
moving on slowly
  • ShenZhen, China.
View GitHub Profile
@bkaradzic
bkaradzic / why_i_think_immediate_mode_gui_is_way_to_go_for_gamedev_tools.md
Last active June 28, 2024 19:11
Why I think Immediate Mode GUI is way to go for GameDev tools

Why I think Immediate Mode GUI is way to go for GameDev tools

Prerequisites

Before you continue, if you don't know what IMGUI is don't bother reading this post, just ignore it, don't write anything in comments section, etc. If you're curious about IMGUI see bottom of this post, otherwise continue whatever you were doing, this post it's not for you. Thanks!

If you know what IMGUI is, for context read following presentations and blog posts:

  • Insomniac’s Web Tools Postmortem
@akof1314
akof1314 / AnimatorControllerToolReflect.cs
Created August 26, 2016 13:28
Unity Animator 窗口的控制
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEditor;
using UnityEditor.Animations;
using UnityEditor.Graphs;
using UnityEngine;
public class AnimatorControllerToolReflect
{
@mattdw
mattdw / unlitspriteshader.js
Last active August 5, 2020 20:14
a sprite shader for THREE.js which doesn't need to clone textures, by storing its own repeat/offset
import THREE from "lib/three";
const params = `
varying vec2 vUv;
uniform vec2 offset;
uniform vec2 repeat;
uniform sampler2D texture;
uniform vec3 color;
`