Unity & 243 Tutorial Videos

07.19.2011

I mentioned a few weeks ago that I was making progress in my adventure into Unity. After making flying coconuts burst into fire, I decided to make some headway into the Hack & Slash RPG Tutorial, which is a 243 video (so far) series hosted on YouTube. The tutorials are presented using C# instead of JavaScript, and even though I've been using C# at work for the past year I'm by no means an expert. I still think of myself as a novice in fact.

That's a lot of videos.

The first 2 videos are "How to make a Health Bar" and run a total of roughly 18 minutes. Making the health bar probably takes all of 2 minutes, but Petey, the voice behind the tutorials, also shows how to set some things up (handy for following along with his way of doing things) as well as explaining what the code is actually doing instead of just typing and letting you copy. Even better, he makes mistakes along the way and doesn't catch them until he tries to compile. I've learned more from watching his mistakes than I have form untold other programming videos (it's true, I do learn not just from my mistakes, from from the mistakes of others as well).

Luckily I like the way these videos are presented, so I've been sticking to them. For me to get the most out of them, I go through and watch the video without copying any code the first time. This forces me to pay attention and actually learn the first time through. By the time I watch the 2nd time, coding along the way, I have a pretty good idea of what I'm doing and where I'm going. The drawback is that this takes twice as long as just following along the first time, but I think I'm maximizing what I'm getting out of it.

I've just finished up video #17, which puts me right at 2 hrs of video (which you can double for watching + coding). Considering I stare at a monitor at work all day I'm proud of doing some staring for fun afterward. I'm amazed it's taken me close to 3 weeks to get 4 hours of work done, but I tend to only do it at home when I'm in the right mood so as to not force myself to get fed up with it. Right now the focus is on setting up code for the RPG/record keeping element so there's not a lot to see for my efforts, but the whiz=bang-dazzle part will come back.

After this I've still got loads of other tutorials from other sites to work through, especially a car-driving and helicopter-flying combo. But that's a good 200 videos away. Let's see, 17 videos in 3 weeks means that I should finish 243 videos on... April 11, 2012. At least now I've got a target date!


game dev hobbies

Aaaaand..... Action!

07.11.2011

I think the above pic is me around 4 years old, circa 1973. Yes, I'm styling in matching 6-shooters, rifle at right-shoulder arms, red plastic motorcycle helmet, green sunglasses, and matching blue pinstriped tank tpo and shorts. To be honest, I thought I was originally wearing cowboy boots in this picture too, but I guess that's how memories can morph over the years.

I'm getting over a stomach flu that crept in Tuesday night. For the better part of 5 days I had diarrhea - I've even got a missing 15 pounds right now to show for it. I'm sure the weight will come back fairly quick since it was from rapid fluid loss, but maybe my stomach has shrunk enough I won't be trying to eat whenever I'm just sitting around bored. I've been doing a good job switching to drinking a lot of water. Trying to stay hydrated will help do that!

I've been building up the board game library of late. Ironic in that we haven't done any gaming yet this year, but I've gotten 5 or 6 new games in the past 3 months to try out. The one I'm looking forward to the most right now is Last Night on Earth, a zombie game. Jer just picked up Zombies!!!, so it looks like we're in store for some undead gaming!

I think this qualifies as a pretty random post.


random

Coconut Thrower Extreme

07.01.2011

So back at the end of April I was working through my first Unity 3D book. Since then I've wrapped up the first book and gotten most of the way through the 2nd book which gets down to the nitty gritty of running around in a 3D world and interacting. Granted, the interacting is limited, but I'm a beginner so it did a fine job!

The book uses a single game which you build upon as you go through the book. I love this approach as you not only build upon what you know (literally), but as you get more comfortable with the environment and the code as you see it over and over, you're more apt to go tweaking some parameters and learning something extra along the way. The path through the books takes the route of:

The above step was a lot of fun. I played around with settings and actually paid attention to how the scripting was working instead of just copying it. Once I got the last battery to appear after knocking down all the coconuts, I deviated from scripting and just ran around throwing coconuts. I threw hundreds of coconuts. I wandered around my little created island, throwing coconuts machine gun style the whole way. I went down into a small valley and watched physics at work as the coconuts would scoot along the ground, arcing along the hill, sometimes running into other coconuts and bouncing around.

After a few minutes of this I decided to go back to the platform with the targets, and as I turned and looked up the hill to the valley I had come down in, a herd of coconuts rolled toward me. It seems all those coconuts I had been throwing on the way here had kept rolling and were catching up to me. Hundreds more coconuts made there way down the hill - it was comical to watch them lumber about.

I went back to the book and found an interesting next step that I hadn't gotten to.

Although my processor was having no problems, a 5 second lifespan would keep the coconuts from rambling on forever. It would also keep me from laughing unexpectedly, so after trying out the 5 second lifespan I decided to leave the coconuts immortal.

I told Jerry of my adventure in learning, dubbing my tutorial game Coconut Thrower Extreme. After all, every game needs a title, even if it's a throw away tutorial. He chuckled where expected and seemed to enjoy my progress. Fatherhood has taught him well and I can appreciate that. I told him that there was more to the book but I had learned what I really wanted. The next chapter was how to build a campfire with smoke floating up, but I didn't think I would have a lot of need for that right now.

At that point Jerry asked "Could you make the coconuts smoke?"

I immediately thought of coconuts flying through the air with a smoke trial lingering behind. Imagine if I had turned and that first herd of coconuts hadn't just been rolling toward me, but rolling and smoking the whole time. What if they had been... SMOKANUTS?

"You know, I think I could make them smoke." And with that I returned to the tutorial and learned how to make a smoking campfire. Then I found how easy it was to transfer the campfire smoke to a coconut. I sent Jer a text message: "We have smokanuts!"

I continued tweaking Coconut Thrower Extreme to include a thrown coconut counter (it's like a score!), and you throw regular coconuts until you reach a preset limit (for now it's 1000) at which point the coconuts become smokanuts! There's even a "Smokanuts Unlocked" message that pops up beneath the score. When you double the preset amount, you're rewarded with flaming smokanuts (I found a use for that campfire!).

For fun I told the boss what I was doing. Since he also has kids he would know the correct enthusiasm to feign.

Me: Jim, I'm working through a tutorial video game I call Coconut Thrower Extreme.
Jim: Yeah, what do you do?
Me: You run around and throw coconuts!
Jim: Cool. At what?
Me: At whatever you want!
Jim: Ok.
Me: And once you throw enough, the coconuts start to smoke. They become smokanuts!
Jim: Ok. Why?
Me: Because then it's extreme. And the game is Coconut Thrower Extreme!

At that point Jim began to laugh, no doubt because of how stupid it all is. Maybe I need Coconut Thrower Extreme : Stupid Edition?

I've got a couple of things to do next in Unity, and the direction I take depends on my mood.


game dev

A Tom Hanks Mood

06.26.2011

This week finds us watching Tom Hanks movies. I don't know why, but I'm in a Tom Hanks mood. Before Saturday, I didn't know there was such a thing as a Tom Hanks mood.

Apollo 13 (1995) - I've been wanting to watch Apollo 13 since picking up the 15th anniversary edition (a year late), so maybe this was the movie that started me thinking about Tom Hanks movies. Even after 16 years this movie holds up well, maybe in part because it's set in 1970.
Green Mile (1999) - This is one of the movies on my list of if I ever see it on TV I quit flipping channels and watch it. I'm not sure how many times I've seen this movie, much less the parts here and there when I'm flipping channels. Somehow I'd forgotten how Michael Clarke Duncan just looms over everybody at 6'5".

Still To Watch

Cast Away (2000) - I had to go buy this one today. Somehow it was missing from the collection. I guess I'd watched it on VHS a couple of times, but not on DVD. I was wanting to watch this one right after Apollo 13, but that's when I found out I didn't have the movie. Thanks to $5.99 and the "used" section at MovieStop, that's no longer an issue.
Saving Private Ryan (1998) - I'm not sure if I'll follow through and watch this one. It's on the list since I just finished The Pacific, but I'm going to have to be in the mood to watch for nearly 3 hours. I like the movie, but it's not on my all-time favorites list.
I suppose I'll still do other things this week. Not sure what I'll have time for though...


movies/tv/dvd

The Trainer of Trainers

06.21.2011

I tend to read wrestler's biographies. I've read most of the WWE biographies published over the past 10 years. I know most of the events that are gone over in any given bio, but I enjoy picking up some behind the scenes info. You can usually pick up a little extra of someone's personality from their biography based on how they view events, people, places, etc. I guess that makes me feel like I know these people I see on TV every week just a little bit better.

The latest biography I'm reading is Bill de Mott's The Last Laugh which has just been published by Crowbar Press. Crowbar is one of those publishers who tend to gloss over the little things in books, like spell checking. It's not bad spell checking, it's more syntax checking. It's not unheard of to read "we took they're hand" or "and then the the other guy". I notice it more in the later chapters, almost like you can see the editor get tired.

Syntax picking aside, I've enjoyed reading Bill's book. You get the feeling you're sitting down and having a beer with the guy while he tells you his life story. I grew to like Bill while he was a trainer on Tough Enough back in 2003. There's something about his personality that makes you think he's a no-shit guy, and I like that.

I've still got about 50 pages left in the book. Right now there are little stories (paragraphs usually) about the kids he's trained in the developmental territories. Overall it's not the best bio I've read, but it's been interesting enough to keep my attention.


wrestling

Blog Archive

As always, correct spelling is optional in any blog entry. Keep in mind that any links more than a year old may not be active, especially the ones pointing back to Russellmania (I like to move things around!).

Tags have been added to posts back to 2005. There may be an occasional old blog that gets added to the tag list, but in reality what could be noteworthy from that far back?

Blog Tags

3D Printer (26)
4ground (32)
4ground-mall (40)
action figures/toys (10)
airbrush (7)
Aliens (1)
Amazon (12)
antenocitisworkshop (11)
Atlas O Gauge (2)
Batman Miniature Game (2)
Battletech (1)
belt sander (12)
Blood Bowl (4)
boardgames (77)
books/comics (19)
computers hate me (5)
conveyances (15)
diet (53)
dreams (7)
fallout (1)
feng shui (1)
Foundry (3)
Gale Force Nine (1)
game dev (22)
gaming miniatures (230)
gaslands (10)
gastric sleeve (34)
Green Stuff World (2)
Hasslefree (9)
Hero Forge (1)
hobbies (101)
Jailbirds Minis (2)
kevin smith (1)
Knight Models (2)
malifaux (2)
Marvel Crisis Protocol (2)
mckays (1)
models (11)
mom (32)
moon light (5)
movies/tv/dvd (60)
Necromunda (3)
ninja division (1)
Pathfinder Deepcuts (1)
pilonidal cyst (5)
plastcraft (2)
programming/interweb (41)
rambling (60)
random (366)
random maintenance (3)
Reaper Bones (3)
reaper chronoscape (32)
renovation/remodelling (25)
road trip (27)
salesforce (1)
sarissa precission (2)
scenery (18)
studio miniatures (3)
ttcombat (12)
video games (51)
walking dead (36)
wargame foundry (3)
work (6)
wrestling (45)
zombicide (2)
Zombicide Invader (19)
zombie mall (23)