OSDN Git Service

うわうすあうああうあ
authorisuke <namahage.toshi@gmail.com>
Thu, 22 Aug 2013 04:09:46 +0000 (13:09 +0900)
committerisuke <namahage.toshi@gmail.com>
Thu, 22 Aug 2013 04:09:46 +0000 (13:09 +0900)
www/stage/okubo.js

index e62a4e3..e194ef8 100644 (file)
-{\rtf1\ansi\ansicpg932\cocoartf1038\cocoasubrtf360
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset128 HiraKakuProN-W3;}
-{\colortbl;\red255\green255\blue255;}
-\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
-
-\f0\fs24 \cf0 \
-// StageObjects
-\f1 \'82\'cd\'83\'58\'83\'65\'81\'5b\'83\'57\'82\'c9\'95\'b6\'8e\'9a\'83\'56\'83\'93\'83\'7b\'83\'8b\'82\'c6\'82\'b5\'82\'c4\'94\'7a\'92\'75\'82\'b5\'82\'bd\'82\'a2\'83\'49\'83\'75\'83\'57\'83\'46\'83\'4e\'83\'67\'92\'e8\'8b\'60\'82\'cc\'98\'41\'91\'7a\'94\'7a\'97\'f1\'82\'c5\'82\'a0\'82\'e9\'81\'42
-\f0 \
-// StageObject
-\f1 \'82\'cc\'8a\'65\'8d\'80\'96\'da\'82\'cc\'8e\'77\'92\'e8\'95\'fb\'96\'40\'82\'cd\'88\'c8\'89\'ba\'82\'cc\'93\'f1\'92\'ca\'82\'e8\'82\'a0\'82\'e9\'81\'42
-\f0 \
-// 
-\f1 \'81\'45\'83\'4e\'83\'89\'83\'58\'96\'bc\'8e\'77\'92\'e8 ... \'83\'52\'83\'93\'83\'58\'83\'67\'83\'89\'83\'4e\'83\'5e\'82\'aa\'82\'c9\'88\'f8\'90\'94\'82\'aa\'95\'73\'97\'76\'82\'c8\'8e\'9e
-\f0 \
-// a : BlockClass\
-// 
-\f1 \'81\'45\'8a\'67\'92\'a3\'8e\'77\'92\'e8
-\f0 \
-// a : \{base : FreeItemClass,                 //
-\f1 \'92\'92\'8c\'5e\'82\'c6\'82\'c8\'82\'e9\'83\'4e\'83\'89\'83\'58\'96\'bc
-\f0 \
-//      args : '1190.png',                             //
-\f1 \'83\'52\'83\'93\'83\'58\'83\'67\'83\'89\'83\'4e\'83\'5e\'82\'c9\'8e\'77\'92\'e8\'82\'b7\'82\'e9\'88\'f8\'90\'94(\'88\'ea\'82\'c2\'82\'be\'82\'af\'82\'cc\'8f\'ea\'8d\'87) stage\'82\'cd\'8e\'a9\'93\'ae\'82\'c5\'8e\'77\'92\'e8\'82\'b3\'82\'ea\'82\'e9\'82\'cc\'82\'c5\'95\'73\'97\'76
-\f0 \
-//      args : ['1190.png', callback], //
-\f1 \'93\'f1\'82\'c2\'88\'c8\'8f\'e3\'82\'cc\'8f\'ea\'8d\'87\'81\'42\'82\'e2\'82\'cd\'82\'e8\'91\'e6\'88\'ea\'88\'f8\'90\'94\'82\'ccstage\'82\'cd\'95\'73\'97\'76
-\f0 \
-//      prop : \{times : 1\},                          //
-\f1 \'8a\'65\'83\'43\'83\'93\'83\'58\'83\'5e\'83\'93\'83\'58\'82\'c9\'8e\'77\'92\'e8\'82\'b5\'82\'bd\'82\'a2\'83\'76\'83\'8d\'83\'70\'83\'65\'83\'42\'82\'cc\'98\'41\'91\'7a\'94\'7a\'97\'f1\'81\'42(\'8f\'c8\'97\'aa\'89\'c2)
-\f0 \
-                                                                               //
-\f1 \'82\'b1\'82\'cc\'97\'e1\'82\'c5\'82\'cdaFreeItemClass.times\'83\'76\'83\'8d\'83\'70\'83\'65\'83\'42\'82\'f01\'82\'c9\'8e\'77\'92\'e8\'82\'b5\'82\'c4\'82\'a2\'82\'e9
-\f0 \
-//      adjust : [-50, 50],                            //
-\f1 \'88\'ca\'92\'75\'82\'cc\'94\'f7\'92\'b2\'90\'ae\'81\'42\'95\'4b\'82\'b8X\'8d\'c0\'95\'57\'81\'41Y\'8d\'c0\'95\'57\'82\'cc\'91\'8a\'91\'ce\'88\'ca\'92\'75\'82\'f0\'8e\'a6\'82\'b7\'94\'7a\'97\'f1\'82\'c9\'82\'b7\'82\'e9\'81\'42(\'8f\'c8\'97\'aa\'89\'c2)
-\f0 \
-//      extid : 19                                             //
-\f1 \'83\'6c\'83\'62\'83\'67\'83\'8f\'81\'5b\'83\'4e\'82\'f0\'92\'b4\'82\'a6\'82\'c4\'88\'ea\'82\'c2\'82\'cc\'83\'49\'83\'75\'83\'57\'83\'46\'83\'4e\'83\'67\'82\'c5\'82\'a0\'82\'e9\'95\'4b\'97\'76\'82\'aa\'82\'a0\'82\'e9\'8f\'ea\'8d\'87\'82\'c9\'82\'cd\'83\'5b\'83\'8d\'82\'c5\'82\'cd\'82\'c8\'82\'a2\'92\'6c\'82\'f0\'8e\'e6\'82\'e9\'81\'69\'83\'58\'83\'65\'81\'5b\'83\'57\'93\'e0\'82\'c5\'8c\'c5\'97\'4c\'82\'cc\'92\'6c, \'8f\'c8\'97\'aa\'89\'c2; \'8a\'f9\'92\'e80\'81\'6a
-\f0 \
-//             sync : true                                             //
-\f1 \'83\'6c\'83\'62\'83\'67\'83\'8f\'81\'5b\'83\'4e\'93\'af\'8a\'fa\'82\'f0\'97\'4c\'8c\'f8\'82\'c9(addStageObject\'82\'cc\'91\'e6\'93\'f1\'88\'f8\'90\'94)(\'8f\'c8\'97\'aa\'89\'c2; \'8a\'f9\'92\'e8false)
-\f0 \
-\
-var stgObjects = \{\
-       \
-       // BlockClass : 
-\f1 \'95\'81\'92\'ca\'82\'cc\'83\'75\'83\'8d\'83\'62\'83\'4e\'81\'42 \'88\'f8\'90\'94\'82\'c9\'89\'e6\'91\'9c\'96\'bc\'82\'f0\'8e\'77\'92\'e8
-\f0 \
-  \
-    b : \{base:BlockClass,args:'1150.png'\},\
-    f : \{base:BlockClass,args:'1190.png'\},\
-    t : \{base:BlockClass,args:'1160.png'\},\
+
+// StageObjectsはステージに文字シンボルとして配置したいオブジェクト定義の連想配列である。
+// StageObjectの各項目の指定方法は以下の二通りある。
+// ・クラス名指定 ... コンストラクタがに引数が不要な時
+// a : BlockClass
+// ・拡張指定
+// a : {base : FreeItemClass,                  //鋳型となるクラス名
+//      args : '1190.png',                             //コンストラクタに指定する引数(一つだけの場合) stageは自動で指定されるので不要
+//      args : ['1190.png', callback], //二つ以上の場合。やはり第一引数のstageは不要
+//      prop : {times : 1},                            //各インスタンスに指定したいプロパティの連想配列。(省略可)
+                                                                               //この例ではaFreeItemClass.timesプロパティを1に指定している
+//      adjust : [-50, 50],                            //位置の微調整。必ずX座標、Y座標の相対位置を示す配列にする。(省略可)
+//      extid : 19                                             //ネットワークを超えて一つのオブジェクトである必要がある場合にはゼロではない値を取る(ステージ内で固有の値, 省略可; 既定0)
+//             sync : true                                             //ネットワーク同期を有効に(addStageObjectの第二引数)(省略可; 既定false)
+
+var stgObjects = {
+       
+       // BlockClass : 普通のブロック。 引数に画像名を指定
+  
+    b : {base:BlockClass,args:'1150.png'},
+    f : {base:BlockClass,args:'1190.png'},
+    t : {base:BlockClass,args:'1160.png'},
+   x : {base:BlockClass,args:'1236.png'},
+    j : {base:BlockClass,args:'1238.png'},
+    y : {base:BlockClass,args:'1240.png'},
+    h : {base:BlockClass,args:'1239.png'},
+  ab: {base:BlockClass,args:'bridge.png'},
+  
+    
+  
+    i : {base:BlockClass,args:'1235.png'},
+    n : {base:BlockClass,args:'leaves.png'},
+    p : {base:BlockClass,args:'glass.png'},
+    ag : {base:BlockClass,args:'hosikusabelow.png'},
+    r : {base:HiddenBlockClass,args:'hosikusa.png'},
+  
+
+   
+    
+    // SlopeBlockClass : 当たり判定が斜めのブロック。
+    // 引数 : 画像名, 当たり判定領域左側の開始位置のブロック上辺からの高さ, 当たり判定領域右側の...
+    //        たとえば、この例のように 0, 32 と指定すれば右下がりの坂になり、32, 0と指定すれば左下がり、 16, 16と指定すれば半分の高さの長方形になる
+    // enableBlockMode : 当たり判定領域をデバッグ表示する。
  
-\f1 \'81\'40 x : \{base:BlockClass,args:'1236.png'\},
-\f0 \
-    j : \{base:BlockClass,args:'1238.png'\},\
-    y : \{base:BlockClass,args:'1240.png'\},\
-    h : \{base:BlockClass,args:'1239.png'\},\
-
-\f1 \'81\'40\'81\'40ab: \{base:BlockClass,args:'bridge.png'\},
-\f0 \
-  \
-    \
-  \
-    i : \{base:BlockClass,args:'1235.png'\},\
-    n : \{base:BlockClass,args:'leaves.png'\},\
-    p : \{base:BlockClass,args:'glass.png'\},\
-    ag : \{base:BlockClass,args:'hosikusabelow.png'\},\
-    r : \{base:HiddenBlockClass,args:'hosikusa.png'\},\
-
-\f1 \'81\'40\'81\'40
-\f0 \
-\
-   \
-    \
-    // SlopeBlockClass : 
-\f1 \'93\'96\'82\'bd\'82\'e8\'94\'bb\'92\'e8\'82\'aa\'8e\'ce\'82\'df\'82\'cc\'83\'75\'83\'8d\'83\'62\'83\'4e\'81\'42
-\f0 \
-    // 
-\f1 \'88\'f8\'90\'94 : \'89\'e6\'91\'9c\'96\'bc, \'93\'96\'82\'bd\'82\'e8\'94\'bb\'92\'e8\'97\'cc\'88\'e6\'8d\'b6\'91\'a4\'82\'cc\'8a\'4a\'8e\'6e\'88\'ca\'92\'75\'82\'cc\'83\'75\'83\'8d\'83\'62\'83\'4e\'8f\'e3\'95\'d3\'82\'a9\'82\'e7\'82\'cc\'8d\'82\'82\'b3, \'93\'96\'82\'bd\'82\'e8\'94\'bb\'92\'e8\'97\'cc\'88\'e6\'89\'45\'91\'a4\'82\'cc...
-\f0 \
-    //        
-\f1 \'82\'bd\'82\'c6\'82\'a6\'82\'ce\'81\'41\'82\'b1\'82\'cc\'97\'e1\'82\'cc\'82\'e6\'82\'a4\'82\'c9 0, 32 \'82\'c6\'8e\'77\'92\'e8\'82\'b7\'82\'ea\'82\'ce\'89\'45\'89\'ba\'82\'aa\'82\'e8\'82\'cc\'8d\'e2\'82\'c9\'82\'c8\'82\'e8\'81\'4132, 0\'82\'c6\'8e\'77\'92\'e8\'82\'b7\'82\'ea\'82\'ce\'8d\'b6\'89\'ba\'82\'aa\'82\'e8\'81\'41 16, 16\'82\'c6\'8e\'77\'92\'e8\'82\'b7\'82\'ea\'82\'ce\'94\'bc\'95\'aa\'82\'cc\'8d\'82\'82\'b3\'82\'cc\'92\'b7\'95\'fb\'8c\'60\'82\'c9\'82\'c8\'82\'e9
-\f0 \
-    // enableBlockMode : 
-\f1 \'93\'96\'82\'bd\'82\'e8\'94\'bb\'92\'e8\'97\'cc\'88\'e6\'82\'f0\'83\'66\'83\'6f\'83\'62\'83\'4f\'95\'5c\'8e\'a6\'82\'b7\'82\'e9\'81\'42
-\f0 \
- \
-    c : \{base:SlopeBlockClass,args:['1152.png',32,0],prop:\{enableDebugMode:true\}\},\
-    d : \{base:SlopeBlockClass,args:['1213.png',16,16],prop:\{enableDebugMode:true\}\},\
-    a : \{base:SlopeBlockClass,args:['kusa.png',64,64],prop:\{enableDebugMode:true\}\},\
-    g : \{base:SlopeBlockClass,args:['1151.png',0,32],prop:\{enableDebugMode:true\}\},\
-    e : \{base:SlopeBlockClass,args:['1214.png',128,128],prop:\{enableDebugMode:true\}\},\
-    l : \{base:SlopeBlockClass,args:['leavesedge1.png',16,0],prop:\{enableDebugMode:true\}\},\
-    m : \{base:SlopeBlockClass,args:['leavesedge2.png',0,16],prop:\{enableDebugMode:true\}\},\
-    o : \{base:SlopeBlockClass,args:['stop.png',32,32],prop:\{enableDebugMode:true\}\},\
-    q : \{base:SlopeBlockClass,args:['hosikusa.png',8,8],prop:\{enableDebugMode:true\}\},\
-    s : \{base:SlopeBlockClass,args:['leaves.png',1500,1500],prop:\{enableDebugMode:true\}\},\
-    u : \{base:SlopeBlockClass,args:['1162.png',33,0],prop:\{enableDebugMode:true\}\},\
-    w : \{base:SlopeBlockClass,args:['1161.png',0,33],prop:\{enableDebugMode:true\}\},\
-    z : \{base:SlopeBlockClass,args:['1164.png',33,0],prop:\{enableDebugMode:true\}\},\
-   aa : \{base:SlopeBlockClass,args:['fence.png',600,600],prop:\{enableDebugMode:true\}\},\
-   ad : \{base:SlopeBlockClass,args:['fence.png',16,16],prop:\{enableDebugMode:true\}\},\
-   ae : \{base:SlopeBlockClass,args:['toge.png',28,28],prop:\{enableDebugMode:true\}\},\
-   af : \{base:SlopeBlockClass,args:['toge.png',0,0],prop:\{enableDebugMode:true\}\},\
-\
-    // FreeItemClass : 
-\f1 \'83\'4c\'83\'83\'83\'89\'82\'aa\'8e\'e6\'93\'be\'82\'b7\'82\'e9\'82\'c6\'83\'52\'81\'5b\'83\'8b\'83\'6f\'83\'62\'83\'4e\'82\'aa\'8e\'c0\'8d\'73\'82\'b3\'82\'ea\'82\'e9\'83\'41\'83\'43\'83\'65\'83\'80
-\f0 \
-    // callback : 
-\f1 \'92\'4e\'82\'a9\'82\'c9\'8e\'e6\'93\'be\'82\'b3\'82\'ea\'82\'bd\'82\'c6\'82\'ab\'82\'c9\'94\'ad\'90\'b6\'82\'b7\'82\'e9\'83\'52\'81\'5b\'83\'8b\'83\'6f\'83\'62\'83\'4e\'81\'42\'83\'41\'83\'5e\'83\'62\'83\'4e\'82\'b5\'82\'bd\'90\'6c\'81\'41\'82\'bb\'82\'cc\'83\'41\'83\'5e\'83\'62\'83\'4e\'92\'bc\'8c\'e3\'82\'ccx, y\'8d\'c0\'95\'57\'82\'aa\'88\'f8\'90\'94\'82\'c9\'83\'5a\'83\'62\'83\'67\'82\'b3\'82\'ea\'82\'e9\'81\'42
-\f0 \
-    // times : 
-\f1 \'8e\'e6\'93\'be\'82\'c5\'82\'ab\'82\'e9\'89\'f1\'90\'94\'82\'c5\'81\'41-1\'82\'c5\'96\'b3\'8c\'c0\'81\'42
-\f0 \
-    k : \{base:FreeItemClass,args:["1234.png",callBack],prop:\{times:1\}\},\
-    \
-    ac : \{base:FreeItemClass,args:["bridge.png",callBack],prop:\{times:1\}\},\
-    // 
-\f1 \'89\'bd\'82\'e0\'83\'75\'83\'8d\'83\'62\'83\'4e\'82\'f0\'92\'75\'82\'a9\'82\'c8\'82\'a2\'88\'ca\'92\'75\'82\'cc\'82\'bd\'82\'df\'82\'c9\'82\'a9\'82\'c8\'82\'e7\'82\'b8\'82\'b1\'82\'cc\'82\'e6\'82\'a4\'82\'c8\'83\'47\'83\'93\'83\'67\'83\'8a\'81\'5b\'82\'f0\'8b\'4c\'8f\'71
-\f0 \
-    _ : null\
-\};\
-\
-// FreeItemClass
-\f1 \'82\'cc\'83\'52\'81\'5b\'83\'8b\'83\'6f\'83\'62\'83\'4e
-\f0 \
-function callBack(obj, obj_x, obj_y)\
-\{\
-       if(obj instanceof MainCharacterClass)\{\
-\
-       \}\
-\}\
-\
-var stgInfo = \{\
-    width: 6400,                               //
-\f1 \'89\'a1\'83\'54\'83\'43\'83\'59
-\f0 \
-    height: 480,                               //
-\f1 \'8f\'63\'83\'54\'83\'43\'83\'59
-\f0 \
-    background: "back2.png",           //
-\f1 \'94\'77\'8c\'69\'89\'e6\'91\'9c\'81\'42\'89\'a1\'95\'9d\'82\'cd640px\'82\'c5\'82\'a0\'82\'e9\'95\'4b\'97\'76\'82\'cd\'82\'c8\'82\'a2\'81\'42
-\f0 \
-    BGM:       //"Metal_Gear_Solid_OST_Encounter.mp3",\
+    c : {base:SlopeBlockClass,args:['1152.png',32,0],prop:{enableDebugMode:true}},
+    d : {base:SlopeBlockClass,args:['1213.png',16,16],prop:{enableDebugMode:true}},
+    a : {base:SlopeBlockClass,args:['kusa.png',64,64],prop:{enableDebugMode:true}},
+    g : {base:SlopeBlockClass,args:['1151.png',0,32],prop:{enableDebugMode:true}},
+    e : {base:SlopeBlockClass,args:['1214.png',128,128],prop:{enableDebugMode:true}},
+    l : {base:SlopeBlockClass,args:['leavesedge1.png',16,0],prop:{enableDebugMode:true}},
+    m : {base:SlopeBlockClass,args:['leavesedge2.png',0,16],prop:{enableDebugMode:true}},
+    o : {base:SlopeBlockClass,args:['stop.png',32,32],prop:{enableDebugMode:true}},
+    q : {base:SlopeBlockClass,args:['hosikusa.png',8,8],prop:{enableDebugMode:true}},
+    s : {base:SlopeBlockClass,args:['leaves.png',1500,1500],prop:{enableDebugMode:true}},
+    u : {base:SlopeBlockClass,args:['1162.png',33,0],prop:{enableDebugMode:true}},
+    w : {base:SlopeBlockClass,args:['1161.png',0,33],prop:{enableDebugMode:true}},
+    z : {base:SlopeBlockClass,args:['1164.png',33,0],prop:{enableDebugMode:true}},
+   aa : {base:SlopeBlockClass,args:['fence.png',600,600],prop:{enableDebugMode:true}},
+   ad : {base:SlopeBlockClass,args:['fence.png',16,16],prop:{enableDebugMode:true}},
+   ae : {base:SlopeBlockClass,args:['toge.png',28,28],prop:{enableDebugMode:true}},
+   af : {base:SlopeBlockClass,args:['toge.png',0,0],prop:{enableDebugMode:true}},
+
+    // FreeItemClass : キャラが取得するとコールバックが実行されるアイテム
+    // callback : 誰かに取得されたときに発生するコールバック。アタックした人、そのアタック直後のx, y座標が引数にセットされる。
+    // times : 取得できる回数で、-1で無限。
+    k : {base:FreeItemClass,args:["1234.png",callBack],prop:{times:1}},
     
-\f1 \'81\'40\'81\'40\'81\'40\'81\'40//"Mount_Blade_With_Fire_and_Sword_OST_-_Happy_Song.mp3",
-\f0 \
-\};\
-\
-with(stgObjects) \{\
-    var tbl = [\
-         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],\
-         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],\
-         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],\
-         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],\
-         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,r,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_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b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,x,t,t,t,t,t,t,t,t,t,j,_,_,_,_,_,_,_,_,_,_,_,_,h,t,t,t,t,t,t,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,],\
-         [f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,j,_,_,_,_,_,_,_,_,_,_,_,_,h,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,]\
- \
-    ];\
-\}\
-//
-\f1 \'96\'f1\'91\'a9\'8e\'96
-\f0 \
-var stage = new PCDSLStageClass(stgInfo, tbl);\
-\
-\
-stage.runStage = function()\{\
-       PCDSLStageClass.prototype.runStage.apply(this, []);\
-       var main = new MainCharacterClass(stage, [["nakedman.png","nakedman2.png",]]);\
-       main.size.x = 32;\
-       main.size.y=64;\
-       main.origin.x =0;\
-       main.origin.y =0;\
-       main.ownerUID = stage.manager.userID;\
-        main.movingVelocity = 200;\
-\
-       stage.userControlledCharacter = main;\
-       stage.addStageObject(main, true);\
-       \
-       var e1 = new EnemyCharacterClass(stage, [["pantank1.png","pantank2.png","pantank3.png","pantankaim.png","pantankfire.png","pantankcooldown.png",]]);\
-       e1.size.x = 128;\
-       e1.size.y=   128;\
-       e1.origin.x =2800;\
-       e1.origin.y =0;\
-       e1.chasingRange = 700;\
-       e1.ownerUID = stage.manager.userID;\
-        e1.movingVelocity = 80;\
-\
-       \
-       stage.addStageObject(e1);\
-       \
-       var e2 = new EnemyCharacterClass(stage, [["baka_om1.png","baka_om2.png","baka_om3.png","baka_om4.png",]]);\
-       e2.size.x = 32;\
-       e2.size.y=   32;\
-       e2.origin.x =500;\
-       e2.origin.y =0;\
-       e2.chasingRange = 300;\
-       e2.ownerUID = stage.manager.userID;\
-        e2.movingVelocity = 160;\
-        \
-        stage.addStageObject(e2);\
-       \
-       var c1 = new EnemyCharacterClass(stage, [["cowm1.png","cowm2.png","cowm3.png","cowm4.png","cowm3.png","cowm2.png",]]);\
-       c1.size.x = 100;\
-       c1.size.y=  50;\
-       c1.origin.x =730;\
-       c1.origin.y =0;\
-       c1.chasingRange = 200;\
-       c1.ownerUID = stage.manager.userID;\
-        c1.movingVelocity = 80;\
-        c1.collisionMarginTop = 14;\
-        c1.collisionMarginRight = 16;\
-        c1.collisionMarginLeft = 16;\
-        \
-        stage.addStageObject(c1);\
-        \
-        \
-       var c2 = new EnemyCharacterClass(stage, [["cowm1.png","cowm2.png","cowm3.png","cowm4.png","cowm3.png","cowm2.png",]]);\
-       c2.size.x = 105;\
-       c2.size.y=  55;\
-       c2.origin.x =820;\
-       c2.origin.y =0;\
-       c2.chasingRange = 200;\
-       c2.ownerUID = stage.manager.userID;\
-        c2.movingVelocity = 150;\
-        c2.collisionMarginTop = 14;\
-        c2.collisionMarginRight = 16;\
-        c2.collisionMarginLeft = 16;\
-        \
-        stage.addStageObject(c2);\
-\
-       \
-       \
-       \
-       \
-\
-var barn = new SlopeBlockClass(stage, ["barn.png", 46, 46]);\
-\
-barn.size.x = 200;\
-barn.size.y = 150;\
-barn.origin.x = 1300;\
-barn.origin.y =236;\
-stage.addStageObject(barn);\
-\
-var barn2 = new SlopeBlockClass(stage, ["barn.png", 49, 49]);\
-\
-barn2.size.x = 170;\
-barn2.size.y = 150;\
-barn2.origin.x = 3700;\
-barn2.origin.y =266;\
-stage.addStageObject(barn2);\
-\
-var windmill = new SlopeBlockClass(stage, ["windmill.png", 5, 5]);\
-windmill.size.x = 50;\
-windmill.size.y = 150;\
-windmill.origin.x = 1600;\
-windmill.origin.y =236;\
-stage.addStageObject(windmill);\
-\
-\
-\
-var fence0 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);\
-fence0.size.x = 32;\
-fence0.size.y = 32;\
-fence0.origin.x = 672;\
-fence0.origin.y = 352;\
-stage.addStageObject(fence0);\
-\
-var fence13 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence13.size.x = 32;\
-fence13.size.y = 32;\
-fence13.origin.x = 704;\
-fence13.origin.y = 352;\
-stage.addStageObject(fence13);\
-\
-var fence = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence.size.x = 32;\
-fence.size.y = 32;\
-fence.origin.x = 736;\
-fence.origin.y = 352;\
-stage.addStageObject(fence);\
-\
-var fence2 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence2.size.x = 32;\
-fence2.size.y = 32;\
-fence2.origin.x = 768;\
-fence2.origin.y = 352;\
-stage.addStageObject(fence2);\
-\
-var fence3 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence3.size.x = 32;\
-fence3.size.y = 32;\
-fence3.origin.x = 800;\
-fence3.origin.y = 352;\
-stage.addStageObject(fence3);\
-\
-var fence4 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence4.size.x = 32;\
-fence4.size.y = 32;\
-fence4.origin.x = 832;\
-fence4.origin.y = 352;\
-stage.addStageObject(fence4);\
-\
-var fence5 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence5.size.x = 32;\
-fence5.size.y = 32;\
-fence5.origin.x = 864;\
-fence5.origin.y = 352;\
-stage.addStageObject(fence5);\
-\
-var fence6 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence6.size.x = 32;\
-fence6.size.y = 32;\
-fence6.origin.x = 896;\
-fence6.origin.y = 352;\
-stage.addStageObject(fence6);\
-\
-var fence7 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence7.size.x = 32;\
-fence7.size.y = 32;\
-fence7.origin.x = 928;\
-fence7.origin.y = 352;\
-stage.addStageObject(fence7);\
-\
-var fence8 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence8.size.x = 32;\
-fence8.size.y = 32;\
-fence8.origin.x = 960;\
-fence8.origin.y = 352;\
-stage.addStageObject(fence8);\
-\
-var fence9 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);\
-fence9.size.x = 32;\
-fence9.size.y = 32;\
-fence9.origin.x = 992;\
-fence9.origin.y = 352;\
-stage.addStageObject(fence9);\
-\
-var fence10 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);\
-fence10.size.x = 32;\
-fence10.size.y = 32;\
-fence10.origin.x = 1024;\
-fence10.origin.y = 352;\
-stage.addStageObject(fence10);\
-\
-var fence11 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);\
-fence11.size.x = 32;\
-fence11.size.y = 32;\
-fence11.origin.x = 3712;\
-fence11.origin.y = 384;\
-stage.addStageObject(fence11);\
-\
-var fence12 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);\
-fence12.size.x = 32;\
-fence12.size.y = 32;\
-fence12.origin.x = 3680;\
-fence12.origin.y = 384;\
-stage.addStageObject(fence12);\
-\
-var cow4 = new SlopeBlockClass(stage, ["cow.png", 14, 14]);\
-cow4.size.x = 100;\
-cow4.size.y = 50;\
-cow4.origin.x = 4010;\
-cow4.origin.y = 367;\
-stage.addStageObject(cow4);\
-\
-var cow5 = new SlopeBlockClass(stage, ["cow2.png", 14, 14]);\
-cow5.size.x = 100;\
-cow5.size.y = 50;\
-cow5.origin.x = 4180;\
-cow5.origin.y = 367;\
-stage.addStageObject(cow5);\
-\
-var cow6 = new SlopeBlockClass(stage, ["cow.png", 70, 70]);\
-cow6.size.x = 100;\
-cow6.size.y = 50;\
-cow6.origin.x = 4420;\
-cow6.origin.y = 367;\
-stage.addStageObject(cow6);\
-\
-var cow7 = new SlopeBlockClass(stage, ["cow2.png", 14, 14]);\
-cow7.size.x = 100;\
-cow7.size.y = 50;\
-cow7.origin.x = 4510;\
-cow7.origin.y = 367;\
-stage.addStageObject(cow7);\
-\
-\
-\},\
-\
-\
-stage;\
-                                       }
\ No newline at end of file
+    ac : {base:FreeItemClass,args:["bridge.png",callBack],prop:{times:1}},
+    // 何もブロックを置かない位置のためにかならずこのようなエントリーを記述
+    _ : null
+};
+
+// FreeItemClassのコールバック
+function callBack(obj, obj_x, obj_y)
+{
+       if(obj instanceof MainCharacterClass){
+
+       }
+}
+
+var stgInfo = {
+    width: 6400,                               //横サイズ
+    height: 480,                               //縦サイズ
+    background: "back2.png",           //背景画像。横幅は640pxである必要はない。
+    BGM:       //"Metal_Gear_Solid_OST_Encounter.mp3",
+        //"Mount_Blade_With_Fire_and_Sword_OST_-_Happy_Song.mp3",
+};
+
+with(stgObjects) {
+    var tbl = [
+         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],
+         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],
+         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],
+         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,],
+         [_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,r,_,_,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a,d,a,a,a,c,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,x,t,t,t,t,t,t,t,t,t,j,_,_,_,_,_,_,_,_,_,_,_,_,h,t,t,t,t,t,t,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,],
+         [f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,j,_,_,_,_,_,_,_,_,_,_,_,_,h,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,]
+    ];
+}
+//約束事
+var stage = new PCDSLStageClass(stgInfo, tbl);
+
+
+stage.runStage = function(){
+       PCDSLStageClass.prototype.runStage.apply(this, []);
+       var main = new MainCharacterClass(stage, [["nakedman.png","nakedman2.png",]]);
+       main.size.x = 32;
+       main.size.y=64;
+       main.origin.x =0;
+       main.origin.y =0;
+       main.ownerUID = stage.manager.userID;
+        main.movingVelocity = 200;
+
+       stage.userControlledCharacter = main;
+       stage.addStageObject(main, true);
+       
+       var e1 = new EnemyCharacterClass(stage, [["pantank1.png","pantank2.png","pantank3.png","pantankaim.png","pantankfire.png","pantankcooldown.png",]]);
+       e1.size.x = 128;
+       e1.size.y=   128;
+       e1.origin.x =2800;
+       e1.origin.y =0;
+       e1.chasingRange = 700;
+       e1.ownerUID = stage.manager.userID;
+        e1.movingVelocity = 80;
+
+       
+       stage.addStageObject(e1);
+       
+       var e2 = new EnemyCharacterClass(stage, [["baka_om1.png","baka_om2.png","baka_om3.png","baka_om4.png",]]);
+       e2.size.x = 32;
+       e2.size.y=   32;
+       e2.origin.x =500;
+       e2.origin.y =0;
+       e2.chasingRange = 300;
+       e2.ownerUID = stage.manager.userID;
+        e2.movingVelocity = 160;
+        
+        stage.addStageObject(e2);
+       
+       var c1 = new EnemyCharacterClass(stage, [["cowm1.png","cowm2.png","cowm3.png","cowm4.png","cowm3.png","cowm2.png",]]);
+       c1.size.x = 100;
+       c1.size.y=  50;
+       c1.origin.x =730;
+       c1.origin.y =0;
+       c1.chasingRange = 200;
+       c1.ownerUID = stage.manager.userID;
+        c1.movingVelocity = 80;
+        c1.collisionMarginTop = 14;
+        c1.collisionMarginRight = 16;
+        c1.collisionMarginLeft = 16;
+        
+        stage.addStageObject(c1);
+        
+        
+       var c2 = new EnemyCharacterClass(stage, [["cowm1.png","cowm2.png","cowm3.png","cowm4.png","cowm3.png","cowm2.png",]]);
+       c2.size.x = 105;
+       c2.size.y=  55;
+       c2.origin.x =820;
+       c2.origin.y =0;
+       c2.chasingRange = 200;
+       c2.ownerUID = stage.manager.userID;
+        c2.movingVelocity = 150;
+        c2.collisionMarginTop = 14;
+        c2.collisionMarginRight = 16;
+        c2.collisionMarginLeft = 16;
+        
+        stage.addStageObject(c2);
+
+       
+       
+       
+       
+
+var barn = new SlopeBlockClass(stage, ["barn.png", 46, 46]);
+
+barn.size.x = 200;
+barn.size.y = 150;
+barn.origin.x = 1300;
+barn.origin.y =236;
+stage.addStageObject(barn);
+
+var barn2 = new SlopeBlockClass(stage, ["barn.png", 49, 49]);
+
+barn2.size.x = 170;
+barn2.size.y = 150;
+barn2.origin.x = 3700;
+barn2.origin.y =266;
+stage.addStageObject(barn2);
+
+var windmill = new SlopeBlockClass(stage, ["windmill.png", 5, 5]);
+windmill.size.x = 50;
+windmill.size.y = 150;
+windmill.origin.x = 1600;
+windmill.origin.y =236;
+stage.addStageObject(windmill);
+
+
+
+var fence0 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);
+fence0.size.x = 32;
+fence0.size.y = 32;
+fence0.origin.x = 672;
+fence0.origin.y = 352;
+stage.addStageObject(fence0);
+
+var fence13 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence13.size.x = 32;
+fence13.size.y = 32;
+fence13.origin.x = 704;
+fence13.origin.y = 352;
+stage.addStageObject(fence13);
+
+var fence = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence.size.x = 32;
+fence.size.y = 32;
+fence.origin.x = 736;
+fence.origin.y = 352;
+stage.addStageObject(fence);
+
+var fence2 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence2.size.x = 32;
+fence2.size.y = 32;
+fence2.origin.x = 768;
+fence2.origin.y = 352;
+stage.addStageObject(fence2);
+
+var fence3 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence3.size.x = 32;
+fence3.size.y = 32;
+fence3.origin.x = 800;
+fence3.origin.y = 352;
+stage.addStageObject(fence3);
+
+var fence4 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence4.size.x = 32;
+fence4.size.y = 32;
+fence4.origin.x = 832;
+fence4.origin.y = 352;
+stage.addStageObject(fence4);
+
+var fence5 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence5.size.x = 32;
+fence5.size.y = 32;
+fence5.origin.x = 864;
+fence5.origin.y = 352;
+stage.addStageObject(fence5);
+
+var fence6 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence6.size.x = 32;
+fence6.size.y = 32;
+fence6.origin.x = 896;
+fence6.origin.y = 352;
+stage.addStageObject(fence6);
+
+var fence7 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence7.size.x = 32;
+fence7.size.y = 32;
+fence7.origin.x = 928;
+fence7.origin.y = 352;
+stage.addStageObject(fence7);
+
+var fence8 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence8.size.x = 32;
+fence8.size.y = 32;
+fence8.origin.x = 960;
+fence8.origin.y = 352;
+stage.addStageObject(fence8);
+
+var fence9 = new SlopeBlockClass(stage, ["fence.png", 32, 32]);
+fence9.size.x = 32;
+fence9.size.y = 32;
+fence9.origin.x = 992;
+fence9.origin.y = 352;
+stage.addStageObject(fence9);
+
+var fence10 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);
+fence10.size.x = 32;
+fence10.size.y = 32;
+fence10.origin.x = 1024;
+fence10.origin.y = 352;
+stage.addStageObject(fence10);
+
+var fence11 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);
+fence11.size.x = 32;
+fence11.size.y = 32;
+fence11.origin.x = 3712;
+fence11.origin.y = 384;
+stage.addStageObject(fence11);
+
+var fence12 = new SlopeBlockClass(stage, ["fence.png", 16, 16]);
+fence12.size.x = 32;
+fence12.size.y = 32;
+fence12.origin.x = 3680;
+fence12.origin.y = 384;
+stage.addStageObject(fence12);
+
+var cow4 = new SlopeBlockClass(stage, ["cow.png", 14, 14]);
+cow4.size.x = 100;
+cow4.size.y = 50;
+cow4.origin.x = 4010;
+cow4.origin.y = 367;
+stage.addStageObject(cow4);
+
+var cow5 = new SlopeBlockClass(stage, ["cow2.png", 14, 14]);
+cow5.size.x = 100;
+cow5.size.y = 50;
+cow5.origin.x = 4180;
+cow5.origin.y = 367;
+stage.addStageObject(cow5);
+
+var cow6 = new SlopeBlockClass(stage, ["cow.png", 70, 70]);
+cow6.size.x = 100;
+cow6.size.y = 50;
+cow6.origin.x = 4420;
+cow6.origin.y = 367;
+stage.addStageObject(cow6);
+
+var cow7 = new SlopeBlockClass(stage, ["cow2.png", 14, 14]);
+cow7.size.x = 100;
+cow7.size.y = 50;
+cow7.origin.x = 4510;
+cow7.origin.y = 367;
+stage.addStageObject(cow7);
+
+
+},
+
+
+stage;
+                                       
\ No newline at end of file