We learned about “else if” today! “Else if” is used to differentiate two different commands so that only the first one happens, not all of them at once. Also got a mini-challenge to see if we could program the Enter key to display a string when pressed. I did it correctly in my head so that’s a good sign.
They’re going very slow in this section, but that’s a good thing. Not only is scripting probably the hardest thing we’re going to face as budding programmers, but I have bonus motivation because I can’t actually follow along until I get home. Though now that I think about it, I’m not traveling around anywhere else so I could jury-rig Mom’s apple up and code there. Thoughts for a day that isn’t Christmas.
Shout out to my favorite gift of this Christmas, Justin! Second place was GI Joe: Commando Attack which is literally the best board game on the planet bar none. That’s right, that one you’re thinking of right now is worse. Go play GI Joe Commando Attack and try to disagree with me.
Mid-Section Quiz today. Normally when there’s a mid-section quiz I take it and then watch a video, but this time I’m letting it slide because (1) I’m not actually implementing the videos and I don’t want to get further behind when I go home and catch-up (2) I got 8/8 of the quiz which shows I’m fucking awesome and (3) It’s Christmas Eve and my Xmas presents of “Write Mom and Dad wikipedia pages on them” is dangerously behind and must be done by tomorrow. So that’s why I’m not currently playing my shiny new copy of Counter-Strike: Global Offensive one of my blog readers bought me (That’s the Daily SPUF blog, not this blog. Nobody reads this blog) I’ve wanted to play CSGO for a long time but couldn’t rationalize paying 25 bucks for it.
Man, I miss back when I had my desktop and no family obligations. Well okay let’s be fair, my family is awesome and I love every one of them, and I don’t get to see them often so I’m loving the chance to reconnect with everyone, but they’re not great for the ole productivity. But I won’t break the chain!
Today’s video we added some more variables and learned how to make the game react to the user pressing keys. Also learned that ctrl-apostrophe lets you explore the manual, which is super useful. We learned the difference between Start (which checks at the beginning only) and Update (which checks every frame). Also got introduced to the Collapse function, a good way to prevent the console from being flooded with identical responses.
Welp, here I am at Grandma’s house. Grandma’s at a ripe old age and we only get two days with her before having to zip home for Christmas so I spent the entire day in her company, meaning I have to do my video tonight. But like I explained before, I’m at grandma’s now, far away from the prepared desktop and sitting idly with my slowass cannot-do-Unity laptop.
But here’s where the “Don’t break the chain” system works its magic, because I want to keep the chain going so bad I watched a video even though I can’t do it! We covered variables, got to watch him define the variable “max” as the highest number the player can choose, and “min” the lowest number (ie 1). Then we got it to print some things. Except I didn’t, I just followed along but I totally knew how to do that beforehand so we’re not surfing into totally new territory or anything.
Chain is unbroken, even if it’s got some pretty weak links slinking along right now. Probably not the best time to add ten pushups a day like I was toying with doing.
Yeah, day 14 is the same premise as day 13. Lemme explain;
So yesterday I put all that shit on my laptop so I’ll have a laptop, but it was super slow. This isn’t a great laptop, the reason I put my Unity plans on hold before was because Unity was freaking laggy and bloated and everything took forever to do. So I waited until I got my new desktop for my birthday.
But now I’m at my parent’s house and said desktop is in Austin but I realized “Hey! I can use my mom’s Apple desktop!” So today I spent way too long installing Unity and making all the dumb stuff for the third time. And GUESS WHAT we go driving to grandma’s tomorrow, aka a place that DOESN’T have the desktop I just blew a bunch of time developing on, so I’m restricted again to my damn laptop. I don’t know if I can code on it, I really don’t.
But I will. Because nobody said coding was easy, and I’m not breaking the chain for anything, especially not wimpy problems like below-average hardware. We’re making a console game for god’s sake, I’m just gonna tank through it. And then eventually I can fly home and do all of it again as I update my actually-decent desktop! 😀 Gotta love programming!
In other news, got to see Star Wars Force Awakens. It was pretty awesome, deserves all the money it’s making.
I rewatched yesterday’s video and just retraced the steps instead of moving onto a new video. Still technically didn’t break the chain (after all, I said I’d watch a video a day, didn’t say a NEW video) and I just flew home to California so I’ve been on planes all day. So I had to recreate Number Wizard into this new computer. I’m ready to actually move forward tomorrow, but it’s gonna be painful these next nine days cause this laptop is sooooooo slow…
Still, nobody ever said genius was easy.
Oh god I don’t want to do this oh god I can’t do this no this is where i gave up last time it’s too hard I can’t I don’t want to please I’m sorry
Today we began SCRIPTING. In case you forgot from yesterday, we’re making a game where the Number Wizard can guess your number in 30 questions or less. To that effect we created a new game, gave it an empty object, gave that object a script, and added some simple code that made a “Welcome to Number Wizard!” line of text appear. Then we played it and it worked :3
That was a lot easier than I expected. Thank god I didn’t quit at this stage like I did last time because SCRIPTING reared its ugly head.