コード例 #1
0
 public override void OnAdd()
 {
     this.xFloor = Program.game._LoadObject_LoadArbitraryStatic("Bkg/ZoneX_RogueLike/FlyingFortress/GundamRoom", new Vector2(0f, 0f), Vector2.Zero, 0f);
     this.fScreenFloatSpeed = -0.25f;
     this.xLeftScreenEmitter1 = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.Emitter_FallingLeaf, Vector2.Zero, 0f, 0) as EffectEmitter);
     this.xLeftScreenEmitter1.xEffect = new _Effect_FallingAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockMedium, new Vector2(0f, 1.6f), 300, 60, 0.96f);
     this.xLeftScreenEmitter1.bDoSubSpawn = false;
     this.xLeftScreenEmitter1.SetInfo(60, 30);
     this.xMidScreenEmitter1 = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.Emitter_FallingLeaf, Vector2.Zero, 0f, 0) as EffectEmitter);
     this.xMidScreenEmitter1.xEffect = new _Effect_FallingAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockMedium, new Vector2(0f, 1.6f), 300, 60, 0.96f);
     this.xMidScreenEmitter1.bDoSubSpawn = false;
     this.xMidScreenEmitter1.SetInfo(60, 30);
     this.xRightScreenEmitter1 = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.Emitter_FallingLeaf, Vector2.Zero, 0f, 0) as EffectEmitter);
     this.xRightScreenEmitter1.xEffect = new _Effect_FallingAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockMedium, new Vector2(0f, 1.6f), 300, 60, 0.96f);
     this.xRightScreenEmitter1.bDoSubSpawn = false;
     this.xRightScreenEmitter1.SetInfo(60, 30);
 }
コード例 #2
0
 public override void OnAdd()
 {
     this.xFloor = Program.game._LoadObject_LoadArbitraryStatic("Bkg/Zone009_FlyingTemple/Inside/BossRoom/floor", new Vector2(138f, 277f), Vector2.Zero, 0f);
 }