第一回ソフトウェア技術研究会開催の発表資料。 JSで弾幕シューティング的なゲームに挑戦してみた。Read less
DOWNLOAD COPYRIGHT (C) 1999-2008 Blue Fountain 14 Aug, 1999 Released the first version 16 Aug, 1999 Fixed samples 27 Aug, 1999 Added 'Coffee Break' in the first section 31 Aug, 1999 Modified howto.html 19 Sep, 1999 Added 'Download Package' in the top page 08 Feb, 2000 Modified samples for linux 15 Sep, 2000 Added 'for Error' 18 Sep, 2000 Modified htimg.html 12 Feb, 2001 Modified htfirst.html 24 No
目次 この文書で書いたもの 何を作りたいのか ゲームの流れ 各画面説明 フィールド画面 戦闘画面 ゲームオーバー画面 ルール 主人公移動時ルール 戦闘時ルール ゲームオーバー時ルール どうやって作るか 言語の選択 プログラムの設計 コーディング&テスト キャンバスとなるHTMLを作ろう クラスの書き方 まずモデルクラスを作ろう ビュークラスを作ろう フィールドビュー 主人公状態ビュー ビュークラスのテスト 入力によってモデルが変化するようにしよう ルール適用しよう モードクラスを作ろう モードクラスとは キーマネージャーを作ろう ゲームモードクラスを作ろう 戦闘画面を作ろう ゲームオーバー画面を作ろう テスト 終了 デバッグ手法 あそぶ 評価 以前作ったランダムマップRPGをWebブラウザ上にベタ移植する webブラ
JavaScript, Game | 17:11 | CoffeeScriptからenchant.jsを叩いて使ってみたところ、スゴい速さでクロスプラットフォームなゲームができあがって、非常に開発がしやすい感じだったので、今回の開発についてまとめてみました。この方法でゲームを開発すると 実行環境構築が不要で クロスプラットフォームでスマートフォンでも動き 開発しやすく 凄まじい速度でゲーム開発ができます。enchant.jsとは、国産のJavaScriptで実装されたゲームフレームワークです。 ドキュメントやサンプルが充実しており、初学者でも敷居が低いのが特徴です。enchant.js - HTML5 + JavaScript Game Engine CoffeeScriptとは JavaScriptにコンパイルすることができる 文法ミスの場合、コンパイルできないため、エラーに気付きやすい
前回の大阪てら子で少しだけ触れた『enchant.js』と、少し前に話題になってたらしい『mario.js』について紹介したいと思います。 『enchant.js』ってなんですか? 『enchant.js』というのは、ファミコンの初代マリオやドラクエのような2Dゲームを作るのに便利な機能を備えたJavaScriptベースのゲームエンジンです。 enchant.js – HTML5 + JavaScript Game Engine 4Gamer.net ― ユビキタスエンターテインメント,無料で使用できるHTML5/JavaScriptベースのゲームエンジン「enchant.js」をリリース(ミドルウェア/開発ツール) 具体的には、以下の便利クラスなどが用意されています。 FlashのActionScriptベースな造りことがわかります。ざっと軽く見ていきましょう。 Gameクラス ゲームの
なお、ショートコーダーとは、 ショートコーダー(Short Coder)とは、プログラムのソースコードを極限まで短縮する技術を持ったプログラマのことである。「ソースコードの短縮」は、一見無意味に感じられるかもしれない。しかし最短コードを達成するには、省メモリ・高速プログラム・処理系の知識に加えて、並外れた集中力と熱いショートコーディング魂が必要なのである。 本書は主にC言語を用いて、データ構造・アルゴリズム・処理系に関する研究を行いながら積み上げられたコード短縮技術を、様々なテーマについての思考実験と共に紹介するものである。 だそうです。 「省メモリ・高速プログラム・処理系の知識に加えて、並外れた集中力と熱いショートコーディング魂が必要なのである。」 の部分を読むだけでも熱さが伝わってきます。 追記 →あの565バイトテトリスが、ついに500バイトを切った!
※ phiary に引っ越しました. 毎日プログラミングやWebに関する情報を発信しています! RSS 登録してたまに覗いたり, tweet やハテブして拡散してもらえると幸いです. enchant.js 怒涛の 100 tips!! ローカル整理してたら昔勉強がてら作った enchant.js のサンプルが大量に出てきたので, 整理するついでに公開しようと思います. 最終的に 100超えちゃったけどw(全部で102個あります) 逆引きてきな感じでまとめてます. 参考になれば幸いです. 全て jsdo.it に移植したので Web上で実行できます!! fork なりダウンロードなりして遊んでくださいな♪♪ Tips Base(基本) 基礎です. enchant.js のテンプレートを用意しよう Entity(エンティティ) 表示物系の基底クラスです. 内部で DOM を持っているので表示は
JavaScriptで書かれたソースコードはたったの75行 window.onload = function() { game = new Game(320, 320); game.fps = 24; game.life = 3; game.time = 60; game.score = 000; var label; game.preload(['http://jsrun.it/assets/k/r/t/X/krtXz.gif','http://jsrun.it/assets/v/1/a/l/v1alF.gif','http://jsrun.it/assets/e/B/C/G/eBCGr.gif']); game.onload = function() { bear = new Sprite(32, 32)
モバイルゲーム 物凄い勢いで勃興したモバイルゲーム業界は、いろいろな課題や問題に直面しながらも巨大化し、今日の時点でのスマートフォン向けゲームの市場へと継承されていきます。 モバイルゲームの歴史 2001 Javaアプリと3Dゲームの登場 Javaが利用できるようになったことにより、ダウンロード型のゲームが供給できるようになりました。 2002 携帯電話端末の大容量化・3D化競争 Java搭載携帯電話端末が登場してからごく僅か1年の間に、アプリのサイズに関しては10倍に広大化し、表現方法も2Dから3Dにシフトし始めました。J-PHONEは『ゼビウス』や『スペースハリアー』などといった昔のアーケードゲームを、ドコモはSIMCITYなどパソコンで世界的規模のヒットを飛ばしたゲームを主力商品としていました。 2003 モバイルゲームの一般化 メモリの制限が厳しいJava仮想マシン上ではなく、OS
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く