Browse Source

Merge branch 'main' of gogs.informatik.hs-fulda.de:fdai7016/Team_22 into main

main
Lea Anton 3 years ago
parent
commit
b204f7bc35
  1. 145
      GameProject/log\log4j.log
  2. 29
      GameProject/src/base/MultiLevelGame.java

145
GameProject/log\log4j.log

@ -0,0 +1,145 @@
2022-04-28 14:15:25,843 INFO base.GameLoop - GUI starts
2022-04-28 14:15:28,747 INFO base.GameLoop - GUI NEW
2022-04-28 14:15:28,747 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:15:28,763 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:15:28,765 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:15:28,766 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:15:28,767 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:15:28,768 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:15:28,769 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:15:28,770 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:15:28,771 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:15:28,773 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:15:28,776 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:15:28,776 WARN playground.HighscoreManager - WARNING: Highscore file was not found and reset
2022-04-28 14:15:28,777 INFO playground.HighscoreManager - Highscore file was opened and saved score: 0
2022-04-28 14:15:28,778 INFO playground.SpaceInvadersLevel - HIGHSCORE0
2022-04-28 14:16:22,896 INFO playground.HighscoreManager - Highscore file was opened and saved score: 6600
2022-04-28 14:16:22,897 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:16:22,897 INFO base.GameLoop - reached end of levels
2022-04-28 14:16:22,897 INFO base.GameLoop - Game ends. Bye.
2022-04-28 14:16:30,389 INFO base.GameLoop - GUI starts
2022-04-28 14:16:32,882 INFO base.GameLoop - GUI NEW
2022-04-28 14:16:32,882 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:16:32,899 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:16:32,901 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:16:32,901 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:16:32,902 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:16:32,903 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:16:32,904 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:16:32,905 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:16:32,906 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:16:32,908 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:16:32,908 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:16:32,910 INFO playground.SpaceInvadersLevel - HIGHSCORE6600
2022-04-28 14:17:14,678 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:17:14,679 INFO base.GameLoop - reached end of levels
2022-04-28 14:17:14,680 INFO base.GameLoop - Game ends. Bye.
2022-04-28 14:17:24,055 INFO base.GameLoop - GUI starts
2022-04-28 14:17:25,829 INFO base.GameLoop - GUI NEW
2022-04-28 14:17:25,829 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:17:25,846 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:17:25,848 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:17:25,848 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:17:25,849 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:17:25,851 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:17:25,851 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:17:25,852 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:17:25,853 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:17:25,855 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:17:25,856 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:17:25,857 INFO playground.SpaceInvadersLevel - HIGHSCORE6600
2022-04-28 14:31:52,636 INFO base.GameLoop - GUI starts
2022-04-28 14:31:54,695 INFO base.GameLoop - GUI NEW
2022-04-28 14:31:54,695 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:31:54,713 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:31:54,715 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:31:54,715 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:31:54,716 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:31:54,717 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:31:54,718 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:31:54,719 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:31:54,720 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:31:54,722 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:31:54,723 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:31:54,724 INFO playground.SpaceInvadersLevel - HIGHSCORE6600
2022-04-28 14:32:22,126 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:32:22,126 INFO base.GameLoop - reached end of levels
2022-04-28 14:32:22,126 INFO base.GameLoop - Game ends. Bye.
2022-04-28 14:35:01,628 INFO base.GameLoop - GUI starts
2022-04-28 14:35:03,761 INFO base.GameLoop - GUI NEW
2022-04-28 14:35:03,761 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:35:03,777 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:35:03,779 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:35:03,780 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:35:03,781 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:35:03,782 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:35:03,783 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:35:03,784 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:35:03,784 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:35:03,786 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:35:03,789 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:35:03,791 INFO playground.SpaceInvadersLevel - HIGHSCORE6600
2022-04-28 14:35:31,550 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:35:31,551 INFO base.GameLoop - reached end of levels
2022-04-28 14:35:31,551 INFO base.GameLoop - Game ends. Bye.
2022-04-28 14:40:39,248 INFO base.GameLoop - GUI starts
2022-04-28 14:40:41,313 INFO base.GameLoop - GUI NEW
2022-04-28 14:40:41,313 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:40:41,329 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:40:41,331 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:40:41,332 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:40:41,333 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:40:41,333 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:40:41,334 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:40:41,335 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:40:41,336 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:40:41,337 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:40:41,338 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:40:41,340 INFO playground.SpaceInvadersLevel - HIGHSCORE6600
2022-04-28 14:41:13,281 INFO playground.HighscoreManager - Highscore file was opened and saved score: 6700
2022-04-28 14:41:13,281 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:41:13,281 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:41:13,283 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:41:13,284 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:41:13,284 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:41:13,285 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:41:13,285 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:41:13,286 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:41:13,286 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:41:13,287 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:41:13,288 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:41:13,288 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:41:13,289 INFO playground.SpaceInvadersLevel - HIGHSCORE6700
2022-04-28 14:41:36,758 INFO playground.HighscoreManager - Highscore file was opened and saved score: 7700
2022-04-28 14:41:36,758 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:41:36,758 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:41:36,759 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:41:36,760 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:41:36,760 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:41:36,761 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:41:36,761 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:41:36,761 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:41:36,762 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:41:36,762 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:41:36,764 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:41:36,764 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:41:36,765 INFO playground.SpaceInvadersLevel - HIGHSCORE7700
2022-04-28 14:41:54,761 INFO playground.HighscoreManager - Highscore file was opened and saved score: 13300
2022-04-28 14:41:54,761 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:41:54,762 INFO playground.SpaceInvadersLevel - PREPARE
2022-04-28 14:41:54,763 INFO playground.Animation - img added ./video/sweetAlien0.png
2022-04-28 14:41:54,763 INFO playground.Animation - img added ./video/sweetAlien1.png
2022-04-28 14:41:54,763 INFO playground.Animation - img added ./video/sweetAlien2.png
2022-04-28 14:41:54,764 INFO playground.Animation - img added ./video/sweetAlien3.png
2022-04-28 14:41:54,764 INFO playground.Animation - img added ./video/sweetAlien4.png
2022-04-28 14:41:54,764 INFO playground.Animation - img added ./video/sweetAlien5.png
2022-04-28 14:41:54,765 INFO playground.Animation - img added ./video/sweetAlien6.png
2022-04-28 14:41:54,765 INFO playground.Animation - img added ./video/sweetAlien7.png
2022-04-28 14:41:54,766 INFO playground.Animation - img added ./video/heart0.png
2022-04-28 14:41:54,767 INFO playground.Animation - img added ./video/heart1.png
2022-04-28 14:41:54,767 INFO playground.SpaceInvadersLevel - HIGHSCORE13300
2022-04-28 14:42:00,635 INFO playground.HighscoreManager - Highscore file was opened and saved score: 13500
2022-04-28 14:42:00,636 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-04-28 14:42:00,636 INFO base.GameLoop - reached end of levels
2022-04-28 14:42:00,636 INFO base.GameLoop - Game ends. Bye.

29
GameProject/src/base/MultiLevelGame.java

@ -0,0 +1,29 @@
package base;
import java.io.IOException;
import playground.Level1;
import playground.Level3;
import playground.LevelBoss;
import playground.LevelHitTwice;
public class MultiLevelGame extends GameLoop {
public static void main(String[] args) throws IOException {
GameLoop gl = new MultiLevelGame();
gl.runGame(args);
// TODO Auto-generated method stub
}
@Override
void defineLevels( ) {
this.addLevel(new Level1());
this.addLevel(new LevelHitTwice());
this.addLevel(new Level3());
this.addLevel(new LevelBoss());
}
}
Loading…
Cancel
Save