Skip to content

Instantly share code, notes, and snippets.

@maxwellmlin
maxwellmlin / LPX-Trial-Reset.sh
Created April 14, 2021 03:46
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
@manderly
manderly / heroGenerator.gd
Created December 17, 2018 02:39
Godot project hero generator code copied 12/16/2018
extends Node
#heroGenerator.gd
#makes a level 1 hero with random class and name
var nameGenerator = load("res://nameGenerator.gd").new()
var humanFemaleHeads = ["human_female_01.png", "human_female_02.png", "human_female_03.png", "human_female_04.png", "human_female_05.png", "human_female_06.png", "human_female_07.png", "human_female_08.png", "human_female_09.png", "human_female_10.png", "human_female_11.png"]
var humanMaleHeads = ["human_male_01.png", "human_male_02.png", "human_male_03.png", "human_male_04.png", "human_male_05.png", "human_male_06.png", "human_male_07.png", "human_male_08.png", "human_male_08.png", "human_male_09.png"]
var elfFemaleHeads = ["elf_female_01.png"]
func _ready():
@manderly
manderly / baseHero.gd
Created December 17, 2018 02:37
baseHero.gd
extends KinematicBody2D
#Hero properties - not governed by external spreadsheet data
#These are set when a hero is randomly generated in heroGenerator.gd
var heroID = -1
var heroName = "Default Name"
var heroClass = "NONE"
var level = -1
var xp = -1
var currentRoom = 0 #outside by default