Dimming Lighting Effect
Posted: July 31, 2014 Filed under: Game Dev., The Wandering Archive 1 CommentFinally, the lamp brightness is actually apparent now and if your lamp dims too much and you don’t have an idea of where you are you’re probably shafted
Otherwise… still working on questions I guess
Also decided I’m done drawing for this thing
Minor Code Updates, Quality Increases
Posted: July 18, 2014 Filed under: Uncategorized Leave a comment
I don’t get questions purely at random now;
this ensures I get all of the questions once before I get any question more than once
static List<int> NumberList = new List<int> ();
static int GetQuestionIndex() {
if (NumberList.Count == 0) {
FillList();
}
int RandomIndex = Random.Range (0, NumberList.Count);
int ReturnValue = NumberList [RandomIndex];
NumberList.RemoveAt (RandomIndex);
return ReturnValue;
}
static void FillList() {
NumberList.Clear ();
for(int i = 0; i < QuestionList.questions.Length; i++) {
NumberList.Add (i);
}
}
It’s Up
Posted: July 16, 2014 Filed under: The Wandering Archive Leave a commentPosted demo here:
Time for testing and continuing question refinement. Jesus christ these questions take forever to go over
Dark Souls Covenants Mug
Posted: July 1, 2014 Filed under: Uncategorized Leave a commentWent to a ceramic-painting shop and painted all the Covenant symbols on a mug. I can’t wait to see how it turns out; the pink is supposed to be bright orange and the yellow is supposed to be… more vivid
PRAISE THE SUN
Question Modes, Freebase Question Generator
Posted: July 1, 2014 Filed under: The Wandering Archive Leave a commentMade two buttons that go after the title screen to choose Trivia Mode or Math Mode; basically it decides whether to give the Freebase generated trivia questions or the math questions I’ve been putting together all this time.
‘Finished’ the question generator in that it’ll function with some oversight. At first, the idea was to use the MediaWiki API to get a list of random topics, then map those to freebase, then use the freebase API to get related words and the summary text. Today I decided it would be best to just manually compile a list of topics that are available on Freebase by name, and generate the questions from the hand made list of topics. I figured this way, I’d avoid including things I didn’t want to include; the number of articles on Freebase is far far higher than the number of topics I need for this game. I think I want a few hundred, and I’ll probably stop there. I just finished implementation so right now there’s only 24:
questions.add(ft.buildQuestion(“Electron”));questions.add(ft.buildQuestion(“Derivative”));questions.add(ft.buildQuestion(“Sputnik”));questions.add(ft.buildQuestion(“ISS”));questions.add(ft.buildQuestion(“Buckminsterfullerene”));questions.add(ft.buildQuestion(“Hadron”));questions.add(ft.buildQuestion(“Mount Everest”));questions.add(ft.buildQuestion(“Mount McKinley”));questions.add(ft.buildQuestion(“Mongolia”));questions.add(ft.buildQuestion(“Io”));questions.add(ft.buildQuestion(“Ares”));questions.add(ft.buildQuestion(“Archimedes”));questions.add(ft.buildQuestion(“Galapagos Islands”));questions.add(ft.buildQuestion(“Horseshoe Crab”));questions.add(ft.buildQuestion(“London Heathrow Airport”));questions.add(ft.buildQuestion(“Pegasus”));questions.add(ft.buildQuestion(“Florence”));questions.add(ft.buildQuestion(“Kremlin”));questions.add(ft.buildQuestion(“Pyongyang”));questions.add(ft.buildQuestion(“Eiffel Tower”));questions.add(ft.buildQuestion(“Phobos”));questions.add(ft.buildQuestion(“Christopher Columbus”));questions.add(ft.buildQuestion(“Zinc”));questions.add(ft.buildQuestion(“Zirconium”));