Skip to content

Commit 6a9d4c6

Browse files
authored
Merge pull request #1 from mmelnizky/master
Update
2 parents 7e4740f + 4d7e370 commit 6a9d4c6

File tree

78 files changed

+1990
-160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1990
-160
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ Thumbs.db
118118
!/ios/xcode/*.xcodeproj/xcshareddata
119119
!/ios/xcode/*.xcodeproj/project.pbxproj
120120
/ios/xcode/native/
121+
/ios/IOSLauncher.app
122+
/ios/IOSLauncher.app.dSYM
121123

122124
/ios-moe/xcode/*.xcodeproj/*
123125
!/ios-moe/xcode/*.xcodeproj/xcshareddata

android/AndroidManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.halma.game" >
3+
package="rocks.poopjournal.halma" >
44

55
<application
66
android:allowBackup="true"
7-
android:icon="@drawable/ic_launcher"
7+
android:icon="@mipmap/icon_launcher"
88
android:isGame="true"
99
android:appCategory="game"
1010
android:label="@string/app_name"
1111
android:theme="@style/GdxTheme" >
1212
<activity
13-
android:name="com.halma.game.AndroidLauncher"
13+
android:name="rocks.poopjournal.halma.AndroidLauncher"
1414
android:label="@string/app_name"
1515
android:screenOrientation="landscape"
1616
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|screenLayout">

android/assets/Field.png

152 Bytes
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Main-Class: rocks.poopjournal.halma.desktop.DesktopLauncher
3+

android/assets/Roboto-Thin.fnt

Lines changed: 199 additions & 0 deletions
Large diffs are not rendered by default.

android/assets/Skin.atlas

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Skin.png
3+
size: 512,512
4+
format: RGBA8888
5+
filter: Linear,Linear
6+
repeat: none
7+
Roboto-Thin
8+
rotate: false
9+
xy: 1, 444
10+
size: 506, 61
11+
orig: 506, 61
12+
offset: 0, 0
13+
index: -1
14+
BlueButtonDown
15+
rotate: false
16+
xy: 1, 402
17+
size: 40, 40
18+
split: 7, 32, 6, 33
19+
pad: 0, 0, 0, 0
20+
orig: 40, 40
21+
offset: 0, 0
22+
index: -1
23+
BlueButtonUp
24+
rotate: false
25+
xy: 1, 360
26+
size: 40, 40
27+
split: 21, 18, 6, 33
28+
pad: 0, 0, 0, 0
29+
orig: 40, 40
30+
offset: 0, 0
31+
index: -1

android/assets/Skin.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
com.badlogic.gdx.graphics.g2d.BitmapFont: {
3+
Standart: {
4+
file: Roboto-Thin.fnt
5+
}
6+
}
7+
com.badlogic.gdx.graphics.Color: {
8+
white: {
9+
r: 1
10+
g: 1
11+
b: 1
12+
a: 1
13+
}
14+
}
15+
com.badlogic.gdx.scenes.scene2d.ui.Button$ButtonStyle: {
16+
default: {
17+
up: BlueButtonUp
18+
down: BlueButtonDown
19+
checked: BlueButtonDown
20+
}
21+
}
22+
com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: {
23+
default: {
24+
parent: default
25+
}
26+
}
27+
com.badlogic.gdx.scenes.scene2d.ui.ImageTextButton$ImageTextButtonStyle: {
28+
default: {
29+
parent: default
30+
font: Standart
31+
}
32+
}
33+
com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: {
34+
default: {
35+
font: Standart
36+
}
37+
}
38+
com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
39+
default: {
40+
parent: default
41+
font: Standart
42+
fontColor: white
43+
}
44+
}
45+
com.badlogic.gdx.scenes.scene2d.ui.TextTooltip$TextTooltipStyle: {
46+
default: {
47+
label: default
48+
}
49+
}
50+
}

android/assets/Skin.png

11.6 KB
Loading

android/build.gradle

Lines changed: 7 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
android {
2-
buildToolsVersion "28.0.3"
3-
compileSdkVersion 28
2+
buildToolsVersion "29.0.2"
3+
compileSdkVersion 29
44
sourceSets {
55
main {
66
manifest.srcFile 'AndroidManifest.xml'
@@ -17,9 +17,9 @@ android {
1717
exclude 'META-INF/robovm/ios/robovm.xml'
1818
}
1919
defaultConfig {
20-
applicationId "com.halma.game"
21-
minSdkVersion 9
22-
targetSdkVersion 28
20+
applicationId "rocks.poopjournal.halma"
21+
minSdkVersion 14
22+
targetSdkVersion 29
2323
versionCode 1
2424
versionName "1.0"
2525
}
@@ -86,59 +86,7 @@ task run(type: Exec) {
8686
}
8787

8888
def adb = path + "/platform-tools/adb"
89-
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.halma.game/com.halma.game.AndroidLauncher'
89+
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.martinzky.halma/com.martinzky.halma.AndroidLauncher'
9090
}
9191

92-
// sets up the Android Eclipse project, using the old Ant based build.
93-
eclipse {
94-
// need to specify Java source sets explicitly, SpringSource Gradle Eclipse plugin
95-
// ignores any nodes added in classpath.file.withXml
96-
sourceSets {
97-
main {
98-
java.srcDirs "src", 'gen'
99-
}
100-
}
101-
102-
jdt {
103-
sourceCompatibility = 1.6
104-
targetCompatibility = 1.6
105-
}
106-
107-
classpath {
108-
plusConfigurations += [ project.configurations.compile ]
109-
containers 'com.android.ide.eclipse.adt.ANDROID_FRAMEWORK', 'com.android.ide.eclipse.adt.LIBRARIES'
110-
}
111-
112-
project {
113-
name = appName + "-android"
114-
natures 'com.android.ide.eclipse.adt.AndroidNature'
115-
buildCommands.clear();
116-
buildCommand "com.android.ide.eclipse.adt.ResourceManagerBuilder"
117-
buildCommand "com.android.ide.eclipse.adt.PreCompilerBuilder"
118-
buildCommand "org.eclipse.jdt.core.javabuilder"
119-
buildCommand "com.android.ide.eclipse.adt.ApkBuilder"
120-
}
121-
}
122-
123-
// sets up the Android Idea project, using the old Ant based build.
124-
idea {
125-
module {
126-
sourceDirs += file("src");
127-
scopes = [ COMPILE: [plus:[project.configurations.compile]]]
128-
129-
iml {
130-
withXml {
131-
def node = it.asNode()
132-
def builder = NodeBuilder.newInstance();
133-
builder.current = node;
134-
builder.component(name: "FacetManager") {
135-
facet(type: "android", name: "Android") {
136-
configuration {
137-
option(name: "UPDATE_PROPERTY_FILES", value:"true")
138-
}
139-
}
140-
}
141-
}
142-
}
143-
}
144-
}
92+
eclipse.project.name = appName + "-android"
53.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)