Skip to content

Instantly share code, notes, and snippets.

REM build_deploy_itch.bat <yourversionstring>
set igor="C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2024.13.0.238\bin\igor\windows\x64\Igor.exe"
set project=<fullpathtoproject>
set runtimeVersion="C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2024.13.0.238"
set runtime=YYC
set target="projectname-itch.zip"
set config="Itch"
set user="%appdata%\GameMakerStudio2\<userfolder>"
set itchpage=<youritchpage>
set version=%1
@tredfern
tredfern / build_deploy_steam.bat
Created April 13, 2025 21:57
Gamemaker Batch Build Steam Script
set igor="C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2024.13.0.238\bin\igor\windows\x64\Igor.exe"
set project=<fullpath_to_project>
set runtimeVersion="C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2024.13.0.238"
set runtime=YYC
set target=%~dp0\<zipname>.zip
set config="Steam"
set user=%appdata%\GameMakerStudio2\<your_user_folder>
set steamsdk=<drivepathtosteamsdk>\sdk1.61\sdk\tools\ContentBuilder
set steamcontent=%steamsdk%\content\<gamename>\windows

A simple template to use to help you think through your game design

--TITLE-- Game Design

Concept

In a few sentences, describe the idea. This should not describe all the mechanics but should give an idea of your current direction

Inspiration

@tredfern
tredfern / FadeIn.cs
Last active April 9, 2023 00:20
Simple Fade In Script for a Panel in Unity
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class FadeIn : MonoBehaviour {
public float fadeInTime;
// Fade in and then remove object
void Start () {
Image alphaChannel = GetComponent<Image> ();
using UnityEngine;
using System.Collections;
public class EnemySpawner : MonoBehaviour {
public GameObject enemyPrefab;
// Use this for initialization
void Start () {
foreach (Transform child in transform) {
spawnEnemy (child);
@tredfern
tredfern / ClampToViewport.cs
Last active February 23, 2016 19:41
Simple script to add to Unity Objects that clamps the sprite to the view screen.
using UnityEngine;
using System.Collections;
public class ClampToViewport : MonoBehaviour {
//Make sure to set the execution of this script to happen after any scripts
//that would update the position of the component
float minX;
float maxX;
float minY;
float maxY;
===============
Unity generated
===============
Temp/
Library/
=====================================
Visual Studio / MonoDevelop generated
=====================================
ExportedObj/
@tredfern
tredfern / .bashrc
Created May 29, 2013 17:28
A bash rc that kind of sucks. Going to clean this up.
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac