Jonathan Hager 6 years ago
parent ff76ad8288
commit c77c0e9079

@ -1 +1,20 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"android-release.apk","fullName":"release","baseName":"release"},"path":"android-release.apk","properties":{}}]
{
"version": 1,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.throwgame.main",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"properties": [],
"versionCode": 1,
"versionName": "1",
"enabled": true,
"outputFile": "android-release.apk"
}
]
}

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Throwgame</string>
<string name="app_name">Orbital Throw</string>
</resources>

@ -17,6 +17,7 @@ public class AndroidLauncher extends AndroidApplication {
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
Controller controller = new Controller();
initialize(controller, config);
}
}

@ -209,7 +209,8 @@ public class Gamescreen{
shapeRenderer.rect(object.getX(), object.getY(), object.getWidth(), object.getHeight());
}
}
*/
shapeRenderer.setColor(Color.BLACK);
for(Button button : buttons){
shapeRenderer.rectLine(button.getxPos(), button.getyPos(), button.getxPos() + button.getWidth(), button.getyPos(), 4);
@ -225,8 +226,6 @@ public class Gamescreen{
shapeRenderer.begin(ShapeRenderer.ShapeType.Filled);
}
*/
shapeRenderer.setColor(Color.GRAY);

@ -72,7 +72,7 @@ public class Titlescreen{
public void render(SpriteBatch batch) {
font.getData().setScale(6);
font.draw(batch, "THROWGAME", GAME_WORLD_WIDTH / 2 - getTextWidth("THROWGAME") / 2, GAME_WORLD_HEIGHT * 0.9f);
font.draw(batch, "ORBITAL THROW", GAME_WORLD_WIDTH / 2 - getTextWidth("ORBITAL THROW") / 2, GAME_WORLD_HEIGHT * 0.9f);
font.getData().setScale(2);
clicktostartX = GAME_WORLD_WIDTH / 2 - getTextWidth("click to start ...") / 2;
font.draw(batch, "click to start ...", clicktostartX, clicktostartY);

@ -11,6 +11,7 @@ public class DesktopLauncher {
config.fullscreen = false;
config.height = 900;
config.width = 1600;
config.title = "Orbital Throw";
new LwjglApplication(new Controller(), config);
}
}

@ -1 +1 @@
{goal:{xPos:1084,yPos:456,sizeX:250,sizeY:140,thickness:0.2},projectile:{xPos:264,yPos:378,mass:5,radius:10},math:{},xPosPivot:264,yPosPivot:228,isTraceInitialised:[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],traces:[{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10}],objects:[{x:605,y:261,width:200,height:100},{x:605,y:337,width:200,height:100},{x:604,y:417,width:200,height:100},{x:604,y:492,width:200,height:100},{x:603,y:559,width:200,height:100},{x:602,y:643,width:200,height:100},{x:603,y:707,width:200,height:100},{x:603,y:772,width:200,height:100}]}
{goal:{xPos:1084,yPos:456,sizeX:250,sizeY:300,thickness:0.2},projectile:{xPos:264,yPos:378,mass:5,radius:10},math:{},xPosPivot:264,yPosPivot:228,isTraceInitialised:[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],traces:[{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10},{x:-10,y:-10}],objects:[{x:605,y:261,width:200,height:100},{x:605,y:337,width:200,height:100},{x:604,y:417,width:200,height:100},{x:604,y:492,width:200,height:100},{x:603,y:559,width:200,height:100},{x:602,y:643,width:200,height:100},{x:603,y:707,width:200,height:100},{x:603,y:772,width:200,height:100}]}
Loading…
Cancel
Save