-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix issue that player does not enter fall state anymore * add SaveSystem to store player progress (first draft) * fix some issues with savesystem - entities of a map are now correctly loaded again - tutorialsystem runs before the savesystem to correctly store the tutorial progress - fix issue that the fireball skill was added multiple times to the game HUD * fix falling state of player. It is now only entered if the player is really falling down * add trigger conditions to run triggers only under certain conditions * adds TmxMapComponent to portal targets * fix issue that fireball icon was not correctly set when loading a savestate * fix preference name * save game when changing maps * add debug message to analyze entity cache when changing maps * add new trigger to reactivate portal when boss is already dead * add support for loading a previous save state * add new widgets to go back from game to menu screen (android support) * fix issue that fireball was not correctly saved/loaded * ignore android release build folder
- Loading branch information
1 parent
43b4cc4
commit fc947b5
Showing
23 changed files
with
630 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,3 +125,4 @@ Thumbs.db | |
/buildSrc/build/ | ||
|
||
android/local.properties | ||
/android/release/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
armor=Armor | ||
backToMenu.info=Do you really want to go back to the menu? Your progress will be lost until the last \ | ||
checkpoint that you have reached or until the last map that you have entered. | ||
Boss1Dialog1.1=[BROWN]Minotaur[]: Who is there?\n\ | ||
[RED]Quilly[]: Are you the one who kidnapped my girlfriend?\n\ | ||
[BROWN]Minotaur[]: *harharhar*, then you are the little worm of whom the girl was talking about all the time. | ||
|
@@ -16,6 +18,9 @@ Time to continue your search! | |
Boss1Dialog3.2=This is already the end of version one of Quilly's Adventure.\n\ | ||
If you enjoyed it then please let me know at [RED][email protected][].\n\ | ||
Thanks for playing! | ||
clearGameState.info=You already started a game before. If you want to continue the game please click on \ | ||
[RED]Continue[] in the menu. If you want to start a new game and delete your old \ | ||
progress then click on [RED]Yes[]. | ||
continue=Continue | ||
credits=Credits | ||
credits.info=Special thanks to [RED]DRSchlaubi[] for his great assistance throughout the project with Kotlin and Gradle.\ | ||
|
@@ -56,6 +61,7 @@ map.name.MAP1=Path to cave | |
map.name.MAP2=Cave | ||
music=Music | ||
newGame=New Game | ||
no=No | ||
quitGame=Quit Game | ||
requiresLvl3=requires Level 3 | ||
skills=[BROWN]Skills[] | ||
|
@@ -94,3 +100,4 @@ Use the attack button or CTRL key to make Quilly [RED]attack[].\n\n\ | |
Be careful of the blue slimes ahead! They will attack you. | ||
xp=Experience | ||
xpAbbreviation=XP | ||
yes=Yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
armor=Rüstung | ||
backToMenu.info=Willst du wirklich zurück ins Menü? Dein Fortschritt ist verloren bis zum letzten \ | ||
Speicherpunkt oder zur letzten Karte, die du betreten hast. | ||
Boss1Dialog1.1=[BROWN]Minotaure[]: Schau an, wen haben wir denn da?\n\ | ||
[RED]Quilly[]: Bist du derjenige, der meine Freundin entführt hat?\n\ | ||
[BROWN]Minotaure[]: *harharhar*, dann bist du also der kleine Wurm, von dem \ | ||
|
@@ -16,6 +18,9 @@ Zeit, deine Suche fortzusetzen! | |
Boss1Dialog3.2=Dies ist leider bereits schon das Ende von der ersten Version von Quilly's Abenteuer.\n\ | ||
Wenn es dir Spaß gemacht hat, dann lass es mich bitte unter [RED][email protected][] wissen.\n\ | ||
Vielen Dank fürs Spielen! | ||
clearGameState.info=Du hast bereits ein Spiel begonnen. Wenn du es fortsetzen möchtest, dann klicke bitte auf \ | ||
[RED]Fortsetzen[] im Menü. Wenn du ein neues Spiel beginnen möchtest und den aktuellen \ | ||
Fortschritt löschen möchtest, dann klicke auf [RED]Ja[]. | ||
continue=Fortfahren | ||
credits=Danksagungen | ||
credits.info=Ein besonderes Dankeschön geht an [RED]DRSchlaubi[] für seine großartige Unterstützung während des ganzen Projektes mit Kotlin und Gradle. \ | ||
|
@@ -59,6 +64,7 @@ map.name.MAP1=Weg zur Höhle | |
map.name.MAP2=Höhle | ||
music=Musik | ||
newGame=Neues Spiel | ||
no=Nein | ||
quitGame=Spiel Beenden | ||
requiresLvl3=benötigt Stufe 3 | ||
skills=[BROWN]Fähigkeiten[] | ||
|
@@ -97,3 +103,4 @@ Benutze den Angriffsknopf oder STRG um [RED]anzugreifen[].\n\n\ | |
Hüte dich vor den blauen Schleimen! Sie werden dich angreifen. | ||
xp=Erfahrung | ||
xpAbbreviation=ERF | ||
yes=Ja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
armor=Armor | ||
backToMenu.info=Do you really want to go back to the menu? Your progress will be lost until the last \ | ||
checkpoint that you have reached or until the last map that you have entered. | ||
Boss1Dialog1.1=[BROWN]Minotaur[]: Who is there?\n\ | ||
[RED]Quilly[]: Are you the one who kidnapped my girlfriend?\n\ | ||
[BROWN]Minotaur[]: *harharhar*, then you are the little worm of whom the girl was talking about all the time. | ||
|
@@ -16,6 +18,9 @@ Time to continue your search! | |
Boss1Dialog3.2=This is already the end of version one of Quilly's Adventure.\n\ | ||
If you enjoyed it then please let me know at [RED][email protected][].\n\ | ||
Thanks for playing! | ||
clearGameState.info=You already started a game before. If you want to continue the game please click on \ | ||
[RED]Continue[] in the menu. If you want to start a new game and delete your old \ | ||
progress then click on [RED]Yes[]. | ||
continue=Continue | ||
credits=Credits | ||
credits.info=Special thanks to [RED]DRSchlaubi[] for his great assistance throughout the project with Kotlin and Gradle.\ | ||
|
@@ -56,6 +61,7 @@ map.name.MAP1=Path to cave | |
map.name.MAP2=Cave | ||
music=Music | ||
newGame=New Game | ||
no=No | ||
quitGame=Quit Game | ||
requiresLvl3=requires Level 3 | ||
skills=[BROWN]Skills[] | ||
|
@@ -94,3 +100,4 @@ Use the attack button or CTRL key to make Quilly [RED]attack[].\n\n\ | |
Be careful of the blue slimes ahead! They will attack you. | ||
xp=Experience | ||
xpAbbreviation=XP | ||
yes=Yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
core/src/main/kotlin/com/github/quillraven/quillysadventure/ecs/component/SaveComponent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.github.quillraven.quillysadventure.ecs.component | ||
|
||
import com.badlogic.ashley.core.Component | ||
import com.badlogic.gdx.utils.Pool | ||
|
||
class SaveComponent : Component, Pool.Poolable { | ||
override fun reset() = Unit | ||
} |
17 changes: 17 additions & 0 deletions
17
core/src/main/kotlin/com/github/quillraven/quillysadventure/ecs/component/TmxMapComponent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.github.quillraven.quillysadventure.ecs.component | ||
|
||
import com.badlogic.ashley.core.Component | ||
import com.badlogic.gdx.utils.Pool | ||
import ktx.ashley.mapperFor | ||
|
||
class TmxMapComponent : Component, Pool.Poolable { | ||
var id = -1 | ||
|
||
override fun reset() { | ||
id = -1 | ||
} | ||
|
||
companion object { | ||
val mapper = mapperFor<TmxMapComponent>() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.