Wednesday, March 19, 2014

Tutorial : How to use TileMap object in Construct 2


I got really confused about this new TileMap object in Construct 2, because there are a few critical limitations it has now. But I think I finally managed to figure out the best practice. The first problem I had was that I could not find "TileMap bar" (it's in the object viewer)!! And then, I had a problem with importing .tmx file from Tiled.

So, here are step-by-step instructions on how to make a map in Tiled and import that into Construct 2.

How to make an importable .tmx file in Tiled

  1. First, if you have not, download Tiled. I've got the latest release version 0.9.1 for me.
  2. For this example, I will use the famous "2D Circle Graphic" tileset from Lost Garden. Download it and find "GRS2ROC.bmp". We will use this in Tiled. Below is a demo of this tileset. Beautiful...
  3. Fire up Tiled and create a new map from ""File" -> "New...". Note that Construct 2 only support "Orthogonal" orientation. Base64 zlib is supported so leave it. Map size can be something like 20 by 20. Tile size we use is 40 px x 40 px. Hit ok.
  4. Now from the nemu, "Map" -> "New Tileset...". In the next dialog, leave the name parameter and hit [browse] button and select "GRS2ROC.bmp". This will fill in the name parameter automatically for you. Now set Tile width, height to be 40 px and Margin, Spacing, Drawing Offset to be 0. This is the easiest way I found to import all the tiles in this tileset. You could probably set spacing to match with the image file better. But, that's up to you.
  5. This step will deal with the unwanted spacing in the tileset. We make a compact one to replace it. Place each of tile in the tileset to the map without any spacing like below.
  6. (optional step) Because Construct 2 will not accept a map using multiple tilesets in Tiled, I guess we probably need to combine all the necessary tilesets for a map into one big tileset image. So, if you feel you want to add more tiles in your tileset, then open another tileset from "2D Circle Graphic" asset just like you did in step(4) (exactly same parameter setting will do the magic). And, add tiles that you want to the map on the left. (If you have a problem with offset, check this tip below.)
  7. Now resize the map so that it is just enough to contain all the tiles. "Map" -> "Resize Map..."
  8. Now save this map as Image. Go "File" -> "Save as Image...". Make sure to uncheck draw grid in the next dialog.
  9. Now you can use this image as your tileset image. Start a new map in Tiled and import this image as tileset as in steps (3) and (4).
  10. Now you can design your level. You can import the map you design here and the tileset image used in Tiled into Construct 2. Before saving, make sure that you have only one layer and only one tileset in Tiled. We don't need to export it. Just hit save icon to save it. This will save the data as native file format of Tiled which is .tmx file that Construct 2 supports.

How to import .tmx file into Construct 2

  1. Fire up Construct 2. Make sure that you are using the latest release version.
  2. Start a new project. And insert a game object by double clicking the layout. Choose Tilemap object from General tab. You can close the tilemap image editor that comes up.
  3. Go to "tilemap bar" which can be found at the lower right as a tab in the object viewer. So, click into the Tilemap tab.
  4. Now use the import icon (second from right) and pick the tmx file you just created. When prompted, choose "Replace image". If you get an error during import, make sure that you have only one layer and one tilemap in your tmx file. Also, check from "Map" -> "Map properties..." that encoding is one of those that Construct 2 can support. "Base64 zlib" should be good for most of time. Any advanced features like Terrain are not supported yet. So, make you that you don't have them in tmx.
  5. You are done! The existing map in .tmx file should have been imported Also, we can click on any of tiles in the tilemap bar and start placing them in the layout just like in Tiled. Nice!

Tip about pre-processing of tileset image

I noticed some of the bmp files in 2D Circle Graphic have a glitch of one pixel downward y-axis offset. So, the importing setting I described above sometime does not align perfect. I used IrfanView to open the image and used "Shift+Contol+Y" shortcut for "Auto crop borders". This worked like a charm for me. With this step, the spacing parameter of "Map"->"New Tileset..." works as expected too.

At moment, I will not create a full map in Tiled (although it's really nice tool), but I will use Tiled to merge and import Tileset images into C2 and create maps in C2 using tilemap bar.

How can I go back to the previous tilemap object again?

"2D Cirlce Graphic" assset has some background tiles like "PAVE.bmp" and "GRS2ROC.bmp". And it also has many overlays like "CLIFFVEG.bmp" and "FENCE.bmp". In Construct 2, you will probably want to organize them into different layers (at least one for background and one for overlay). But, if you try to have more than one tilemap objects in the same layer, it's really difficult to switch between different tilemap objects.

To access the tilemap bar of each tilemap object, first select the arrow tool in the tilemap bar, then click on the tilemap object that you want to edit in layout view. But simply clicking will hit the top most tilemap object. So, the easiest way I found was to organize them into different layers and switch off other layers except for the one you want to click on the layout.

Saturday, March 15, 2014

Amazing NES like version of Kirinji's "Aliens"

NES like cover version of "Aliens" by Kirinji

OMG. This is amazing... How can they do that?????

Here, this is the original by Kirinji.

But actually, my favorite is this cover by this girl. The best!

ファミコンバージョンとか、信じられない。アレンジ上手いなぁ。 DTMでやったのか、NESのエミュレータを叩いてやったのか。詳細はしらん。


Friday, March 14, 2014







Sunday, December 1, 2013


時間がなくて全く伸展がないですが、Reaperに試用が300日を過ぎてもまだStill Evaluatingボタンが押せるということを確認しました。


Monday, March 18, 2013

Ur-Styleのカヴァー by madoka ueno


Sunday, March 10, 2013

Kokeromin lime, a frog shaped instrument

frog muppet + instrument = keromin

keromin is a digital instrument shaped like a frog from a Japanese company troche.

You put your hand to control the mouth. How wide the mouth opened determines the pitch (the wider, the higher). And, press/hold a button on the back to play the voice. You can change the scales (all major/minor scales, and some ethnic/folk/blues scales). They have MIDI and line outs, too.

Please note that the center frog in the above video is not a keromin. This video is a fan contributed one and he wrapped some sort of small theremin in keromin-like frog muppet.

This cute instrument was featured in the 2012 Ig novel ceremony at MIT. Seek to about 30 min.

Evolution of keromin (keromine, kokeromine, kokeromine lime)


from the left: kokeromin, kokeromin lime, keromin

I found a table comparing between keromine and kokeromine. But the page is in Japanese. So, I will give you a short summary here:


Kerominis the first generation and the most expensive model (about 520 USD) for a serious musician. Keromin has a powerful speaker, a dip switch panel for detailed settings, and a wide octave range 2C to 7C.


Kokeromin is a more affordable version of keromine (about 100 USD) with some updates in the software side (more ethnic scales etc) for casual hobbyists. There are some compromises for build quality and scale range (at low pitch about half an octave less), speaker power, etc.

Kokeromin lime

Recently, Kokeromin lime is announced and soon to be released (2013 spring). They are taking pre-order requests (see below). This is a cheaper (70 USD) version of kokeromin yet it offers some nice new functions such as vowel singing mode (a, i, u, e, o) and drum set voicing functions.

Wow! Kokeromin lime can sing a song! Vowel singing mode

Check this youtube video singing "Happy Birthday", demonstrating the vowel singing mode. OMG, can you believe that he is only singing with vowel!? So, in stead of "happy birthday to you", he is actually singing as "a i, a u e u u".

It's so cute and affordable (70 USD) and offers so much fun. Kokeromin lite is the model I am gonna have to buy!!!

How to buy? Do they ship oversea?

Yes, they do! They are happy to accept orders from oversea. You can email them (kaeru(atmark) and check the details! Plz remember the kokeromin lime is not released as of writing.

Monday, March 4, 2013

Tracktion 4メモ

スラッシュドット・ジャパンで話題になっていたTracktion 4というDAWが面白そうなのでメモ。

RewireとかVSTとかVirtual Instrumentsは大体対応しているようだし、60ドルとReaperぐらいの値段なので要チェックかな。MacもウィンドウズもWin8まで対応していたりかなりまとも。ウィンドウズではASIO 2/WASAPIの両方対応。作曲・録音・編集・ミキシングからマスタリングまで統合的にカバーしていて、GUIが独特ながらもよく考えられているようです。バージョン4はバージョン3とあまり変わりないようですが、どんなものか知るのにはデモがあるので試してみるのが一番。