ผลต่างระหว่างรุ่นของ "418383/418587 ภาคปลาย 2553/คะแนนการบ้าน 2"
ไปยังการนำทาง
ไปยังการค้นหา
Cardcaptor (คุย | มีส่วนร่วม) (หน้าที่ถูกสร้างด้วย '== คะแนน == === คนที่ไม่ได้ 0 คะแนน === === คนที่ได้ 0 คะแนนเนื…') |
Cardcaptor (คุย | มีส่วนร่วม) (→คะแนน) |
||
| แถว 2: | แถว 2: | ||
=== คนที่ไม่ได้ 0 คะแนน === | === คนที่ไม่ได้ 0 คะแนน === | ||
=== คนที่ได้ 0 คะแนนเนื่องจากลอกเพื่อนหรือให้เพื่อนลอก === | === คนที่ได้ 0 คะแนนเนื่องจากลอกเพื่อนหรือให้เพื่อนลอก === | ||
| + | |||
| + | === การลอกกันที่ผมจับได้ === | ||
| + | ==== โค้ดเปลี่ยนด่านใน PlayScreen.cs ==== | ||
| + | <table> | ||
| + | <tr> | ||
| + | <td align="center">51180537</td> | ||
| + | <td align="center">51180628</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td> | ||
| + | <geshi lang="csharp"> | ||
| + | else if (playScreen.gameState.BrickCount <= 0) | ||
| + | { | ||
| + | |||
| + | |||
| + | if (lv == 3) | ||
| + | { | ||
| + | Constants.MAP_NAME = "map03"; | ||
| + | |||
| + | |||
| + | } | ||
| + | else | ||
| + | { | ||
| + | |||
| + | Constants.MAP_NAME = "map02"; | ||
| + | lv = 3; | ||
| + | } | ||
| + | playScreen.LoadContent(); | ||
| + | |||
| + | if (lv2 != 3) | ||
| + | { | ||
| + | lv2 += 1; | ||
| + | MediaPlayer.Stop(); | ||
| + | MediaPlayer.Play(song3); | ||
| + | |||
| + | playScreen.Game.SwitchScreen(Constants.NEXT_LV_SCREEN_NAME); | ||
| + | |||
| + | } | ||
| + | else | ||
| + | { | ||
| + | lv = 1; | ||
| + | lv2 = 1; | ||
| + | Constants.MAP_NAME = "map01.txt"; | ||
| + | playScreen.LoadContent(); | ||
| + | playScreen.Game.SwitchScreen(Constants.GAME_CLEARED_SCREEN_NAME); | ||
| + | |||
| + | } | ||
| + | } | ||
| + | else if (playScreen.keySensor.IsKeyTyped(KeyMapping.pauseKey)) | ||
| + | playScreen.ChangeState(playScreen.pauseState); | ||
| + | } | ||
| + | </geshi> | ||
| + | </td> | ||
| + | <td> | ||
| + | <geshi lang="csharp"> | ||
| + | else if (playScreen.gameState.BrickCount <= 0) | ||
| + | { | ||
| + | if (lv == 3) | ||
| + | { | ||
| + | Constants.MAP_NAME = "map03"; | ||
| + | MediaPlayer.Stop(); | ||
| + | } | ||
| + | else | ||
| + | { | ||
| + | Constants.MAP_NAME = "map02"; | ||
| + | MediaPlayer.Stop(); | ||
| + | lv = 3; | ||
| + | } | ||
| + | playScreen.LoadContent(); | ||
| + | |||
| + | if (lv2 != 3) | ||
| + | { | ||
| + | lv2 += 1; | ||
| + | MediaPlayer.Play(song4); | ||
| + | playScreen.Game.SwitchScreen(Constants.NEXT_LV_SCREEN_NAME); | ||
| + | } | ||
| + | else | ||
| + | { | ||
| + | lv = 1; | ||
| + | lv2 = 1; | ||
| + | Constants.MAP_NAME = "map01"; | ||
| + | MediaPlayer.Play(song5); | ||
| + | Constants.ascore = 0; | ||
| + | playScreen.LoadContent(); | ||
| + | playScreen.Game.SwitchScreen(Constants.GAME_CLEARED_SCREEN_NAME); | ||
| + | } | ||
| + | } | ||
| + | else if (playScreen.keySensor.IsKeyTyped(KeyMapping.pauseKey)) | ||
| + | playScreen.ChangeState(playScreen.pauseState); | ||
| + | } | ||
| + | </geshi> | ||
| + | </td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | |||
| + | <!-- | ||
| + | <td> | ||
| + | <geshi lang="csharp"> | ||
| + | </geshi> | ||
| + | </td> | ||
| + | --> | ||
รุ่นแก้ไขเมื่อ 08:32, 20 มีนาคม 2554
เนื้อหา
คะแนน
คนที่ไม่ได้ 0 คะแนน
คนที่ได้ 0 คะแนนเนื่องจากลอกเพื่อนหรือให้เพื่อนลอก
การลอกกันที่ผมจับได้
โค้ดเปลี่ยนด่านใน PlayScreen.cs
| 51180537 | 51180628 |
|
<geshi lang="csharp"> else if (playScreen.gameState.BrickCount <= 0)
{
if (lv == 3)
{
Constants.MAP_NAME = "map03";
}
else
{
Constants.MAP_NAME = "map02";
lv = 3;
}
playScreen.LoadContent();
if (lv2 != 3)
{
lv2 += 1;
MediaPlayer.Stop();
MediaPlayer.Play(song3);
playScreen.Game.SwitchScreen(Constants.NEXT_LV_SCREEN_NAME);
}
else
{
lv = 1;
lv2 = 1;
Constants.MAP_NAME = "map01.txt";
playScreen.LoadContent();
playScreen.Game.SwitchScreen(Constants.GAME_CLEARED_SCREEN_NAME);
}
}
else if (playScreen.keySensor.IsKeyTyped(KeyMapping.pauseKey))
playScreen.ChangeState(playScreen.pauseState);
}
</geshi> |
<geshi lang="csharp"> else if (playScreen.gameState.BrickCount <= 0)
{
if (lv == 3)
{
Constants.MAP_NAME = "map03";
MediaPlayer.Stop();
}
else
{
Constants.MAP_NAME = "map02";
MediaPlayer.Stop();
lv = 3;
}
playScreen.LoadContent();
if (lv2 != 3)
{
lv2 += 1;
MediaPlayer.Play(song4);
playScreen.Game.SwitchScreen(Constants.NEXT_LV_SCREEN_NAME);
}
else
{
lv = 1;
lv2 = 1;
Constants.MAP_NAME = "map01";
MediaPlayer.Play(song5);
Constants.ascore = 0;
playScreen.LoadContent();
playScreen.Game.SwitchScreen(Constants.GAME_CLEARED_SCREEN_NAME);
}
}
else if (playScreen.keySensor.IsKeyTyped(KeyMapping.pauseKey))
playScreen.ChangeState(playScreen.pauseState);
}
</geshi> |