Hatena::Groupgamehell

ゲームプログラムめも日記 このページをアンテナに追加 RSSフィード

けんもほろろ  / オススメゲームプログラム本  / 作ったもの置き場  
ゲーム開発のデザパタまとめ  / めも日記まとめ  

2007-03-12

[]ゲームジェネレーターAS 15:44 ゲームジェネレーターAS - ゲームプログラムめも日記 を含むブックマーク はてなブックマーク - ゲームジェネレーターAS - ゲームプログラムめも日記 ゲームジェネレーターAS - ゲームプログラムめも日記 のブックマークコメント

AS3がオンラインでコンパイル&実行できるみたいですね。

http://try.flex.org/index.cfm

 

ためしに奇ツールのゲームジェネレーターを移植してみた。

 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import Math;

private function randint(a:int, b:int): int {
	return Math.round(Math.random() * (b - a) + a);
}

private function clickHandler():void {
	// ジャンル
	var genre = ["アクションゲーム","シューティングゲーム","シミュレーションゲーム","RPG","ブロック崩し","落ちゲー","パズルゲーム","ドットイート","クイックス","アドベンチャー","サウンドノベル","ビジュアルノベル","音ゲー","シミュレーションRPG","ローグ","シャドウゲイト","ピンポール","アクションパズル","アクションアドベンチャー","FPS","タイピングゲーム","ドラゴンズレア","ダンシングアイ","テトリス","フリーセル","スペランカー","ロックマン","アクションRPG","アクションパズル","ゼルダ","ポケモン","リブルラブル",];
	// テーマ
	var theme = ["弾幕","脱衣","恋愛","育成","探索","アイテム","対戦","格闘","動物","モンスター","植物","2D","3D","頭を鍛える","探偵","エロ","萌え","ボーイズラブ","打ち返し","相殺","吸収","チャージ","ムービー","鉄道","クイズ","忍者","ドラゴン","魔法","お宝","テニス","ゴルフ","ファンタジー","プリンセス","スナイパー","オンライン","レース","パチンコ","ホラー","脱出","ゾンビ","救急車","美少女","箱庭","カード","横スクロール","縦スクロール","リアルタイム","麻雀","歩兵","やりこみ","幽霊","ロボット","AI","召喚","冒険","海賊","バイク","新聞","自動生成","勇者","魔王","お金","錬金術","合成","占星術","シンクロ","ダンジョン","ジャンプ","スライディング","ミサイル","ドリル","口げんか","アブストラクト","ガンダム","ジョジョ","SF","歴史","競馬","戦略","戦術","経営","アイテム課金","リアルマネートレード","ワイヤー","バネ","スコア稼ぎ","連打","タイミング","コンボ","コマンド入力","テーブルトーク","乱数","音声入力","ヌンチャク","アンカー","マンダラ","先読み弾","ホーミング","レーザー","ボム","加速","高速","スロー","オプション","自爆","連鎖","レディアントソード","カウンターフォース","貫通","反転","ビット","全方向","虹","重力","作画","スイッチ","逆回し","多関節","合体","ビーチバレー","激写","回転","釣り","野球","サッカー","ドッジボール","ロックオン","爆撃","空中","ボール","限定","ジャンケン","リソース管理","収集","タイムアタック","ツンデレ","ドラマティック","ミッションクリア","クリック","鬼ごっこ","MMO","変身","剣","銃","強奪","巫女","メイド","機関銃","セーラー服","連続","ハイスピード","チェーンコンボ","キャッチ","ブースト","盗賊","魔法使い","剣士","召喚士","いけにえ","打ち上げ","落下","お店経営","タロットカード","ルーレット","スロット","説得","交渉","マルチタスク",];
	var rnd1: int = randint(0, theme.length-1);
	var rnd2: int = randint(0, theme.length-1);
	var rnd3: int = randint(0, genre.length-1);
    Alert.show("あなたの作りたいゲームは、、\n\n" + theme[rnd1] + theme[rnd2] + genre[rnd3], "GH2000", Alert.OK);
}
]]>
</mx:Script>
	<mx:Button x="200" y="160" label="ゲームヘル検定XX" id="btnGH2000" click="clickHandler()"/>
</mx:Application>

DK_alphaDK_alpha2007/03/12 17:59ASC3だと思って期待した俺がいる。
Cが無いよCが!

wang-zhiwang-zhi2007/03/12 18:34だからasc3はD言語でつくってるんですって!
kenmoさんにはasc4を予約されてます

kenmokenmo2007/03/13 10:58asc5はD.Kさんに託そうと思ってます。

DK_alphaDK_alpha2007/03/13 10:59春の散歩ゲーラッシュに心震えてます。

wang-zhiwang-zhi2007/03/13 12:33今ん所SDLとOpenGLに阻まれて散歩どころじゃないわ~毎日がんばってます