<<アイテム>> *鍵のアイコンに触れた際にテキストボックスと「鍵を手に入れた」のテキストを表示させる <<{a.png} <<{aa.png} <<鬼>> 猫を自動で追跡するように設定。 適当に書いたら斜め移動しかできなくなった。 ほぼ最短距離で接近してくるため異様に逃げづらい。この鬼かしこい。 8< game.rootScene.addEventListener(Event.ENTER_FRAME, function() { if(nuko.x + 25 < oni.x + 50) { oni.x -= onispeed; circle.x -= onispeed; } else { oni.x += onispeed; circle.x += onispeed; } if(nuko.y + 21.5 < oni.y + 50) { oni.y -= onispeed; circle.y -= onispeed; }     else { oni.y += onispeed; circle.y += onispeed; } >8 *鬼の当たり判定は便宜的に円で表示し、触れていなければ赤、触れていれば青に色が変わるようにした <<{aaa.png} <<{aaaa.png}