红色为已执行步法,兰色为需执行步法(其中"[ ]"内为注解,"\n"为换行),绿色为执行行数。
要使用这魔方JAVA时,编缉时要用HTML,并把自动修正前的勾去丢,如(自动修正)。再输入以下的java代码即可。
<applet code="RubikPlayer.class" codebase=http://mf8.nease.net/java/3/ width="300" height="400">
<param name="scrptLanguage" value="HarrisENG">
<param name="scrptType" value="Generator">
<param name="scrpt" value=" [2*2]B2R'F'L'B2\n[F2L]D'RDFD2LDL'\n[F2L]R'DRD'\n[F2L]FR'F'R\n[顶一色]DR2U'R'UR'D'\n[OK]RU'R'UDR'DU'R'URD2F2">
<param name="scrptProgress" value="0">
<param name="initScrpt" value=" (B2 U L')*4 R2 U' F (R' B D L2)*5 F D R F' (R' L2 D)*3">
<param name="displayLines" value="7">
<param name="alpha" value="-25">
<param name="beta" value="35">
<param name="colorTable" value="0xFF0000,0x00FF00,0xFFFFFF,0xFF9933,0x0000FF,0xFFFF00">
<param name="faces" value="0,1,2,3,4,5">
<param name="stickersFront" value="0,0,0,0,0,0,0,0,0">
<param name="stickersRight" value="1,1,1,1,1,1,1,1,1">
<param name="stickersDown" value="2,2,2,2,2,2,2,2,2">
<param name="stickersBack" value="3,3,3,3,3,3,3,3,3">
<param name="stickersLeft" value="4,4,4,4,4,4,4,4,4">
<param name="stickersUp" value="5,5,5,5,5,5,5,5,5">
<param name="backgroundColor" value="0x99cc99">
<param name="ambientLightIntensity" value="0.8">
<param name="lightSourceIntensity" value="0.2">
<param name="lightSourceLocation" value="-500,500,1000">
<param name="rearView" value="false">
<param name="rearViewBackgroundColor" value="">
<param name="rearViewBackgroundImage" value="">
<param name="rearViewScaleFactor" value="0.75">
</applet>
[此贴子已经被作者于2004-12-7 14:19:16编辑过]
|