吞食鱼2修改版吧 关注:34贴子:732
  • 1回复贴,共1

【图片】 【吞食鱼2】修改关

只看楼主收藏回复

这个是分享贴,下面讲一下关卡修改,并来展示一下。

其实后面更精彩。

这才叫完美,再看看代码吧!
分割线
----------------------------------------------------------------------------------------------------------------------------------------------------
<stage sizeUnit="20" set="resource/backdrops/dribbleCastle.xml" night="false" gameMusic="track1">
<player visual="orcaPlain" behavior="ButterflyPlayer" alienVisual="alienButterflyFish">
<phase size="1.15" foodGoal="225" />
<phase size="2.05" foodGoal="500" />
<phase size="3.0" foodGoal="820" /> <phase size="4.85" foodGoal="980" />
</player>
<spawn class="AIFish" visual="leopardShark" size="0.9" foodValue="10" showMenu="true" location="side" behavior="Herring">
<phase max="12" delay="0.5" />
<phase max="10" delay="0.5" />
<phase max="8" delay="0.5" />
</spawn>
<spawn class="AIFish" visual="butterflyFish" size="1.16" foodValue="20" showMenu="true" location="side" behavior="GenericWander">
<phase max="10" delay="(5.0,7.0)" />
<phase max="10" delay="0.3" />
<phase max="8" delay="0.5" />
</spawn>
<spawn class="AIFish" visual="butterflyFishB" size="2.75" foodValue="35" showMenu="true" location="side" behavior="GenericWander">
<phase max="0" delay="(2.0,4.0)" />
<phase max="1" delay="(7.0,10.0)" />
<phase max="2" delay="2.5" /> </spawn>
<spawn class="AIFish" visual="greatWhite" size="4.75" foodValue="45" showMenu="true" location="side" behavior="GenericWander">
<phase max="0" delay="(2.0,4.0)" />
<phase max="1" delay="(7.0,10.0)" />
<phase max="2" delay="2.5" /> </spawn>
</stage>
代码其实并不难,这个代码来源于我的第二个修改版:吞食鱼2鲨鱼王的阴谋,以后可以分享一下吞食鱼修改过的程序,我可以发邮箱,以后记得问我要。
分割线
-------------------------------------------------------------------------------------------------------------------------------------------------------
<stage sizeUnit="20" set="resource/backdrops/dribbleCastle.xml" night="false" gameMusic="track2">
<player visual="orcaPlain" behavior="ButterflyPlayer" alienVisual="alienButterflyFish">
<phase size="1.15" foodGoal="250" />
<phase size="3.05" foodGoal="600" />
<phase size="4.90" foodGoal="1000" /> <phase size="6.0" foodGoal="1990" /> <phase size="7.0" foodGoal="2909" />
</player>
<spawn class="AIFish" visual="greatWhite" size="0.1" foodValue="10" showMenu="true" location="side" behavior="Herring">
<phase max="8" delay="0.5" />
<phase max="7" delay="0.5" />
<phase max="6" delay="0.5" />
</spawn>
<spawn class="AIFish" visual="greatWhite" size="0.9" foodValue="10" showMenu="true" location="side" behavior="Herring">
<phase max="8" delay="0.5" />
<phase max="7" delay="0.5" />
<phase max="6" delay="0.5" />
</spawn>
<spawn class="AIFish" visual="butterflyFishC" size="1.16" foodValue="20" showMenu="true" location="side" behavior="GenericWander">
<phase max="2" delay="0.5" />
<phase max="3" delay="0.3" />
<phase max="2" delay="0.5" />
</spawn>
<spawn class="AIFish" visual="lionRed" size="2.75" foodValue="35" showMenu="true" location="side" behavior="Herring">
<phase max="1" delay="(3.0,8.0)" />
<phase max="2" delay="(2.0,4.0)" />
<phase max="2" delay="0.3" />
</spawn>
<spawn class="AIFish" visual="leopardShark" size="4.0" showMenu="false" showStageComplete="false" location="side" behavior="SlowFlyby">
<phase max="0" delay="(10.0,12.0)" />
<phase max="1" delay="(20.0,30.0)" />
<phase max="1" delay="(15.0,25.0)" />
</spawn>
<spawn class="AIFish" visual="orcaPlain" size="6.0" showMenu="false" showStageComplete="false" location="side" behavior="SlowFlyby">
<phase max="6" delay="(10.0,12.0)" />
<phase max="1" delay="(20.0,30.0)" />
<phase max="8" delay="(15.0,25.0)" />
</spawn> <spawn class="AIFish" visual="greatWhite" size="7.1" foodValue="10" showMenu="true" location="side" behavior="Herring">
<phase max="0" delay="0.5" />
<phase max="0" delay="0.5" />
<phase max="1" delay="0.5" />
</spawn>
<spawn class="AIFish" visual="minnowPoison" size="2.0" showMenu="false" showStageComplete="false" location="side" behavior="SlowFlyby">
<phase max="0" delay="(10.0,12.0)" />
<phase max="1" delay="(20.0,30.0)" />
<phase max="1" delay="(15.0,25.0)" />
</spawn>
<spawn class="BonusStar" location="bottom" poolSize="4" >
<phase max="1" delay="(3.0,6.0)" />
</spawn>
</stage>
第二关有点难喽!我自制的代码有一点问题,有谁的火眼金睛可以看出来呢?你可以复制到你的吞食鱼2里,剩下的东西2楼3楼会讲一些。


IP属地:上海1楼2023-05-06 17:55回复
    这好像是吞食鱼2鲨鱼王之战版的吞食鱼2,目前没有做多少,做好了会有专用贴。


    IP属地:上海2楼2023-06-06 06:20
    回复