This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash |