Skip to content

Instantly share code, notes, and snippets.

View nhaskins's full-sized avatar

Nathan A Haskins nhaskins

  • Haskins Information Technology LLC
  • St Louis, MO
View GitHub Profile
@nhaskins
nhaskins / gist:e85f69609ff1addc689123166491b7bc
Created May 6, 2023 22:06
Renpy-to-Itch new game checklist
::: Renpy-to-Itch New game checklist :::
[ ] Local: Install Renpy 8.1 from scratch
[ ] Local: Create a new project from scratch
[ ] itch-project-test/
[ ] Itch.io: Create a itch.io game
[ ] Get the name/project-slug
[ ] Ex: bunnygun/itch-project-test
[ ] Get the API token
@echo off
REM #push build to itch.io using butler / refinery
REM ### fill out config settings ####
set pathToBuild=c:\builds\DIM
set butlerName=bunnygun/dim-decent-into-madness-vr:win
REM ###run####
REM #compress the build to tmp zip for Butler use:
using UnityEngine;
using System.Collections;
using UnityStandardAssets.Characters.ThirdPerson;
using UnityStandardAssets.Cameras;
namespace BunnyGun {
public class World : MonoBehaviour {
public GameObject[] characters;
GameObject currentCharacter;
@nhaskins
nhaskins / gist:7b739a25b1b0849b5000fdd39c93f724
Created November 2, 2018 16:59
example-template.ahk.template.txt
; DEFAULT RUN SCRIPT
#Persistent
#MaxHotkeysPerInterval 200
#SingleInstance Force
debug := {DEBUG_OUTPUT}
executable := "{GAME_PATH}"
SplitPath, executable , , game_dir
@nhaskins
nhaskins / gist:5306f74ef87f64541e896100f2a3bba3
Created September 12, 2017 18:36
AndroidManifest.xml unity oculus
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:launchMode="singleTask" android:name="com.unity3d.player.UnityPlayerActivity" android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.INFO"/>
</intent-filter>
</activity>
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
@nhaskins
nhaskins / gist:3209d39c170df99cea28a477417ad762
Created September 12, 2017 18:36
AndroidManifest.xml unity oculus
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:launchMode="singleTask" android:name="com.unity3d.player.UnityPlayerActivity" android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.INFO"/>
</intent-filter>
</activity>
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
@nhaskins
nhaskins / gist:f30a6e885ae7f914bd82ea790cbe2d2a
Created September 4, 2017 01:59
GearVR quality Setting
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.VR;
public class VRQuality : MonoBehaviour {
public float renderScale = 1.5f;
// Use this for initialization
void Start () {
keytool -genkey -keystore op.keystore -alias op -keyalg RSA -keysize 2048 -validity 36500
echo password|jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore e:\builds\keystores\op.keystore e:\builds\op\op.apk op
E:\builds\util\ovr-platform-util.exe upload-gear-build -a 1374534632664596 -s 623f728a188b1888923a571e0dbd3feb --apk "e:\builds\op\op.apk" -c alpha -n "hello new world!"
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DinoController : MonoBehaviour {
public float walkSpeed = 5f;
// Use this for initialization
void Start () {