Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor
Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor
ファミコンの横スクロールマリオの挙動をUnityで作ってみました。Physicsに全ておまかせ・・・というわけにはいかず、思っていたよりも大変です(笑)ということで、今回はそのレポートを書いてみます! 今回の記事では、Unityでマリオの挙動を作るのに必要な項目を「ジャンプ編」「衝突判定編」「アニメーション編」「横スクロール編」「入力デバイス編」の5つに分けて紹介していきます。 ジャンプの挙動編 ジャンプボタンを押しっぱなしにしたときの挙動 ジャンプ後、落下の軌跡 空中で移動できる 当たり判定編 上方向の衝突判定 横方向の衝突判定 めり込み対策 アニメーション編 横スクロール編 コントローラ入力編 まとめ ジャンプの挙動編 マリオのジャンプは普通のジャンプとは異なる点が3つあります。 ジャンプボタンを押し続けると、ジャンプの高さが変わる ジャンプの軌跡は放物線ではない 空中で左右キーを押す
先ほどとりあえずゲームを人に遊んでもらえるようにしました。 しかし、このままではゲームに使っているファイルをすぐに見られてしまいますし、 ファイル数が多くなったとき、圧縮・解凍に時間がかかります。 そこで、DXライブラリに同梱されているアーカイバでフォルダを一つのファイルにしてみましょう。 DXライブラリをダウンロードして、展開し、「Tool」>「DXArchive」と進んだところにある「DxaEncode.exe」を使います。 先ほどの「ゲーム」フォルダにある「画像」フォルダをこの「DxaEncode.exe」の上にドロップして下さい。 すると・・ 「画像.dxa」というファイルが生成されました。 これは「画像フォルダ」を一つのファイルにしたものです。ですから「画像」フォルダは削除して構いません。 これで改めて「GameProg.exe」をダブルクリックして下さい。 きちんと素材が読み込
ゴールデンウィーク中に、wise9 というプログラミング情報ブログで、Processing.js というプログラミング言語を使っての初めてのゲームプログラミングの記事を書かせていただきました。全6回ありまして、最初の第1回では線を引くだけのプログラムから、ちょっとづつステップアップしていって、最後は弾幕風シューティングゲームを完成させるところまで、解説しています。 まぁ、こんなかんじで、Processing.js を使うと、簡単にブラウザ(iPhone等のスマートフォンを含む)で動作するプログラムを作ることができちゃいます。自分でゲーム作ってみたいなぁと、ちょっと思っているような人など、読んでもらえたらとおもっています。ブラウザ上で、ソースを編集して、すぐに動かせるようなページも準備していますので、お気軽にゼヒ! 第1回 Processing.js で初めてのゲームプログラミング 第2回
[SQEXOC]Luminous Studioが目指す汎用かつ柔軟性の高い次世代AIアーキテクチャとは ライター:米田 聡 スクウェア・エニックス AI担当リードリサーチャー三宅陽一郎氏 スクウェア・エニックスは,10月8日に東京・新宿で「スクウェア・エニックス オープンカンファレンス2011」を開催した。このイベントを主催したテクノロジー推進部では,現在Luminous Studioと呼ばれるゲームエンジンを手がけている。今回取り上げるカンファレンスでは,Luminous Studioに実装される予定となっている次世代AIについての解説も行われた。担当したのはゲームAIの第一人者,三宅陽一郎氏だ。はたしてどのようなAIの実装を検討しているのか,概要を紹介してみたい。 世界との関わりで成立する知性 知性というのは環境に対応するために生じてきたもの。したがって環境の複雑さに応じた複雑さを持つ
迷路自動生成アルゴリズム プログラムによる迷路の自動生成の解説ページです。 どちらかというと大きな迷路を生成する事に興味があり、ゲームソフトで使われる迷路とは観点が異なっています。 下記のソフトをダウンロードして実行すると、棒倒し法と穴掘り法と壁延ばし法の実際の迷路の生成動作を見ることができます。 ダウンロード(Windows用ソフト) 249Kバイト 1.はじめに 自動生成迷路はの基本形は方形座標上で、各マスが壁または道から成り立っています。 このデータはプログラム上も2次元配列で簡単に作れ、各マスが壁か道かだけを覚えていればいいので、表現も簡単です。 またこれを画面に反映する際も、道や壁を適当なアイコンに置き換えればいいので、比較的簡単にゲームに使えます。 道の幅は通常1マスです。 2.棒倒し法 棒倒し法は、比較的プログラミングの楽な迷路生成法です。 最初に基本となる四角の外壁と、その
SRPG StudioはDlsiteにてご購入いただけます。 このページでは、DLsiteでのご購入の流れを記載しています。 ご購入の流れ~ ステップ1: 「会員登録して購入」ボタンを押す Dlsiteの右上の箇所の「会員登録して購入」ボタンを選択します。 ステップ2: 会員登録を行う Dlsiteで何からの商品を購入するには、会員登録が必要になります。 ここでは、メールアドレスによる登録を説明します。 ご自身のお手持ちのメールアドレスを入力後に、「確認メールを送信する」をクリックします。 ステップ3: Dlsiteからのメールを確認 Dlsiteから「ユーザー登録のご確認」というタイトルのメールが送られてきますので、それを開きます。 「ユーザー登録:情報入力ページへ」というボタンをクリックします。 ステップ4: Dlsiteのホームページでユーザー登録 今後、Dlsiteへログインする際
2. 自己紹介 • 1998年 株式会社ナムコ 入社 • 1999年 蚊取り大作戦 (ナンジャタウン) • 2000年 ディグダグ (パチスロ) • 2003年 ミスタードリラー ドリルランド (GAMECUBE) • 2003年∼2004年 ドンキーコンガシリーズ (GAMECUBE) • 2005年∼2006年 リッジレーサー6, 7 (Xbox360, PlayStation3) • 2006年∼ 社内サウンドライブラリ NUSound アーキテクト 4. リッジレーサー6 Love FOOTBALL リッジレーサー7 鉄拳5 DARK RESURRECTION 鉄拳5 DARK RESURRECTION ONLINE ビューティフル塊魂 エースコンバット6 鉄拳6 ソウルキャリバー レジェンズ スマッシュコート3 ファミリースキー ファ ミリージョッキー もじぴったん プチプチ ソ
はじめに 今回は、メモリアロケーションに関して、Java・C#などプログラミング言語やUnity・UDKなどのゲームエンジンにおいてはメモリの事なんて全然気にしなくていい時代になっている(!?)中、ゲーム開発におけるメモリアロケーションについて、えーでるわいすで現在使われているゲームエンジンでの実装も踏まえて一回まとめてみようかと。。。 発端は、@aizen76さんの「カスタムメモリマネージャと高速なメモリアロケータについて」というスライドを偶然見つけたのがきっかけで、自分は今まで深く理解せず何となくでやってきてしまっていた気がしたのでちょっとまとめて見ようと思い立った感じです。 対象 C++初級者~中級者ぐらい ※ ガベコレだのスマートポインタだのmallocの実装によるマルチスレッド環境下での速度がどうとかその辺の話は止まらなくなるので我慢します( ´∀`) メモリアロケーションって何
このウェブスペースへは、まだホームページがアップロードされていません。 早速、エックスサーバー上へファイルをアップロードしてみましょう。 アップロードの方法などは、サポートマニュアルをご参照ください。
問題 今年も弊社に新卒採用で入社された方が何名かいます。 採用情報ページに記載されているように、 弊社ではメンター制度が設けられており、 誰かしら指導役の社員が面倒を見たり見なかったりします。 ただ指導するにはまず相手の力量を測る必要があります。 技術者として採用された方を相手にするなら、 適当な課題を与えて、それに対して作り上げたモノを見るのが一番手っ取り早いです。 と言う訳で「適当な課題」として今回は「オセロを実装する」ことにしました。 しかしこれだけではテキトー過ぎるので、以下のように段階を設定しました: 1. 黒も白も人間が指す一人二役の寂しいオセロを実装する。 盤面のサイズは4×4とする。外観やUIは凝らなくてよい。実装はJavaScriptで行い、Webブラウザで遊べるものにする。 2. 仮AIを実装する。このAIの手筋は以下の通り: 取り得る手のうち最も上の行に石を置ける手を
説明 私の活動の内電子化されているもので、 人様の役にひょっとしたらたてそうなものを やみくもに陳列している場所です。 適当にくっつけていっているのでもう何が何やら。 更新情報 更新履歴兼雑記 (はてな) / 更新情報だけ / 古い更新履歴兼雑記 作ったもの 私の作っているものについて 弾避け系 弾除けゲーム「白い弾幕くん」 シンプルな弾避け練習ゲームです。 BulletML を弾幕記述言語として採用しているので、 そこそこ手軽に自分の避けたい弾幕を記述できます。 以下のシューティングはこの技術を利用しています。 psyno 妙に気合いの入ったジャンル不明ゲー。 Bullet Philharmonic Orchestra mp3 とかいろんなフォーマットの音楽ファイルに合わせて弾幕を 生成する弾避けです。 斑鳩シミュレーター「業平」 (ネイティブ版) 斑鳩シミュレーターです。 ABAさん
紙媒体のほうの拙著『解析魔法少女美咲ちゃん マジカル・オープン!』は一度絶版になったんだ。自分で言うのも何だが、リバースアセンブルの名著であり、教科書的な存在であるから、アマゾンのマーケットプレイスでは長らく定価の数倍というプレミア価格となっていた。 プレミア価格になってからも「再販しないんですか?」とブログの読者の方などから問い合わせを数多くいただき、これは再販すべきだよなぁと思って出版社のほうに増刷するか、無料でPDFか何かを公開させてもらえないかと何度か出版社の編集担当に交渉したのだが、これがどうもうまくいかなかった。 まず、本文の著作権自体は著者(私)にある。だから絶版になったあと本文だけを公開することは出来る。しかし図は、下書きは私が書いたものではあるが、出版社の編集側で手直ししたものが本には使われているし、組版をしたのは出版社である。これらに関する権利が出版社にある。また、表紙
「ゲームエンジン」とその重要性が様々な場所で語られるようになり、ついに大手の一角であるUnityが日本法人を設立。ますますゲームエンジンはその存在感を強めています。そんな中、1998年から発展を続け、今や世界で最も有名なゲームエンジンと言っても過言ではない「アンリアル・エンジン」を開発・ライセンス販売するエピック・ゲームズ・ジャパンが、アンリアル・エンジンでリスクを抑えてゲーム開発を行う方法について、CEDEC 2011で講演しました。 Unreal Technology http://www.unrealengine.com/ エピック・ゲームズ・ジャパン 下田純也(以下、下田): エピック・ゲームズ・ジャパンでサポートマネージャーをしております。下田です。「今からアンリアル・エンジンで始めてリスクを最小限に進める為の心得 」と題して、リスクを抑えながらアンリアル・エンジンを使い始めてい
ホーム<ゲームつくろー!<衝突判定編<内積と外積の使い方 基礎の基礎編 その1 内積と外積の使い方 この章では3Dゲームの特に衝突判定に無くてはならない「内積・外積」というベクトルの基本的な演算についてお話します。内積は高校で、外積はたぶん大学で習います。そのきちんとした意味を理解するのは大切ですが、ゲームで使う上では性質を体得する方が近道かと思います。そのためにはイメージが大切です。 この章ではゲームで使用するベクトルの内積や外積をイメージと一緒に見ていこうと思います。 ① 方向と大きさを表せる「ベクトル」 この記事をご覧になっている方の多くはきっと高校生以上だと思います(そうでない方は賞賛に値します!立派なプログラマーになれますよ(^-^))。高校の頃には必ず「ベクトル(vector)」を習います。ベクトルは「方向と大きさを表す方法」です。下の図をご覧下さい: 見た目平面ですが、ゲーム
ホーム < ゲームつくろー! < Programming TIPs編 Programming TIPs編 細かいところです(^-^) その1 GetGlyphOutline関数のフォント位置 その2 WinMain関数からメインウィンドウハンドルを手に入れるまでのおさらい その3 クラスのメンバ変数のオフセット値を取得してしまおう! その4 ここまでできる超極短Windows基盤プログラム その5 ここまでできる超極短DirectX基盤プログラム その6 HTML Help Workshopでヘルプファイルを作ろう! 2006. 9. 8 その7 メモリリークの検出方法 2006. 11. 18 その8 STLで日本語ファイルが開けない時の対処法 2006. 12. 3 その9 d3d9types.hのwarning C4819「Unicodeに云々」の回避方法 2007. 3. 8 その
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く