Code Monkey home page Code Monkey logo

Comments (9)

Mygod avatar Mygod commented on August 22, 2024

提交问题最好将详细信息中的堆栈也发一下。

from edge.

Mygod avatar Mygod commented on August 22, 2024

问题似乎是你使用了 @Radius 导致产生了多个相同 ID 的元素。

from edge.

Mygod avatar Mygod commented on August 22, 2024

鉴于你并没有用到这些 ID,直接删除即可。

from edge.

WEGFan avatar WEGFan commented on August 22, 2024

谁说我没用到这些ID的……
编译时是先把Radius转换成有ID的MP和Button再编译?不是直接以索引的形式写到bin里么
qq 20150731110638

from edge.

Mygod avatar Mygod commented on August 22, 2024

你发的代码说的。

但是你指定了 ID。

from edge.

WEGFan avatar WEGFan commented on August 22, 2024

我总不可能把整个关卡放上来吧

from edge.

Mygod avatar Mygod commented on August 22, 2024

有什么不可能,而且你应该。

from edge.

WEGFan avatar WEGFan commented on August 22, 2024
<?xml version="1.0" encoding="utf-8"?>
<Level ID="222" Name="1st contact" TimeThresholds="9,25,55,85,145" Size="4x5x2" SpawnPoint="3,22,62" ExitPoint="11,12,1" Theme="1" MusicJava="5" Music="6" Zoom="1" Angle="22" FieldOfView="10" ModelTheme="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="edge_level_bin-schema.xsd">

  <MovingPlatform ID="1a" AutoStart="False" LoopStartIndex="0" FullBlock="False">
    <Waypoint Position="1,1,1"/>
  </MovingPlatform>
  <MovingPlatform ID="0" AutoStart="False" LoopStartIndex="2" FullBlock="False" Offset="0,1,0" RelatedTo="1a">
    <Waypoint Position="4,2,2" TravelTime="42" PauseTime="44"/>
    <Waypoint Position="1,5,1" TravelTime="88" PauseTime="1"/>
    <Waypoint Position="1,1,7" TravelTime="24" PauseTime="25"/>
  </MovingPlatform>
  <MovingPlatform ID="1" AutoStart="False" LoopStartIndex="1" FullBlock="False" Offset="0,0,0" RelatedTo="1a">
    <Waypoint Position="2,2,2" TravelTime="22" PauseTime="11"/>
    <Waypoint Position="1,1,1" TravelTime="11" PauseTime="2"/>
    <Waypoint Position="1,1,2" TravelTime="44" PauseTime="52"/>
  </MovingPlatform>


  <Bumper ID="2" Enabled="False" Position="1,2,3">
    <North StartDelay="1" PulseRate="2"/>
    <East StartDelay="4" PulseRate="1"/>
    <South StartDelay="3" PulseRate="4"/>
    <West StartDelay="3" PulseRate="4"/>
  </Bumper>
  <Bumper ID="3" Enabled="False" Position="1,2,3">
    <North StartDelay="1" PulseRate="2"/>
  </Bumper>
  <Bumper ID="4" Enabled="True" Position="5,7,8"/>


  <FallingPlatform Position="1,2,5" FloatTime="15"/>
  <FallingPlatform Position="2,2,2"/>


  <Checkpoint Position="1,5,4" RespawnZ="25" Radius="1,5"/>
  <Checkpoint Position="1,5,4" Radius="1,5"/>

  <CameraTrigger Position="3,4,5" Radius="1,5" Zoom="3" Angle="120" FieldOfView="120" StartDelay="120" Duration="11" SingleUse="True"/>
  <CameraTrigger Position="1,2,2" Zoom="4"/>


  <Prism Position="1,2,2"/>
  <Prism Position="2,4,66"/>


  <Button ID="5" Visible="True" DisableCount="4" Mode="StayUp" MovingPlatformID="1" AffectMovingPlatforms="9" AffectBumpers="2,4" TriggerAchievements="5 (2)" AffectButtons="6"/>
  <Button ID="6" Position="0,0,0"/>


  <ButtonSequence SequenceInOrder="False" AffectMovingPlatforms="0 (1),1 (1)" AffectBumpers="2,4" TriggerAchievements="5 (2)" AffectButtons="6 (1),10 (0)">
    <Button ID="7" Visible="True" DisableCount="4" MovingPlatformID="1"/>
    <Button ID="8" Visible="Null" Position="2,1,1"/>
  </ButtonSequence>


  <OtherCube PositionTrigger="1,2,3" MovingBlockSync="1" PositionCube="2,2,2" Radius="1,1" Mode="Hole" MoveDirection="1,2,3">
    <MovingPlatform ID="9" AutoStart="False" LoopStartIndex="0" FullBlock="False">
      <Waypoint Position="8,8,8" TravelTime="22" PauseTime="44"/>
      <Waypoint Position="8,8,9" TravelTime="11" PauseTime="22"/>
    </MovingPlatform>
    <Button ID="10" Visible="Null" DisableCount="1" Mode="StayUp" MovingPlatformID="1" AffectMovingPlatforms="1"/>
    <NorthDown TimeOffset="20"/>
    <NorthUp TimeOffset="40"/>
    <EastDown TimeOffset="60"/>
    <EastUp TimeOffset="80"/>
    <SouthDown TimeOffset="100"/>
    <SouthUp TimeOffset="120"/>
    <WestDown TimeOffset="140"/>
    <WestUp TimeOffset="160"/>
  </OtherCube>
  <OtherCube PositionTrigger="2,2,3" MovingBlockSync="0" PositionCube="3,2,2" Radius="2,2">
    <NorthDown TimeOffset="20"/>
    <NorthUp TimeOffset="40"/>
    <EastDown TimeOffset="60"/>
    <EastUp TimeOffset="80"/>
    <SouthDown TimeOffset="100"/>
    <SouthUp TimeOffset="120"/>
    <WestDown TimeOffset="140"/>
    <WestUp TimeOffset="160"/>
  </OtherCube>


  <DarkCube PositionTrigger="4,5,6" Radius="2,2" MovingBlockSync="1a" PositionCube="4,5,7">
    <NorthDown TimeOffset="20"/>
    <NorthUp TimeOffset="40"/>
    <EastDown TimeOffset="60"/>
    <EastUp TimeOffset="80"/>
    <SouthDown TimeOffset="100"/>
    <SouthUp TimeOffset="120"/>
    <WestDown TimeOffset="140"/>
    <WestUp TimeOffset="160"/>
  </DarkCube>


  <ResizerGrow Position="1,5,4" Visible="False" Radius="1,2"/>
  <ResizerShrink Position="2,4,4" Radius="1,0"/>

</Level>

from edge.

Mygod avatar Mygod commented on August 22, 2024

请删除 OtherCube/@Radius 或手动实现 MovingPlatformButton

from edge.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.