visual: gestion différente des librairie par gradle, ajout des librairies, ajout des tinteddrawable pour tout les autres boutons, activation du mode debogue,

This commit is contained in:
Nicolas Hordé 2016-01-17 23:25:59 +01:00
parent 5a97ea208a
commit 2284c94add
8 changed files with 37 additions and 18 deletions

View File

@ -14,7 +14,7 @@
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/GdxTheme" android:hardwareAccelerated="true" android:allowClearUserData="true" android:logo="@drawable/ic_launcher">
android:theme="@style/GdxTheme" android:hardwareAccelerated="true" android:allowClearUserData="true" android:logo="@drawable/ic_launcher" android:debuggable="true">
<activity
android:name="fr.evolving.game.android.AndroidLauncher"
android:label="@string/app_name"

View File

@ -73,7 +73,22 @@
tech_disabled: { name: tech, color: lowgrey }
exit2_down: { name: exit2, color: veryred },
exit2_over: { name: exit2, color: red },
exit2_disabled: { name: exit2, color: lowgrey }
exit2_disabled: { name: exit2, color: lowgrey },
run_down: { name: run, color: veryred },
stop_down: { name: stop, color: veryred },
speed_down: { name: speed, color: veryred },
move_down: { name: move, color: veryred },
zoomp_down: { name: zoomp, color: veryred },
zoomm_down: { name: zoomm, color: veryred },
raz_down: { name: raz, color: veryred },
save_down: { name: save, color: veryred },
levels_down: { name: levels, color: veryred },
exits_down: { name: exits, color: veryred },
settings_down: { name: settings, color: veryred },
stat_down: { name: stat, color: veryred },
tree_down: { name: tree, color: veryred },
infos_down: { name: infos, color: veryred }
}
com.badlogic.gdx.scenes.scene2d.ui.ImageTextButton$ImageTextButtonStyle: {
world0: { checkedFontColor:red, disabledFontColor:white, fontColor:white, overFontColor:red ,up: leveler0 , down: leveler0_down, over:leveler0_over, disabled:leveler0_disabled, checked:leveler0_over, font: Fluoxetine-25, pressedOffsetY: -70, unpressedOffsetY: -72, checkedOffsetY: -72 }
@ -106,25 +121,25 @@
Next: { up: arrows , down: arrows_down, over:arrows_over}
Previous: { up: arrows2 , down: arrows2_down, over:arrows2_over}
logosmall: { up: logo2 , down: logo2_down, over:logo2_over,checked:logo2_down}
run: { up: run }
stop: { up: stop }
speed: { up: speed }
move: { up: move }
zoomp: { up: zoomp }
zoomm: { up: zoomm }
raz: { up: raz }
save: { up: save }
levels: { up: levels }
exits: { up: exits }
run: { up: run, down:run_down }
stop: { up: stop, down:stop_down }
speed: { up: speed,down:speed_down }
move: { up: move,down:move_down }
zoomp: { up: zoomp,down:zoomp_down }
zoomm: { up: zoomm,down:zoomm_down }
raz: { up: raz,down:raz_down }
save: { up: save,down:save_down }
levels: { up: levels,down:levels_down }
exits: { up: exits,down:exits_down }
screen: { checked: screen, up:windows }
sound: { checked:sound , up :nosound }
Setflag: { checked:french , up: usa }
tuto: { checked:tuto , up:nothing }
settings: { up: settings }
stat: { up: stat }
settings: { up: settings,down:settings_down }
stat: { up: stat,down:stat_down }
separator: { up: separator }
tree: { up: tree }
infos: { up: infos }
tree: { up: tree,down:tree_down }
infos: { up: infos,down:infos_down }
info_nrj: { up: nrj }
info_cycle: { up: cycle }
info_temp: { up: temp }

View File

@ -1,6 +1,6 @@
android {
buildToolsVersion "21.1.2"
compileSdkVersion 21
compileSdkVersion 19
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'

Binary file not shown.

Binary file not shown.

BIN
android/libs/gdx-sqlite.jar Normal file

Binary file not shown.

4
android/lint.xml Normal file
View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="HardcodedDebugMode" severity="warning" />
</lint>

View File

@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-14
target=android-19