Friday, September 15, 2017

Unity Session I - Animation

I realised that we've started quite a few game projects before, which have all been abandoned at a very early stage. But this time we're gonna make it. I just know it :)

Ok, so we've started working on a Unity 2D Tutorial where we follow video instructions and try to do the same thing as the guy on the video. The idea is to create a simple 2-dimensional game with the Unity game engine. I hope that after we're done with the tutorial videos, we'll be well equipped to start writing games of our own. So far, I have very limited Unity experience and I need the video tutorial as much as my daughter, so this'll be a great learning experience for both of us. My advantage over her is that I'm a professional coder at Reaktor (yes, we're hiring in Amsterdam, Dubai, Helsinki, New York, Tokyo and Turku!). Her advantage is that she's young, smart and has an almost unlimited supply of free time to throw at the project.

We had our first session the day before yesterday and we had a good time. We managed to create some basic animations for the player character and a couple of enemies.



After creating a couple of animations from the sprite sheet (basically a set of images) included in the tutorial, she was able to complete the rest by herself. After the one-hour session, she seemed quite enthusiastic about going on but it was bed time. I'm pretty sure we'll continue this soon. Stay tuned :)

Wednesday, September 13, 2017

Unity

A couple of days ago my daughter announced that she wants to create games that run on her phone. REAL games. I tried to steer her back towards Scratch and the like but she was adamant that those won't do, as she's about to start making real games. 

DAD: It's going to be really really hard and you'll be banging your head against walls for hours trying to make something work"
GIRL: That's exactly what I want!

She described a pretty complex game to me, containing several minigames and a main story. Then she showed me some graphics that she's drawn on paper. Fortunately I got her to understand that she needs to start with something smaller first, before creating her masterpiece.

When she went to sleep, I started digging, knowing fully well that I'm not a game programmer and need to do some catching-up before I can help her in her endeavours. I downloaded Unity and made a good start of a Pong-like ball game. It was surprisingly fun and easy, so I guess we're gonna go on with Unity.

Today we did the first few clicks of the 2D Roguelike tutorial before it was bedtime. Fun times ahead!

Monday, March 13, 2017

Script Academy

In a comment to a post on Reaktor Blog, a guy called Evgeni pointed me to a site called Script Academy. It's a site for kids to learn coding. And it looks promising! It has a treasure map too!



And it promises "After completing this course, your child will be able to create simple games and share them online." 

Well, we tried it with my 8-year old veteran coder girl who's used Vim at the age of 4 but since then gravitated towards other interests like 3D printing and playing the violin. Anyways, Script Academy starts in an easy way: Just click on buttons to generate Javascript that guides the (cute!) Owl to her baby. You can see the generated Javascript code and then run it. This was easy. Except the "run" button was a bit hard to find at first. For me. For the kid, it was peanuts.

Then came the part where you have to actually write the Javascript yourself. That didn't appear to be very hard, because example code was given. But here lied a surprising catch! Here's the result.



I guess there was a bit too much freedom this time. Give a kid a text area and she'll fill it with - well - anything on her mind at the time. I love her too!

Let's see if we return to Script Academy later!

Sunday, February 26, 2017

Black Hawk Down!

Btw, did you know I'm a helicopter pilot?

I have this 30€ helicopter from Clas Ohlson and I can totally land it on a dime. I mean, a two-euro coin. On a good day. But usually at least on the living room floor given enough room for maneuvering. My daughters, of course, share my passion for aviation.




I also have a spare chopper that has one of its main engines busted (not at all caused by a crash landing on my part). Or at least, had until today when my daughter wanted to build her own boat with a motor. So we had a long discussion about boat design, like, how should the weight be distributed (down), where the water line goes when it floats (dunna), where should the motor and the propeller be placed (down), how to make sure the axle hole won't leak water (grease?) and so on. Then she draw her boat with Tinkercad, with the intention to print it with our 3D printer. Here's how the design looks as of now. The design contains fittings for a little motor I had earlierly salvaged, that's something like 30*20*15 millimeters big.



You might notice that the motor compartment looks big for the tiny boat and the propeller placement isn't perfect: it'll be hard to get the whole propeller underwater. We are not boat engineers are we?

Then I remembered the spare chopper. It still had two (working) ultra-tiny motors, a control board and a Lithium Polymer battery onboard so it might be the perfect technical platform for the new little boat. So, we stripped all the unnecessary parts from the chopper and here's what we have now.





A nice radio-controlled motor-controller-battery package salvaged from a broken chopper! Let's see what comes out when we print the hull and combine it with the motor package. Do you think it'll float or sink?