Skip to content

Instantly share code, notes, and snippets.


Brin Brin-o

View GitHub Profile
Brin-o /
Created Dec 4, 2021
A godot utility script. Should be used as an autoload and provides a load of handy functions that I use in my style of programming.
extends Node
# ---------------
# ---------------
# stops the node from functioning for a certian amount of time
func hit_stop(_node, _time):
Brin-o / readme.txt
Created Nov 12, 2021
Goodnight Robot (PuzzleScript Script)
View readme.txt
Play this game by pasting the script in
Brin-o / readme.txt
Created Nov 11, 2021
Untitled PuzzleScript Script
View readme.txt
Play this game by pasting the script in
Brin-o / fonts.conf
Created May 23, 2021 — forked from SohamG/fonts.conf
Fix emoji in Linux and get color emoji in Discord! Place this fontconfig file in ~/.config/fontconfig/fonts.conf
View fonts.conf
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- REQUIRES Noto fonts (along with Noto Color Emoji)
run `fc-list | grep -i -e "noto sans" -e "noto serif" -e "noto color emoji"` to confirm
<!-- Change the string in the family tag to whatever font -->
<prefer><family>Noto Serif</family></prefer>
View Unity & Elementary OS
Elementary OS and Unity
Downlading odd version via unity hub
- navigate to your Unity Hub location with termianl and launch this
./UnityHub_04bbd5e8a2807b1b18cc06cb02ae973f.AppImage unityhub://2019.3.6f1/5c3fb0a11183
Replace "unityhub://2019.3.6f1/5c3fb0a11183" with the magnet link you get by right clicking on the "Unity Hub" button in the download archive.
Launching Unity in elementary without zoom issues
Terminal command example:
GTK3_MODULES="" GTK_CSD=0 /home/brin/Unity/Hub/Editor/2019.3.6f1/Editor/Unity -projectPath /home/brin/Programming/Magnitiser2019
Brin-o / Unity Squish and Squash
Last active Sep 15, 2020
A unity script that squishes and squashes things based on Time.time
View Unity Squish and Squash
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class squish : MonoBehaviour
#region Squishy Base Values
public float squishX;
public float squishY;
float orgSquishX;
Brin-o / gml
Last active May 1, 2020
Jiggly issues
View gml
//CREATE EVENT START - ta event se zgodi enkrat, ko se object spawna in
//tu se initializajo variabli, ki so potrebni za squish kodo
//Squish Set up
squish_x = 0;
squish_y = 1;
squish_xVel = 0;
squish_yVel = 0;