Kengo's blog

Technical articles about original projects, JVM, Static Analysis and TypeScript.

enchant.js

enchant.jsはモジュール化するといいと思う

enchant.jsをもっと簡単に使えるようにしようという話が大変興味深かったので、1ユーザとして思うところを。 なお私は業務ではenchant.jsを使わないし、プライベートでもここ数カ月ほぼ触っていないので、最近の変更はあまり追えていないかもしれないです。…

enchant.js templates are ready for English user

I've translated PRESS-START to English. Now English user can use this site to generate templates for enchant.js programming. PRESS START for enchant.js But I think it isn't enough for them to use enchant.js. For example, there is one user …

New game for learning Periodic Table

I've posted new game to 9leap. I designed this game for junior high school students to learn Periodic Table. This is the first version of this game, so it's very simple. 新しいゲームを9leapに投稿しました。中学生が周期表を学ぶために使えるゲ…

Rakefile generator for enchant.js

I've created a website which generates Rakefile for enchant.js programming in my GitHub pages. Currently it supports 3 plugins. Please try to use if you're interested in. 先日作ったRakefileを主要プラグインに対応させつつ汎用化しました。Init…

Rakefile for enchant.js programming

I found that starting game programming with enchant.js is slow. It has a lot of steps like creating index.html, downloading enchant.js and plugins, downloading images for plugins... it's boring, isn't it? 最近enchant.jsによる開発の「初速」…

How to accelerate launching your HTML game

HTML5ゲームに関するイベントleapfestに参加してきました。そしてLTの機会もいただけたので、旧ブログでも触れた起動高速化について話させていただきました。ここに絞って基本戦略とか横断的なネタとかをまとめたのが意外と楽しかったです。 なおスライドはS…

released a gl.enchant.js sample

I released a sample project for gl.enchant.js. You can run this project to access here. I want to use acceleration sensor with, but iPhone isn't WebGL ready yet, so I don't use it. gl.enchant.jsを使ったサンプルをGitHubに公開しました。加速…

「妄想変身ヒーローズ」コードリーディング

9leapで公開されている妄想変身ヒーローズが楽しく快適だったので、どんなコードなのか読んでみました。JavaScriptでそれなりの規模のプロジェクトを作る場合はどうするのがいいんだろう?という疑問へのヒントをもらえた気がします。enchant.jsに限ればScen…

狭い画面を広く使うためのenchant.ScrollableSceneクラスを作った

年末年始は予想以上に休めそうなので、きちんとしたゲームを1本仕上げたい*1と思いつきました。集中力が続けばシミュレーションあたりを作りたいなーなどと考えていたら、軍事担当任命などのような「ユーザーに複数の選択肢から選ばせる処理」というのがなか…