Luca Fusi Sound Design | Implementation

8May/140

WUIS Worklog THU 5/8

Today I Learned:

  • About scope and access. This does a lot to explain some of the compiler errors I've been getting when trying to build. I'm used to straight-ahead, "functional" programming stuff like .BAT scripting, which doesn't involve either of these concepts and in which variables set anywhere can pretty much be accessed anywhere else (an exception being within code blocks like IF statements). Turns out that public variables will display in the Unity GUI within the inspector of the object they're attached to, which allows you to tweak them at runtime. Useful for debugging and tuning RTPC curve calculations and stuff like that, I guess!
  • Read more into classes after seeing the Unity tutorial guy whizz through a bunch of stuff on them without stopping. Basic CompSci stuff that I just don't know, and seems worth reviewing. The differences between classes, structs (though I haven't run into these yet), functions, constructors, and instances of the above are still pretty murky right now. I will have to take an actual class on this stuff at some point, if only for the sake of having a teacher to ping with questions...

Debating switching the default editor back to MonoDevelop because of some intelligent stuff it does. Since it knows what scripts are loaded into the project, what's public, what's private, etc. it can autocomplete function references that Sublime can't. So, using MonoDevelop would prevent me from fucking this stuff up. On the other hand, sticking with Sublime force me to improve my knowledge of scope and access, since I'd have to be more careful.

Up Tomorrow:

  • Continuing with the tutorials! I'm thinking I'll probably hit my Text Fighter v1.0 project after a few more. Some days, you just wanna stay on target.