Skip to content

Commit 2376a3a

Browse files
committed
deltas
1 parent 9c57d9b commit 2376a3a

28 files changed

+74
-0
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "interactive"
3+
}

pom.xml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.game</groupId>
8+
<artifactId>spacerocks</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<properties>
12+
<maven.compiler.source>17</maven.compiler.source>
13+
<maven.compiler.target>17</maven.compiler.target>
14+
</properties>
15+
16+
<dependencies>
17+
<dependency>
18+
<groupId>com.badlogicgames.gdx</groupId>
19+
<artifactId>gdx</artifactId>
20+
<version>1.12.1</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.badlogicgames.gdx</groupId>
24+
<artifactId>gdx-backend-lwjgl3</artifactId>
25+
<version>1.12.1</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.badlogicgames.gdx</groupId>
29+
<artifactId>gdx-platform</artifactId>
30+
<version>1.12.1</version>
31+
<classifier>natives-desktop</classifier>
32+
</dependency>
33+
</dependencies>
34+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.game;
2+
3+
import com.badlogic.gdx.Gdx;
4+
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
5+
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
6+
import com.game.engine.SpaceRocks;
7+
8+
public class DesktopLauncher {
9+
public static void main(String[] args) {
10+
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
11+
config.setForegroundFPS(60);
12+
config.setTitle("Bit Looter");
13+
config.setWindowedMode(800,800);
14+
15+
Lwjgl3Application app = new Lwjgl3Application(new SpaceRocks(), config);
16+
17+
Gdx.app = app;
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.game.engine;
2+
3+
import com.badlogic.gdx.Game;
4+
5+
public class SpaceRocks extends Game{
6+
7+
@Override
8+
public void create() {
9+
// TODO Auto-generated method stub
10+
throw new UnsupportedOperationException("Unimplemented method 'create'");
11+
}
12+
13+
@Override
14+
public void dispose(){
15+
16+
}
17+
18+
}
97.6 KB
Loading

src/main/resources/assets/fire.png

929 Bytes
Loading

src/main/resources/assets/laser.png

390 Bytes
Loading
30.6 KB
Loading
43 KB
Loading

src/main/resources/assets/rock.png

3.26 KB
Loading

src/main/resources/assets/shields.png

29.7 KB
Loading

src/main/resources/assets/space.png

33.8 KB
Loading
2.72 KB
Loading

src/main/resources/assets/ufo.png

5.67 KB
Loading

src/main/resources/assets/warp.png

161 KB
Loading

target/classes/assets/explosion.png

97.6 KB
Loading

target/classes/assets/fire.png

929 Bytes
Loading

target/classes/assets/laser.png

390 Bytes
Loading
30.6 KB
Loading

target/classes/assets/message-win.png

43 KB
Loading

target/classes/assets/rock.png

3.26 KB
Loading

target/classes/assets/shields.png

29.7 KB
Loading

target/classes/assets/space.png

33.8 KB
Loading

target/classes/assets/spaceship.png

2.72 KB
Loading

target/classes/assets/ufo.png

5.67 KB
Loading

target/classes/assets/warp.png

161 KB
Loading
1.1 KB
Binary file not shown.
548 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)