Skip to content

Instantly share code, notes, and snippets.

View Brin-o's full-sized avatar
👨‍🎓

Brin Brin-o

👨‍🎓
View GitHub Profile
@Brin-o
Brin-o / game.txt
Created February 10, 2024 11:34
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"]],"hyperlinks":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}
@Brin-o
Brin-o / Util.gd
Created December 4, 2021 17:44
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
# ---------------
# JUICE FUNCTIONS
# ---------------
# HITSTOP
# stops the node from functioning for a certian amount of time
func hit_stop(_node, _time):
@Brin-o
Brin-o / readme.txt
Created November 12, 2021 13:07
Goodnight Robot (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Brin-o
Brin-o / readme.txt
Created November 11, 2021 22:45
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Brin-o
Brin-o / fonts.conf
Created May 23, 2021 12:44 — forked from SohamG/fonts.conf
Fix emoji in Linux and get color emoji in Discord! Place this fontconfig file in ~/.config/fontconfig/fonts.conf
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- 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
-->
<alias>
<!-- Change the string in the family tag to whatever font -->
<family>serif</family>
<prefer><family>Noto Serif</family></prefer>
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
Brin-o / Unity Squish and Squash
Last active September 15, 2020 16:29
A unity script that squishes and squashes things based on Time.time
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
Brin-o / gml
Last active May 1, 2020 19:27
Jiggly issues
//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;