☆ベルトアクション作成 Beats of rageスレッド☆ (654レス)
前次1-
抽出解除 必死チェッカー(本家) (べ) レス栞 あぼーん

106: 2021/04/30(金)18:02 ID:81YP+Cwz(1/4) AAS
@script
if(frame==3) {
void self = getlocalvar("self");
int borx = openborvariant("xpos");
int sdir = getentityproperty(self,"direction");
int y = getentityproperty(self,"a");
int z = getentityproperty(self,"z");
if (sdir == 0){ borx = borx+480; }
clearspawnentry();
setspawnentry("name", "estriker2");
省7
107: 2021/04/30(金)18:09 ID:81YP+Cwz(2/4) AAS
int borx = openborvariant("xpos");
changeentityproperty(vSpawn,"position",borx,z,y);
int sdir = getentityproperty(self,"direction");
if (sdir == 0){ borx = borx+480; }
結局、肝心な部分は上の2つで、パネル(背景)の座標を取得して、
テスト環境は Video 1(480x272)モードなので、
プレイヤーが右(sdir=1)を向いていれば borx(ステージを進んだ距離、画面右端)
左向き(sdir=0)なら(+480画面左端)から助っ人が登場
単純な事なんですが、標準コマンドだけだと意外と面倒。
108: 2021/04/30(金)18:18 ID:81YP+Cwz(3/4) AAS
訂正 X(ステージを進んだ距離、画面右端) O 画面左端
   X(+480画面左端) O 画面右端

@script
if(frame==0){
void self=getlocalvar("self");
int sdir=getentityproperty(self,"direction");
setdrawmethod(self,1,256,384,1,0,0,0,0,0,0,0,0);
drawstring(120, 120, 4, sdir, 1);
if (sdir==0) {
// changedrawmethod(self, "flipx", 0);
省13
109: 2021/04/30(金)18:36 ID:81YP+Cwz(4/4) AAS
anim attack3
cancel 11 20 0 D A freespecial4
cancel 11 20 0 U A freespecial5
delay 6
offset 37 78
frame data/chars/erika/363.gif


delay 4
drawmethod alpha 1
省8
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 1.502s*