Commit 3f050f10 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#495 Added trophies for Runes game.

parent cd22b08f
......@@ -160,6 +160,18 @@ in_the_darkness_1_limit_description=Za 3 poháry na střední úroveň
in_the_darkness_2_limit=Pohmatu
in_the_darkness_2_limit_description=Za 3 poháry na těžkou úroveň
# <!-- Runes -->
runes_1_finished=Vševidoucí brýle
runes_1_finished_description=Za dohrání první hry
runes_5_finished=Detektivní lupa
runes_5_finished_description=Za odehrání pěti her
runes_10_finished=Neúnavný badatel
runes_10_finished_description=Za 10 dohraných her
runes_1_limit=Ostrovid
runes_1_limit_description=Za 3 poháry na střední úroveň
runes_2_limit=Bystrozrak
runes_2_limit_description=Za 3 poháry na těžkou úroveň
# <!-- Specialni trofeje -->
user_consecutively3days=Prasklina ve zdi
user_consecutively3days_description=Za hraní jakékoliv hry 3 dny po sobě
......
......@@ -160,6 +160,18 @@ in_the_darkness_1_limit_description=Für 3 Pokale auf mittlerer Schwierigkeit
in_the_darkness_2_limit=Tastend
in_the_darkness_2_limit_description=Für 3 Pokale auf der schwierigen Stufe
# <!-- Runes -->
runes_1_finished=Alles-Seher-Brille
runes_1_finished_description=Für das Beenden des ersten Spiels
runes_5_finished=Detektiv-Lupe
runes_5_finished_description=Für fünf beendete Spiele
runes_10_finished=Unermüdlicher Forscher
runes_10_finished_description=Für 10 beendete Spiele
runes_1_limit=Adlerauge
runes_1_limit_description=Für 3 Pokale auf mittlerer Schwierigkeit
runes_2_limit=Scharfäugig
runes_2_limit_description=Für 3 Pokale auf der schwierigen Stufe
# <!-- Specialni trofeje -->
user_consecutively3days=Riss in der Wand
user_consecutively3days_description=Für das Spielen eines beliebigen Spiels 3 Tage nacheinander
......
......@@ -162,6 +162,18 @@ in_the_darkness_1_limit_description=Za tri poháre na strednú úroveň
in_the_darkness_2_limit=Pohmatom
in_the_darkness_2_limit_description=Za tri poháre na ťažkú úroveň
# <!-- Runes -->
runes_1_finished=Vševidiace okuliare
runes_1_finished_description=Za dohranie prvej hry
runes_5_finished=Detektívna lupa
runes_5_finished_description=Za odohranie piatich hier
runes_10_finished=Neúnavný badateľ
runes_10_finished_description=Za 10 dohraných hier
runes_1_limit=Ostrovid
runes_1_limit_description=Za tri poháre na strednú úroveň
runes_2_limit=Bystrozrak
runes_2_limit_description=Za tri poháre na ťažkú úroveň
# <!-- Specialni trofeje -->
user_consecutively3days=Prasklina v stene
user_consecutively3days_description=Za hranie akejkoľvek hry 3 dni po sebe
......
......@@ -66,8 +66,13 @@ public enum GameTrophyDefinition implements ITrophyDefinition {
IN_THE_DARKNESS_PLAY2(GameDefinition.IN_THE_DARKNESS, GameTrophyTypeDefinition.PLAY_LIMIT_2, "in_the_darkness_5_finished","in_the_darkness_5_finished_description", 5, new GameTrophy.NumberOfTimesFinished()), //26
IN_THE_DARKNESS_PLAY3(GameDefinition.IN_THE_DARKNESS, GameTrophyTypeDefinition.PLAY_LIMIT_3, "in_the_darkness_10_finished", "in_the_darkness_10_finished_description", 10, new GameTrophy.NumberOfTimesFinished()), //27
IN_THE_DARKNESS_DIFF1(GameDefinition.IN_THE_DARKNESS, GameTrophyTypeDefinition.DIFFICULTY_LIMIT_1, "in_the_darkness_1_limit", "in_the_darkness_1_limit_description", GameDifficulty.MEDIUM.getDifficultyNumber(), new GameTrophy.ThreeStarsReceived()), //28
IN_THE_DARKNESS_DIFF2(GameDefinition.IN_THE_DARKNESS, GameTrophyTypeDefinition.DIFFICULTY_LIMIT_2, "in_the_darkness_2_limit", "in_the_darkness_2_limit_description", GameDifficulty.HARD.getDifficultyNumber(), new GameTrophy.ThreeStarsReceived());//29
IN_THE_DARKNESS_DIFF2(GameDefinition.IN_THE_DARKNESS, GameTrophyTypeDefinition.DIFFICULTY_LIMIT_2, "in_the_darkness_2_limit", "in_the_darkness_2_limit_description", GameDifficulty.HARD.getDifficultyNumber(), new GameTrophy.ThreeStarsReceived()),//29
RUNES_PLAY1(GameDefinition.RUNES, GameTrophyTypeDefinition.PLAY_LIMIT_1, "runes_1_finished", "runes_1_finished_description", 1, new GameTrophy.NumberOfTimesFinished()), //30
RUNES_PLAY2(GameDefinition.RUNES, GameTrophyTypeDefinition.PLAY_LIMIT_2, "runes_5_finished","runes_5_finished_description", 5, new GameTrophy.NumberOfTimesFinished()), //31
RUNES_PLAY3(GameDefinition.RUNES, GameTrophyTypeDefinition.PLAY_LIMIT_3, "runes_10_finished", "runes_10_finished_description", 10, new GameTrophy.NumberOfTimesFinished()), //32
RUNES_DIFF1(GameDefinition.RUNES, GameTrophyTypeDefinition.DIFFICULTY_LIMIT_1, "runes_1_limit", "runes_1_limit_description", GameDifficulty.MEDIUM.getDifficultyNumber(), new GameTrophy.ThreeStarsReceived()), //33
RUNES_DIFF2(GameDefinition.RUNES, GameTrophyTypeDefinition.DIFFICULTY_LIMIT_2, "runes_2_limit", "runes_2_limit_description", GameDifficulty.HARD.getDifficultyNumber(), new GameTrophy.ThreeStarsReceived());//34
private GameDefinition gameDefinition;
private GameTrophyTypeDefinition trophyTypeDefinition;
......
......@@ -77,7 +77,7 @@ public class HallOfFameScreen extends AbstractTablexiaScreen<Map<ITrophyDefiniti
private static final Point SCREEN_SIZE = new Point(TablexiaSettings.getWorldSize(), TablexiaSettings.getMinWorldHeight());
private static final int TROPHY_DIALOG_WIDTH = 350;
private static final int TROPHY_DIALOG_HEIGHT = 350;
private static final int BACKGROUND_TILE_REPEAT_COUNT = 23;
private static final int BACKGROUND_TILE_REPEAT_COUNT = 28;
private static final float TILE_SCREE_WIDTH_RATIO = 0.25f;
private static final long MOUSE_CHEESE_ANIM_DURATION = 1500;
private static final long MOUSE_DIALOG_DURATION = 8000;
......
......@@ -110,7 +110,13 @@ public class TrophyHelper {
trophiesProperties.put(GameTrophyDefinition.IN_THE_DARKNESS_PLAY2, new Trio<Float, Float, Float>(5.05f, 0.77f, 0.7f));// in_the_darkness_5_finished,33
trophiesProperties.put(GameTrophyDefinition.IN_THE_DARKNESS_PLAY3, new Trio<Float, Float, Float>(4.85f, 0.1f, 0.7f));// in_the_darkness_10_finished.34
trophiesProperties.put(GameTrophyDefinition.IN_THE_DARKNESS_DIFF1, new Trio<Float, Float, Float>(4.85f, 0.65f, 0.7f));// in_the_darkness_1_limit,31
trophiesProperties.put(GameTrophyDefinition.IN_THE_DARKNESS_DIFF2, new Trio<Float, Float, Float>(5.23f, 0.4f, 0.7f));// in_the_darkness_2_limit,35
trophiesProperties.put(GameTrophyDefinition.IN_THE_DARKNESS_DIFF2, new Trio<Float, Float, Float>(5.21f, 0.4f, 0.7f));// in_the_darkness_2_limit,35
trophiesProperties.put(GameTrophyDefinition.RUNES_PLAY1, new Trio<Float, Float, Float>(5.35f, 0.7f, 0.5f));// runes_1_finished,36
trophiesProperties.put(GameTrophyDefinition.RUNES_PLAY2, new Trio<Float, Float, Float>(5.35f, 0.26f, 0.5f));// runes_5_finished,37
trophiesProperties.put(GameTrophyDefinition.RUNES_PLAY3, new Trio<Float, Float, Float>(5.50f, 0.5f, 0.5f));// runes_10_finished,38
trophiesProperties.put(GameTrophyDefinition.RUNES_DIFF1, new Trio<Float, Float, Float>(5.47f, 0.18f, 0.5f));// runes_1_limit,39
trophiesProperties.put(GameTrophyDefinition.RUNES_DIFF2, new Trio<Float, Float, Float>(5.75f, 0.23f, 0.5f));// runes_2_limit,40
//USER TROPHIES
trophiesProperties.put(UserTrophyDefinition.CONSECUTIVELY_DAYSBACK_3, new Trio<Float, Float, Float>(0.87f, 0.38f, 1f));//user_consecutively3days,2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment