Skip to content

Instantly share code, notes, and snippets.

@Draknek
Draknek / readme.txt
Last active December 7, 2022 13:30
Each Last Laugh for this Beached Raft
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / Language.cs
Created October 20, 2022 20:55
Unity localisation scripts - pulling data from Google Sheets
using System;
using System.Linq;
using UnityEngine;
namespace Localization
{
[System.Serializable]
public class Language
{
[SerializeField] string _id;
@Draknek
Draknek / index.php
Created October 5, 2021 12:13
Redirect to region-specific Switch storepage
<?php
$ip = $_SERVER['REMOTE_ADDR'];
try {
$ip_data = json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip));
if ($ip_data->geoplugin_continentCode == 'EU') // Europe
{
header('Location: https://www.nintendo.co.uk/Games/Nintendo-Switch-download-software/Bonfire-Peaks-2041254.html');
@Draknek
Draknek / readme.txt
Last active September 20, 2021 01:07
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / readme.txt
Last active March 29, 2020 19:16
Get Away (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / readme.txt
Last active October 7, 2019 15:28
I Have No Mouth And I Must Create Blocks On All Sides Of Me (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / readme.txt
Last active October 6, 2019 00:55
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / readme.txt
Created September 28, 2019 23:53
What Gophers Go For (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / Splitting Headache
Last active August 7, 2019 13:54
Splitting Headache (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / Splitting Headache
Last active July 19, 2019 08:40
Splitting Headache
Play this game by pasting the script in http://www.puzzlescript.net/editor.html