Archives for posts with tag: Katakana

So this week had one task. One job that had to be done. It was long, it was boring, it was tedious. It was implementing Katakana into Kana Quest.

Why is implementing Katakana such a chore I hear some of you wonder. Well simply because implementing each Katakana has a bunch of steps that are not at all interesting and when you times those steps by 46 (the number of kana) things get very boring very quickly.

So the pipeline is as follows.

  1. Create the sprites. (We talked about this last week as I was most of the way through making the Katakana Sprites at that point.)
  2. Set the image setting for each sprite.
    1. This isn’t too bad what I have to do is tell unity how it should process each sprite. How big the image is (pixels per unit), its filter type (point filter as bi-linear and tri-linear make pixel art look awful) and if its a single or multiple sprite image. Now all of the above I can do all in one go by selecting all the files at once, but below I have to do one by one, because Unity wont allow me to do this in batch. Finally I have to set the sprite size for multiple sprite Kana. So for each Katakana I had to go into the sprite editor and tell it to divide my sprite sheet how I wanted it divided.
  3. For each kana make an animation using the unity animation system.
    1. For the stone tiles this is easy. They are just one frame so its just a matter of dragging and dropping the image into a new animation. For the normal tiles this takes a while longer because I have to copy the animations seen on the Hiragana Tiles. But the big annoying part of this step is that I have a LOT of animations on the one object now. So much so that they don’t all fit on screen so adding a new animation took about three seconds of scrolling down the animation list before I could get to the “make new animation” button.
  4. Add those animations to the animator of the tile object, and then set up the logic of when to play those animations.
    1. So putting the animations into the animator is easy. Select all the files you want and drag them onto the animation screen. Setting up the logic has to be done one by one and is really tedious. Right click from where you want the tile to transition from and to (from all to each individual animation in this case). Then click the arrow that comes up and create the parameters controlling the animation. In this case, what is the tile’s hiragana number? Is Katakana enabled? And is this a stone tile or a normal tile. Rinse and repeat 92 times.
  5. The last step is to add a control for turning Katakana off and on. This was the last and easiest step. Now if the player presses ctrl+shift+k in game katakana will be toggled on and off.

And that’s the process. Since you got through all the technical stuff your reward is some gifs! Enjoy!KatakanaDemo


Another week another update. This week has been kinda slow. This is partly because I’m still slightly recovering from AVCon. The other reason is this week I’m working from home and I always find a way to goof off when I’m at home. (This would be why people have work studios).

That said I do have some fun stuff to show off. The first thing which I am personally most excited for is the background art of the second world!ParralaxTest2GIF.gif

So I am super happy with how this turned out. The biggest thing that is different between this art and the tutorial background is that this has been designed to not be a static image. I drew each part of this background on nine separate layers that will repeat. The reason I have done this is because for each world I want to be able to add as many levels as I want without needing to redraw the art. This was a problem I noticed vary quickly from the first background: that it was drawn for a specific number of levels. If I need to change that number later on, making my backgrounds this way will allow me to do so. So now onto some of the artistic decisions with the piece. So this piece is set in summer following on from the last background that was set in spring. The rice in the foreground is a dead giveaway for this. A couple of other fun things about this piece is that it was inspired by the town I used to live in (Asago in Hyogo Prefecture). Lots of stunning mountains, rice fields everywhere, and ever so slightly worn down buildings. A couple of small details on the buildings is on the announcement board I wrote “テオドの” which basically means “This is Theodor’s”. Yes I am capable of being that vain.

Next up is Katakana. Katakana is one of the three writing systems in Japanese. All the gifs and images shown previously have been of Hiragana. Hiragana and Katakana (mostly) produce the same sounds, but Hiragana is used for native worlds whereas Katakana is used for foreign words. I have planned to have Katakana in the game for a while. The reason is that mechanically they will operate the same as Hiragana and A LOT of people forget their Katakana. So usually what happens is folk spend a lot of time learning Hiragana, then they get to Katakana and are just sick of rote learning letters. So it was simply a matter of when I found the time to implement it. Its not particularly hard to put in, just time consuming. But the first step is getting the Katakana sprites done.


Well as of this week I have all the Katakana versions of the normal and slime tiles ready to go. Not gonna put them all up in the blog post because that just takes up space for no real reason. Haven’t got them working in game yet, but the sprites are done so that is one big step to implementing it.

The way it will work in game once implemented is the player will choose Hiragana or Katakana from the options menu. Then all puzzles will appear as they normally would with the selected letters. This way the player can practice the one they want freely.

Ok. That’s me for the week. I’ll see you all next week. Take care.