☆ベルトアクション作成 Beats of rageスレッド☆ (654レス)
上下前次1-新
抽出解除 レス栞
96: 名前は開発中のものです。 [sage] 2021/04/20(火) 22:57:09.31 ID:N5Bx9E2D(1/2) AAS
@script
{
if (frame == 48) {
void vEnt,self = getlocalvar("self");
int dx =100,dy=0,dz=0;
int dir = getentityproperty(self, "direction");
int tgtdir = 0;
if(dir==0) { dx = -dx; }
setlocalvar("T"+self, findtarget(self));
void target = getlocalvar("T"+self);
void TType = getentityproperty(target, "type");
tgtdir = getentityproperty(target, "direction");
if( getlocalvar("T"+self) != NULL()&&TType == openborconstant("TYPE_ENEMY"))
{
int Tx = getentityproperty(target, "x");
int Tz = getentityproperty(target, "z");
changeentityproperty(self, "position", Tx+dx, Tz+dz, dy);
if (dir == 0)
{
if (Tx+dx > dx)
{ changeentityproperty(self, "direction", 1);
} else { changeentityproperty(self, "direction", 0); }
} else {
if (Tx+dx > dx)
{ changeentityproperty(self, "direction", 0);
} else { changeentityproperty(self, "direction", 1); }
}
} else { changeentityproperty(self, "animation", openborconstant("ANI_FAINT")); }
}
}
@end_script
596: 名前は開発中のものです。 [sage] 2024/10/11(金) 03:34:52.31 ID:jVZx/2TX(1) AAS
>>595
O’Z GamesさんのMODですね。
320x240の画面サイズが多い中、かなりの高解像度で作成されていたのが印象に残っています。
そうそしてプレイヤーキャラの拘束とレバガチャでの脱出、このギミックも印象的だったので
今回逆にプレイヤーの発射する弾で上手く敵を拘束できないかなと思い上のような実験を繰り返していました。
とても参考になります。ありがとうございます。
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.020s