volvimo xq exploto

This commit is contained in:
2025-10-17 01:27:10 -03:00
parent 602d3c3b41
commit 4dac989d96
73 changed files with 1155 additions and 5718 deletions
-1
View File
@@ -15,4 +15,3 @@ MonoBehaviour:
levels:
- {fileID: 11400000, guid: 02511a1817fb03f488e79bde43e9b4e3, type: 2}
- {fileID: 11400000, guid: 32ed080379bdb4473bebe4c2b9f5e415, type: 2}
- {fileID: 11400000, guid: 5e3f058d9125913449b0a15767a2bf05, type: 2}
@@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d7420bd8a7628a8429e53eb8069649f4, type: 3}
m_Name: LevelConfigSpring
m_Name: LevelConfig_Score
m_EditorClassIdentifier:
levelId: Level_02
displayName: Nivel 1
@@ -13,5 +13,5 @@ MonoBehaviour:
m_Name: TilesetPresetSpring
m_EditorClassIdentifier:
mapPrefab: {fileID: 8066111981586945550, guid: 250647998611d4d289090a32063315d5, type: 3}
ambience: {fileID: 8300000, guid: 3e572e74eda88d8479e212343c77f8b2, type: 3}
ambience: {fileID: 0}
ambientLight: {r: 1, g: 1, b: 1, a: 1}
@@ -1,148 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d7420bd8a7628a8429e53eb8069649f4, type: 3}
m_Name: LevelConfigSummerIslands
m_EditorClassIdentifier:
levelId: Level_03
displayName: Nivel 2
description: Nivel de puntaje Summer Islands
recommendedDifficulty: 1
tileset: {fileID: 11400000, guid: 0a5243d3b357e714293207eb8064216e, type: 2}
worldOrigin: {x: 0, y: 0}
worldSize: {x: 100, y: 60}
requiredTotalLandings: 1
unlockHintOverride:
useLandingWinCondition: 1
winCount: 50
runways:
- preset: {fileID: 11400000, guid: 01f4af7339a2a13449409af583b33556, type: 2}
position: {x: 9.59, y: -1.45}
rotationZ: 90
runwayId: 1
landingDirectionMode: 0
presetForwardOverride: {x: 1, y: 0}
spawnAnchors: []
- preset: {fileID: 11400000, guid: ccc1dcfd545fbfc4f801e8957e21bbb5, type: 2}
position: {x: 11.82, y: -1.98}
rotationZ: 0
runwayId: 1
landingDirectionMode: 0
presetForwardOverride: {x: 1, y: 0}
spawnAnchors: []
- preset: {fileID: 11400000, guid: fd619444b585428478fde4ac10a9dffb, type: 2}
position: {x: -12.41, y: -1.98}
rotationZ: 0
runwayId: 1
landingDirectionMode: 0
presetForwardOverride: {x: 1, y: 0}
spawnAnchors: []
spawnerRules:
- spawnerId: A
enable: 1
overrideType: 0
type: 0
planePrefabsOverride:
- {fileID: 8887022185975264338, guid: 1f94160a177d8411984fe48801bb9541, type: 3}
overrideTiming: 1
randomizeInterval: 1
spawnInterval: 0
intervalRange: {x: 0, y: 0}
maxSpawns: 28
- spawnerId: B
enable: 1
overrideType: 0
type: 1
planePrefabsOverride:
- {fileID: 8887022185975264338, guid: 1f94160a177d8411984fe48801bb9541, type: 3}
overrideTiming: 1
randomizeInterval: 1
spawnInterval: 2
intervalRange: {x: 0, y: 0}
maxSpawns: 28
- spawnerId: C
enable: 1
overrideType: 0
type: 2
planePrefabsOverride:
- {fileID: 8887022185975264338, guid: 1f94160a177d8411984fe48801bb9541, type: 3}
overrideTiming: 1
randomizeInterval: 1
spawnInterval: 2
intervalRange: {x: 0, y: 0}
maxSpawns: 28
typeCaps: []
randomPickWhenExceedCap: 1
waves:
- waveId: 1
startTime: 3
duration: 500
entries:
- planeType: 0
count: 28
spawnRate: 7
spawnPosition: {x: 0, y: 0}
alignWithRunwayForward: 1
initialDirection: {x: 0, y: 0}
initialSpeed: 0
targetRunwayId: 1
scoreValue: 0
allowCurves: 0
separationNoise: 0
useRunwayAnchor: 0
fromRunwayId: RWY_A
anchorId: A1
angleOffset: 0
- planeType: 1
count: 1000
spawnRate: 7
spawnPosition: {x: 0, y: 0}
alignWithRunwayForward: 1
initialDirection: {x: 0, y: 0}
initialSpeed: 0
targetRunwayId: 1
scoreValue: 0
allowCurves: 0
separationNoise: 0
useRunwayAnchor: 0
fromRunwayId: RWY_A
anchorId: A1
angleOffset: 0
- planeType: 2
count: 1000
spawnRate: 7
spawnPosition: {x: 0, y: 0}
alignWithRunwayForward: 1
initialDirection: {x: 0, y: 0}
initialSpeed: 0
targetRunwayId: 1
scoreValue: 0
allowCurves: 0
separationNoise: 0
useRunwayAnchor: 0
fromRunwayId: RWY_A
anchorId: A1
angleOffset: 0
weather: {fileID: 11400000, guid: 027a9c7e8ea49fe44bed2df133d42d5f, type: 2}
objectives:
- type: 1
targetValue: 1
tolerance: 1
note: 1
timeLimitSeconds: 0
lives: 1
startingScore: 0
scoreTarget: 0
speedMultiplier: 1
spawnRateMultiplier: 1
scoreMultiplier: 1
useSimpleTutorialUI: 0
dialog: {fileID: 0}
@@ -1,21 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 957313a006f1cd84a9dae79ecc62f738, type: 3}
m_Name: RunwayPresetDiagonal
m_EditorClassIdentifier:
runwayType: 0
runwayPrefab: {fileID: 4776354397367489766, guid: 2d2a3835ba639e041bd1d4fed715033f, type: 3}
landingDirection: {x: 0, y: 0}
defaultForward: {x: 0, y: 0}
prefabVisualZOffset: 0
visualRootName: Visual
rotateVisualOnly: 1
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: ccc1dcfd545fbfc4f801e8957e21bbb5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -1,21 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 957313a006f1cd84a9dae79ecc62f738, type: 3}
m_Name: RunwayPresetHelipuerto
m_EditorClassIdentifier:
runwayType: 0
runwayPrefab: {fileID: 6233147436181382244, guid: a648fec6188409c4697f42ecf5f30933, type: 3}
landingDirection: {x: 0, y: 0}
defaultForward: {x: 1, y: 0}
prefabVisualZOffset: 0
visualRootName: Visual
rotateVisualOnly: 1
@@ -1,21 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 957313a006f1cd84a9dae79ecc62f738, type: 3}
m_Name: RunwayPresetRecta
m_EditorClassIdentifier:
runwayType: 0
runwayPrefab: {fileID: 451076641906574467, guid: 26042d6d00aba0c49ba58968d1f54176, type: 3}
entryLocal: {x: 1, y: 0}
finishLocal: {x: 0, y: 0}
landingDirection: {x: 0, y: 0}
defaultForward: {x: 1, y: 0}
prefabVisualZOffset: 0
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: dfbd1d2b3572c734ebbe3b6e2e94746f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -1,17 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d2d4f6b9206e7164fb0041fac5b761ef, type: 3}
m_Name: TilesetPresetSummerIslands
m_EditorClassIdentifier:
mapPrefab: {fileID: 198719004240592418, guid: b90922ad5a8044af7a08e521a532f26e, type: 3}
ambience: {fileID: 8300000, guid: 3e572e74eda88d8479e212343c77f8b2, type: 3}
ambientLight: {r: 1, g: 1, b: 1, a: 1}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 0a5243d3b357e714293207eb8064216e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -1,22 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fc18d27254db9c345888a7fc44f3f8bf, type: 3}
m_Name: WeatherProfile
m_EditorClassIdentifier:
weatherType: 0
visibility: 1
windDirection: {x: 1, y: 0}
windSpeed: 0
gustiness: 0
turbulence: 0
lightning: 0
night: 0
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 027a9c7e8ea49fe44bed2df133d42d5f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -13,5 +13,5 @@ MonoBehaviour:
m_Name: TilesetPreset
m_EditorClassIdentifier:
mapPrefab: {fileID: 1247317672281346991, guid: 1856acdbbeacf454197c92357d427605, type: 3}
ambience: {fileID: 8300000, guid: 3e572e74eda88d8479e212343c77f8b2, type: 3}
ambience: {fileID: 0}
ambientLight: {r: 1, g: 1, b: 1, a: 1}
@@ -13,13 +13,13 @@ MonoBehaviour:
m_Name: TutorialDialog
m_EditorClassIdentifier:
steps:
- text: Toca el avion para seleccionarlo.
- text: "Toca el avi\xF3n para seleccionarlo."
condition: 1
showAutoPathDemo: 1
- text: Dibuja una ruta hasta la pista.
condition: 2
showAutoPathDemo: 1
prefix: '-'
prefix: "\u25B6 "
targetRunwayIdOrName:
autoPickPlane: 1
targetPlaneObjectName:
@@ -4,9 +4,10 @@
It also defines the transitive dependencies on play-services
-->
<androidPackages>
<androidPackage spec="com.google.games:gpgs-plugin-support:2.1.0" />
<repositories>
<repository>Assets/GooglePlayGames/com.google.play.games/Editor/m2repository</repository>
</repositories>
<androidPackage spec="com.google.games:gpgs-plugin-support:2.1.0">
<repositories>
<repository>Assets/GooglePlayGames/com.google.play.games/Editor/m2repository</repository>
</repositories>
</androidPackage>
</androidPackages>
</dependencies>
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application>
<!--Used when Application Entry is set to Activity, otherwise remove this activity block-->
<activity android:name="com.unity3d.player.UnityPlayerActivity"
android:theme="@style/UnityThemeSelector">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
<!--Used when Application Entry is set to GameActivity, otherwise remove this activity block-->
<activity android:name="com.unity3d.player.UnityPlayerGameActivity"
android:theme="@style/BaseUnityGameActivityTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="android.app.lib_name" android:value="game" />
</activity>
</application>
</manifest>
@@ -1,7 +1,6 @@
fileFormatVersion: 2
guid: 992642e39ca424642a79f24dceb98581
folderAsset: yes
DefaultImporter:
guid: deef29758d26741979201cd21d0c7d98
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
@@ -1,2 +1,143 @@
fileFormatVersion: 2
guid: 44f4150f398dc4f22b230f8c74866383
guid: 44f4150f398dc4f22b230f8c74866383
folderAsset: yes
timeCreated: 1504033921
licenseType: Pro
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 0
Exclude OSXIntel64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude Win: 0
Exclude Win64: 0
Exclude iOS: 0
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: AnyCPU
OS: AnyOS
data:
first:
Android: Android
second:
enabled: 1
settings:
CPU: ARMv7
data:
first:
Any:
second:
enabled: 1
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings: {}
data:
first:
Standalone: OSXIntel
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXUniversal
second:
enabled: 1
settings: {}
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
WebGL: WebGL
second:
enabled: 1
settings: {}
data:
first:
iPhone: iOS
second:
enabled: 1
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,2 @@
target=android-16
android.library=true
@@ -0,0 +1,13 @@
plugins {
// If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
// See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
// To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
id 'com.android.application' version '8.7.2' apply false
id 'com.android.library' version '8.7.2' apply false
**BUILD_SCRIPT_DEPS**
}
tasks.register('clean', Delete) {
delete rootProject.layout.buildDirectory
}
@@ -1,6 +1,5 @@
fileFormatVersion: 2
guid: 04eb430cfd2ee0d42966aa14c2bc5d67
folderAsset: yes
guid: c169bf39bc3a74d79ae569e4466232fc
DefaultImporter:
externalObjects: {}
userData:
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 4de90b693d4c55c45aeca2bc8e8327d5
guid: 4e20c521aa8b0403ab4fa9d14dce0cd3
DefaultImporter:
externalObjects: {}
userData:
+5 -1
View File
@@ -9,7 +9,7 @@ dependencies {
implementation 'androidx.lifecycle:lifecycle-process:2.6.2' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:17
implementation 'com.google.android.gms:play-services-ads:24.5.0' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
implementation 'com.google.android.ump:user-messaging-platform:3.2.0' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
implementation 'com.google.games:gpgs-plugin-support:2.1.0' // Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml:7
implementation 'com.google.games:gpgs-plugin-support:2.1.0' // Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml:11
// Android Resolver Dependencies End
**DEPS**}
@@ -60,6 +60,10 @@ android {
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
}**PACKAGING**
}
// Bloquear el paquete legacy que rompe con AGP 8.x
configurations.all {
exclude group: "com.google.games", module: "gpgs-plugin-support"
}
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**
@@ -1,8 +1,7 @@
fileFormatVersion: 2
guid: fd619444b585428478fde4ac10a9dffb
NativeFormatImporter:
guid: 2560d2be5e60e4a14b83c53df21f6bee
TextScriptImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+1 -21
View File
@@ -10,24 +10,4 @@ pluginManagement {
include ':launcher', ':unityLibrary'
**INCLUDES**
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
**ARTIFACTORYREPOSITORY**
google()
mavenCentral()
// Android Resolver Repos Start
def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/")
maven {
url (unityProjectPath + "/Assets/GooglePlayGames/com.google.play.games/Editor/m2repository") // Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml:10
}
maven {
url "https://maven.google.com/" // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7, Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12, Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:17, Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
}
mavenLocal()
// Android Resolver Repos End
flatDir {
dirs "${project(':unityLibrary').projectDir}/libs"
}
}
}
File diff suppressed because it is too large Load Diff
+21 -192
View File
@@ -35,7 +35,6 @@ Transform:
- {fileID: 3887534385901215373}
- {fileID: 4389126814436651198}
- {fileID: 586399608549388933}
- {fileID: 7774568893589303846}
- {fileID: 3986354458920636847}
- {fileID: 7174010130162375933}
- {fileID: 9188269531405823028}
@@ -79,7 +78,7 @@ Transform:
m_GameObject: {fileID: 1777831078378738168}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 15.8, y: -4.79, z: 0}
m_LocalPosition: {x: 11.09, y: -5.59, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -166,7 +165,7 @@ Transform:
m_GameObject: {fileID: 2813633691876674805}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 13.8, y: -6.52, z: 0}
m_LocalPosition: {x: 5.25, y: -3.27, z: 0}
m_LocalScale: {x: 0.7577, y: 0.7577, z: 0.7577}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -215,7 +214,7 @@ SpriteRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 12
m_SortingOrder: 10
m_Sprite: {fileID: -6321254601058818682, guid: 00a64b94e83faa34d85a4a4ade43f692, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
@@ -227,93 +226,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &4427072490045706276
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7774568893589303846}
- component: {fileID: 2092897361933291962}
m_Layer: 0
m_Name: "Decoraci\xF3n Aereopuerto_0 (4)"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7774568893589303846
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4427072490045706276}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -9.4, y: 3.43, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2846367329073371460}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &2092897361933291962
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4427072490045706276}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 10
m_Sprite: {fileID: 5852297553267049213, guid: 96e218446edcb6b4493c6a2735a20875, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 2.65, y: 2.63}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &4698467182980941120
GameObject:
m_ObjectHideFlags: 0
@@ -340,7 +252,7 @@ Transform:
m_GameObject: {fileID: 4698467182980941120}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 16.6, y: 4.55, z: 0}
m_LocalPosition: {x: 18.92, y: -5.66, z: 0}
m_LocalScale: {x: 0.7577, y: 0.7577, z: 0.7577}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -1943,76 +1855,6 @@ Tilemap:
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 149, y: 21, z: 0}
second:
serializedVersion: 2
m_TileIndex: 10
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 4
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
- first: {x: 150, y: 21, z: 0}
second:
serializedVersion: 2
m_TileIndex: 11
m_TileSpriteIndex: 0
m_TileMatrixIndex: 0
m_TileColorIndex: 3
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
- first: {x: 149, y: 22, z: 0}
second:
serializedVersion: 2
m_TileIndex: 12
m_TileSpriteIndex: 12
m_TileMatrixIndex: 0
m_TileColorIndex: 2
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
- first: {x: 150, y: 22, z: 0}
second:
serializedVersion: 2
m_TileIndex: 13
m_TileSpriteIndex: 13
m_TileMatrixIndex: 0
m_TileColorIndex: 1
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
- first: {x: 151, y: 22, z: 0}
second:
serializedVersion: 2
m_TileIndex: 14
m_TileSpriteIndex: 14
m_TileMatrixIndex: 0
m_TileColorIndex: 5
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
- first: {x: 149, y: 23, z: 0}
second:
serializedVersion: 2
m_TileIndex: 15
m_TileSpriteIndex: 15
m_TileMatrixIndex: 0
m_TileColorIndex: 6
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
- first: {x: 150, y: 23, z: 0}
second:
serializedVersion: 2
m_TileIndex: 16
m_TileSpriteIndex: 16
m_TileMatrixIndex: 0
m_TileColorIndex: 7
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741827
m_AnimatedTiles: {}
m_TileAssetArray:
- m_RefCount: 5
@@ -2035,24 +1877,10 @@ Tilemap:
m_Data: {fileID: 11400000, guid: c34f50d2c8539480e8be007af3065f46, type: 2}
- m_RefCount: 6
m_Data: {fileID: 11400000, guid: d08ad072985b94f3e91dd8b08a7e79f7, type: 2}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
m_TileSpriteArray:
- m_RefCount: 1
- m_RefCount: 0
m_Data: {fileID: 0}
- m_RefCount: 1
- m_RefCount: 0
m_Data: {fileID: 0}
- m_RefCount: 2
m_Data: {fileID: 8945436356734071885, guid: ecd17d8353bb6436ca16174c36697146, type: 3}
@@ -2074,18 +1902,8 @@ Tilemap:
m_Data: {fileID: -5924226280353578015, guid: ecd17d8353bb6436ca16174c36697146, type: 3}
- m_RefCount: 8
m_Data: {fileID: 2315773520373998671, guid: ecd17d8353bb6436ca16174c36697146, type: 3}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
- m_RefCount: 1
m_Data: {fileID: 0}
m_TileMatrixArray:
- m_RefCount: 121
- m_RefCount: 114
m_Data:
e00: 1
e01: 0
@@ -2214,6 +2032,7 @@ Tilemap:
m_TileColorArray:
- m_RefCount: 150
m_Data: {r: 1, g: 1, b: 1, a: 1}
<<<<<<< HEAD
- m_RefCount: 1
m_Data: {r: 0.858017, g: 0.49014342, b: 0.598329, a: 1}
- m_RefCount: 1
@@ -2228,11 +2047,21 @@ Tilemap:
m_Data: {r: 0.72826755, g: 0.4548645, b: 0.48712346, a: 1}
- m_RefCount: 1
m_Data: {r: 0.8016303, g: 0.35880268, b: 0.3842952, a: 1}
=======
- m_RefCount: 0
m_Data: {r: 1.65e-43, g: 1.65e-43, b: 1.65e-43, a: 1.65e-43}
- m_RefCount: 0
m_Data: {r: 1.65e-43, g: 1.65e-43, b: 1.65e-43, a: 1.65e-43}
- m_RefCount: 0
m_Data: {r: 1.65e-43, g: 1.65e-43, b: 1.65e-43, a: 1.65e-43}
- m_RefCount: 0
m_Data: {r: 1.65e-43, g: 1.65e-43, b: 1.65e-43, a: 1.65e-43}
>>>>>>> parent of 6df3044 ( A PARTIR DE ACA COMIENZA LA ETAPA DE PRUEBAS)
m_TileObjectToInstantiateArray: []
m_AnimationFrameRate: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Origin: {x: -9, y: -6, z: 0}
m_Size: {x: 161, y: 30, z: 1}
m_Size: {x: 18, y: 10, z: 1}
m_TileAnchor: {x: 0.5, y: 0.5, z: 0}
m_TileOrientation: 0
m_TileOrientationMatrix:
@@ -2330,7 +2159,7 @@ Transform:
m_GameObject: {fileID: 5035458616794866900}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 19.06, y: -4.86, z: 0}
m_LocalPosition: {x: 13.95, y: -5.59, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -2504,7 +2333,7 @@ Transform:
m_GameObject: {fileID: 7780060959945716025}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 6.65, y: -4.1, z: 0}
m_LocalPosition: {x: 8.2, y: -5.59, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -0,0 +1 @@
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"MultiThreaded","GpuSkinning":false,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"IL2CPP","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"Android","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.0.54f1","Branch":"6000.0/staging","Changeset":"4c506e5b5cc5","Date":1752642416},"Dependencies":["com.unity.collab-proxy@2.8.2","com.unity.feature.2d@2.0.1","com.unity.ide.rider@3.0.36","com.unity.ide.visualstudio@2.0.23","com.unity.inputsystem@1.14.1","com.unity.multiplayer.center@1.0.0","com.unity.recorder@5.1.3","com.unity.render-pipelines.universal@17.0.4","com.unity.test-framework@1.5.1","com.unity.timeline@1.8.7","com.unity.ugui@2.0.0","com.unity.visualscripting@1.9.7","com.unity.modules.accessibility@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.vr@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.google.ads.mobile@10.5.0","com.google.external-dependency-manager@1.2.186","com.unity.modules.subsystems@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.ext.nunit@2.0.5","com.unity.render-pipelines.core@17.0.4","com.unity.shadergraph@17.0.4","com.unity.render-pipelines.universal-config@17.0.3","com.unity.collections@2.5.1","com.unity.bindings.openimageio@1.0.0","com.unity.2d.animation@10.2.1","com.unity.2d.pixel-perfect@5.0.3","com.unity.2d.psdimporter@9.1.0","com.unity.2d.sprite@1.0.0","com.unity.2d.spriteshape@10.0.7","com.unity.2d.tilemap@1.0.0","com.unity.2d.tilemap.extras@4.1.0","com.unity.2d.aseprite@1.1.9","com.unity.searcher@4.9.3","com.unity.burst@1.8.23","com.unity.mathematics@1.3.2","com.unity.rendering.light-transport@1.0.1","com.unity.nuget.mono-cecil@1.11.4","com.unity.test-framework.performance@3.1.0","com.unity.2d.common@9.1.1"],"Results":[]}
@@ -1,8 +1,7 @@
fileFormatVersion: 2
guid: 5e3f058d9125913449b0a15767a2bf05
NativeFormatImporter:
guid: fd562e2528f0f42eab4c178bf717deb1
TextScriptImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
{"MeasurementCount":-1}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7a6111459cc6343ae8a6ddcc5a8f39ab
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+2 -2
View File
@@ -9,9 +9,9 @@ using System.Collections;
public class RewardedAdButton : MonoBehaviour
{
#if UNITY_ANDROID
public const string RewardedAdUnitId = "ca-app-pub-7373298072252327~1240544687"; // TEST
private const string RewardedAdUnitId = "ca-app-pub-3940256099942544/5224354917"; // TEST
#elif UNITY_IPHONE
private const string RewardedAdUnitId = "NULL"; // TEST
private const string RewardedAdUnitId = "ca-app-pub-3940256099942544/1712485313"; // TEST
#else
private const string RewardedAdUnitId = "unexpected_platform";
#endif
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,23 +0,0 @@
fileFormatVersion: 2
guid: 870daaf16ef3a1c458bc1f8e38567f35
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
-23
View File
@@ -1,23 +0,0 @@
fileFormatVersion: 2
guid: 3e572e74eda88d8479e212343c77f8b2
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB

-156
View File
@@ -1,156 +0,0 @@
fileFormatVersion: 2
guid: e3ac3a90b1de5e9468b21bf887617d9a
TextureImporter:
internalIDToNameTable:
- first:
213: 8383552711567452959
second: icon512_0
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: icon512_0
rect:
serializedVersion: 2
x: 20
y: 27
width: 474
height: 464
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID: f1badb0f5cc585470800000000000000
internalID: 8383552711567452959
vertices: []
indices:
edges: []
weights: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable:
icon512_0: 8383552711567452959
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
-49
View File
@@ -1,49 +0,0 @@
using UnityEngine;
using GooglePlayGames;
using GooglePlayGames.BasicApi;
public class GPSManager : MonoBehaviour
{
public static GPSManager Instance { get; private set; }
private bool isAuthenticated = false;
private void Awake()
{
if (Instance == null)
{
Instance = this;
DontDestroyOnLoad(gameObject);
InitializeGPGS();
}
else
{
Destroy(gameObject);
}
}
private void InitializeGPGS()
{
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
PlayGamesPlatform.Instance.Authenticate(OnSignInResult);
}
private void OnSignInResult(SignInStatus status)
{
if (status == SignInStatus.Success)
{
Debug.Log("Google Play Games sign-in successful.");
isAuthenticated = true;
}
else
{
Debug.LogError("Google Play Games sign-in failed: " + status);
isAuthenticated = false;
}
}
public bool IsAuthenticated()
{
return isAuthenticated;
}
}
@@ -1,87 +0,0 @@
using UnityEngine;
using GooglePlayGames;
using System.Collections.Generic;
public class AchievementManager : MonoBehaviour
{
public static AchievementManager Instance { get; private set; }
[Header("Achievements Config")]
[SerializeField] private AchievementModel[] achievements;
private Dictionary<string, AchievementModel> achievementMap;
private void Awake()
{
if (Instance == null)
{
Instance = this;
DontDestroyOnLoad(gameObject);
// Initialize achievements
BuildAchievementMap();
}
else
{
Destroy(gameObject);
}
}
private void BuildAchievementMap()
{
achievementMap = new Dictionary<string, AchievementModel>();
foreach (var achievement in achievements)
{
// If the achievement is already in the map, skip it
if (achievementMap.ContainsKey(achievement.achievementKey))
{
Debug.LogWarning($"Duplicate achievement key found: {achievement.achievementKey}. Skipping.");
continue;
}
// Add the achievement to the map
achievementMap.Add(achievement.achievementKey, achievement);
}
}
public void UnlockOrIncrement(string key, int step = 1)
{
if (!GPSManager.Instance.IsAuthenticated()) {
Debug.LogWarning("User is not authenticated. Cannot unlock or increment achievement.");
return;
}
if (!achievementMap.TryGetValue(key, out var info))
{
Debug.LogWarning($"Achievement key not found: {key}");
return;
}
if (info.isIncremental)
{
PlayGamesPlatform.Instance.IncrementAchievement(info.achievementID, step, success =>
{
Debug.Log(success ? $"Incremented {key}" : $"Failed to increment {key}");
});
}
else
{
PlayGamesPlatform.Instance.ReportProgress(info.achievementID, 100.0f, success =>
{
Debug.Log(success ? $"Unlocked {key}" : $"Failed to unlock {key}");
});
}
}
public void ShowAchievementsUI()
{
if (GPSManager.Instance.IsAuthenticated())
{
PlayGamesPlatform.Instance.ShowAchievementsUI();
}
else
{
Debug.LogWarning("User is not authenticated. Cannot show achievements UI.");
}
}
}
@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: a6c5dc2f8a18c294f9c2437feab4ad48
@@ -1,18 +0,0 @@
using System;
using UnityEngine;
[Serializable]
public class AchievementModel
{
[Tooltip("Clave interna para usar en el código (única).")]
public string achievementKey;
[Tooltip("ID exacto del logro desde Google Play Console (p.ej. CgkIxxxxxxEAIQAQ).")]
public string achievementID;
[Tooltip("¿Es un logro incremental? (por pasos)")]
public bool isIncremental = false;
[Tooltip("Solo informativo: total de pasos del logro en Play Console.")]
public int totalSteps = 0;
}
@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: df12fb678c863ef46ba89cd0d9f88330
-164
View File
@@ -1,164 +0,0 @@
using System;
using System.Linq; // para Select/ToArray
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using GooglePlayGames;
using GooglePlayGames.BasicApi;
using UnityEngine.SocialPlatforms; // <- Necesario para IScore e IUserProfile
public class LeaderboardUI : MonoBehaviour
{
[Header("UI References")]
public Transform contentParent; // ScrollView/Viewport/Content
public GameObject rowPrefab; // Prefab con 2 TMP_Text (Nombre, Puntaje) o 3 si agregás posición
public TextMeshProUGUI titleText;
public Button closeButton;
[Header("Optional Leaderboard ID (GPGS)")]
public string leaderboardID = "";
private void Start()
{
if (closeButton != null)
closeButton.onClick.AddListener(() => gameObject.SetActive(false));
if (titleText != null)
titleText.text = "Leaderboard";
LoadLocalTestData(); // Pruebas sin conexión
}
// ======= Pruebas sin conexión (sin tuplas para evitar problemas de compilador) =======
[Serializable]
private class DummyRow { public string name; public int score; public DummyRow(string n, int s){ name=n; score=s; } }
private void LoadLocalTestData()
{
ClearRows();
var dummy = new List<DummyRow>
{
new DummyRow("Jugador 1", 1500),
new DummyRow("Jugador 2", 1200),
new DummyRow("Jugador 3", 900)
};
int position = 1;
foreach (var entry in dummy)
CreateRow(position++, entry.name, entry.score);
}
// ======= Cargar desde Google Play (cuando ya estés autenticado) =======
public void LoadFromGooglePlay()
{
if (string.IsNullOrEmpty(leaderboardID))
{
Debug.LogWarning("LeaderboardUI: leaderboardID vacío.");
return;
}
if (GPSManager.Instance == null || !GPSManager.Instance.IsAuthenticated())
{
Debug.LogWarning("LeaderboardUI: No estás autenticado en Google Play.");
return;
}
PlayGamesPlatform.Instance.LoadScores(
leaderboardID,
LeaderboardStart.TopScores, // o PlayerCentered si querés centrarte en el jugador
25, // cantidad de filas a pedir
LeaderboardCollection.Public,
LeaderboardTimeSpan.AllTime,
(LeaderboardScoreData data) =>
{
if (data == null)
{
Debug.LogError("LeaderboardUI: data nulo al cargar scores.");
return;
}
if (data.Status != ResponseStatus.Success)
{
Debug.LogError("LeaderboardUI: Error al cargar leaderboard: " + data.Status);
return;
}
// data.Scores es IScore[]
DisplayScores(data.Scores);
}
);
}
private void DisplayScores(IScore[] scores)
{
ClearRows();
if (scores == null || scores.Length == 0)
{
CreateRow(1, "Sin registros", 0);
return;
}
// 1) Cargar nombres amigables de usuarios
string[] userIds = scores.Select(s => s.userID).Distinct().ToArray();
Social.LoadUsers(userIds, (IUserProfile[] users) =>
{
// Mapear userID -> nombre visible
var nameById = new Dictionary<string, string>();
if (users != null)
{
foreach (var u in users)
{
if (u != null && !string.IsNullOrEmpty(u.id))
nameById[u.id] = string.IsNullOrEmpty(u.userName) ? u.id : u.userName;
}
}
// 2) Crear filas
int position = 1;
foreach (var score in scores)
{
string displayName = nameById.TryGetValue(score.userID, out var n) ? n : score.userID;
long value = score.value;
CreateRow(position++, displayName, (int)value);
}
});
}
// ======= Helpers UI =======
private void ClearRows()
{
if (contentParent == null) return;
// Eliminar hijos del Content
for (int i = contentParent.childCount - 1; i >= 0; i--)
Destroy(contentParent.GetChild(i).gameObject);
}
private void CreateRow(int position, string playerName, int score)
{
if (rowPrefab == null || contentParent == null)
{
Debug.LogError("LeaderboardUI: Falta rowPrefab o contentParent.");
return;
}
GameObject row = Instantiate(rowPrefab, contentParent);
// Esperamos 2 TMP_Text: [0]=Nombre (con posición), [1]=Puntaje
var texts = row.GetComponentsInChildren<TextMeshProUGUI>(true);
if (texts.Length == 0)
{
Debug.LogError("LeaderboardUI: El rowPrefab no tiene TextMeshProUGUI hijos.");
return;
}
if (texts.Length >= 1) texts[0].text = $"{position}. {playerName}";
if (texts.Length >= 2) texts[1].text = score.ToString();
}
}
@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 507d414ed8b457e42b51f98e6f7eee82
@@ -1,79 +0,0 @@
using UnityEngine;
using GooglePlayGames;
public class LeaderboardManager : MonoBehaviour
{
public static LeaderboardManager Instance { get; private set; }
[Header("Leaderboard ID from Google Play Console")]
public string leaderboardID = "";
private const long minScore = 1;
private void Awake()
{
if (Instance == null)
{
Instance = this;
DontDestroyOnLoad(gameObject);
}
else
{
Destroy(gameObject);
}
}
public void ReportScore(long score)
{
if (score < 0)
{
Debug.LogError("Score cannot be negative.");
return;
}
if (string.IsNullOrEmpty(leaderboardID))
{
Debug.LogError("Leaderboard ID is not set.");
return;
}
if (score < minScore)
{
Debug.LogWarning($"Score {score} is less than the minimum score of {minScore}. Not reporting.");
return;
}
if (GPSManager.Instance.IsAuthenticated())
{
PlayGamesPlatform.Instance.ReportScore(score, leaderboardID, (bool success) =>
{
if (success)
{
Debug.Log("Score reported successfully.");
}
else
{
Debug.LogError("Failed to report score.");
}
});
}
else
{
Debug.LogWarning("User is not authenticated. Cannot report score.");
}
}
public void ShowLeaderboardUI()
{
if (GPSManager.Instance.IsAuthenticated())
{
PlayGamesPlatform.Instance.ShowLeaderboardUI(leaderboardID);
}
else
{
Debug.LogWarning("User is not authenticated. Cannot show leaderboard UI.");
}
// Unlock the achievement for showing the leaderboard
AchievementManager.Instance.UnlockOrIncrement("leaderboard_bee");
}
}
@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 635fc347bf2ed614380d5787a7d34404
@@ -1,4 +1,4 @@
Library: E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8a\lib_burst_generated
Library: /Users/emilianogalmarini/Desktop/Carrasco/Temp/BurstOutput/tempburstlibs/arm64-v8a/lib_burst_generated
--platform=Android
--minimum-os-version=
--backend=burst-llvm-19
@@ -10,11 +10,11 @@ Library: E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8
--float-precision=Standard
--target-framework=NetFramework
--float-mode=Fast
--generate-link-xml=Temp\burst.link.xml
--temp-folder=E:\Earth Genesis Games\Carrasco\Temp\Burst
--key-folder=C:/Program Files/Unity/Hub/Editor/6000.0.54f1/Editor/Data/PlaybackEngines/AndroidPlayer
--decode-folder=E:\Earth Genesis Games\Carrasco\Library\Burst
--output=E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8a\lib_burst_generated
--generate-link-xml=Temp/burst.link.xml
--temp-folder=/Users/emilianogalmarini/Desktop/Carrasco/Temp/Burst
--key-folder=/Applications/Unity/Hub/Editor/6000.0.54f1/PlaybackEngines/AndroidPlayer
--decode-folder=/Users/emilianogalmarini/Desktop/Carrasco/Library/Burst
--output=/Users/emilianogalmarini/Desktop/Carrasco/Temp/BurstOutput/tempburstlibs/arm64-v8a/lib_burst_generated
--pdb-search-paths=Temp/ManagedSymbols/
--method=Unity.Jobs.IJobForExtensions+ForJobStruct`1[[UnityEngine.Rendering.Universal.ZBinningJob, Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Execute(UnityEngine.Rendering.Universal.ZBinningJob&, Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Unity.Jobs.LowLevel.Unsafe.JobRanges&, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)--77fc393cb521ac129b1392d4eb94d29a
@@ -28,11 +28,11 @@ Library: E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8
--dump=Function
--float-precision=Standard
--target-framework=NetFramework
--generate-link-xml=Temp\burst.link.xml
--temp-folder=E:\Earth Genesis Games\Carrasco\Temp\Burst
--key-folder=C:/Program Files/Unity/Hub/Editor/6000.0.54f1/Editor/Data/PlaybackEngines/AndroidPlayer
--decode-folder=E:\Earth Genesis Games\Carrasco\Library\Burst
--output=E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8a\lib_burst_generated
--generate-link-xml=Temp/burst.link.xml
--temp-folder=/Users/emilianogalmarini/Desktop/Carrasco/Temp/Burst
--key-folder=/Applications/Unity/Hub/Editor/6000.0.54f1/PlaybackEngines/AndroidPlayer
--decode-folder=/Users/emilianogalmarini/Desktop/Carrasco/Library/Burst
--output=/Users/emilianogalmarini/Desktop/Carrasco/Temp/BurstOutput/tempburstlibs/arm64-v8a/lib_burst_generated
--pdb-search-paths=Temp/ManagedSymbols/
--method=Unity.Jobs.IJobForExtensions+ForJobStruct`1[[UnityEngine.Rendering.Universal.TilingJob, Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Execute(UnityEngine.Rendering.Universal.TilingJob&, Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Unity.Jobs.LowLevel.Unsafe.JobRanges&, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)--a6f5259e22ed809ef3937424c4bd686d
@@ -45,11 +45,11 @@ Library: E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8
--dump=Function
--float-precision=Standard
--target-framework=NetFramework
--generate-link-xml=Temp\burst.link.xml
--temp-folder=E:\Earth Genesis Games\Carrasco\Temp\Burst
--key-folder=C:/Program Files/Unity/Hub/Editor/6000.0.54f1/Editor/Data/PlaybackEngines/AndroidPlayer
--decode-folder=E:\Earth Genesis Games\Carrasco\Library\Burst
--output=E:\Earth Genesis Games\Carrasco\Temp\BurstOutput\tempburstlibs\arm64-v8a\lib_burst_generated
--generate-link-xml=Temp/burst.link.xml
--temp-folder=/Users/emilianogalmarini/Desktop/Carrasco/Temp/Burst
--key-folder=/Applications/Unity/Hub/Editor/6000.0.54f1/PlaybackEngines/AndroidPlayer
--decode-folder=/Users/emilianogalmarini/Desktop/Carrasco/Library/Burst
--output=/Users/emilianogalmarini/Desktop/Carrasco/Temp/BurstOutput/tempburstlibs/arm64-v8a/lib_burst_generated
--pdb-search-paths=Temp/ManagedSymbols/
--method=UnityEngine.Rendering.GPUResidentDrawerBurst, Unity.RenderPipelines.GPUDriven.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::ClassifyMaterials(Unity.Collections.NativeArray`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]&, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Unity.Collections.NativeParallelHashMap`2+ReadOnly[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[UnityEngine.Rendering.BatchMaterialID, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Unity.Collections.NativeList`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Unity.Collections.NativeList`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Unity.Collections.NativeList`1[[UnityEngine.Rendering.GPUDrivenPackedMaterialData, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)--f259e9421b556600f769263137cdc7bc
+55 -65
View File
@@ -101,8 +101,8 @@ PlayerSettings:
resizableWindow: 0
useMacAppStoreValidation: 0
macAppStoreCategory: public.app-category.games
gpuSkinning: 1
meshDeformation: 1
gpuSkinning: 0
meshDeformation: 0
xboxPIXTextureCapture: 0
xboxEnableAvatar: 0
xboxEnableKinect: 0
@@ -144,7 +144,7 @@ PlayerSettings:
loadStoreDebugModeEnabled: 0
visionOSBundleVersion: 1.0
tvOSBundleVersion: 1.0
bundleVersion: 0.1.1
bundleVersion: 1.0
preloadedAssets:
- {fileID: -944628639613478452, guid: 2bcd2660ca9b64942af0de543d8d7100, type: 3}
metroInputSource: 0
@@ -176,8 +176,13 @@ PlayerSettings:
iPhone: 0
tvOS: 0
overrideDefaultApplicationIdentifier: 1
<<<<<<< HEAD
AndroidBundleVersionCode: 2
AndroidMinSdkVersion: 24
=======
AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 23
>>>>>>> parent of 6df3044 ( A PARTIR DE ACA COMIENZA LA ETAPA DE PRUEBAS)
AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1
aotOptions:
@@ -187,7 +192,7 @@ PlayerSettings:
ForceInternetPermission: 0
ForceSDCardPermission: 0
CreateWallpaper: 0
androidSplitApplicationBinary: 0
androidSplitApplicationBinary: 1
keepLoadedShadersAlive: 0
StripUnusedMeshComponents: 0
strictShaderVariantMatching: 0
@@ -259,19 +264,19 @@ PlayerSettings:
clonedFromGUID: c19f32bac17ee4170b3bf8a6a0333fb9
templatePackageId: com.unity.template.universal-2d@5.0.2
templateDefaultScene: Assets/Scenes/SampleScene.unity
useCustomMainManifest: 0
useCustomMainManifest: 1
useCustomLauncherManifest: 0
useCustomMainGradleTemplate: 1
useCustomLauncherGradleManifest: 0
useCustomBaseGradleTemplate: 0
useCustomBaseGradleTemplate: 1
useCustomGradlePropertiesTemplate: 1
useCustomGradleSettingsTemplate: 1
useCustomProguardFile: 0
AndroidTargetArchitectures: 2
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
AndroidKeystoreName: '{inproject}: user.keystore'
AndroidKeyaliasName: eggames
AndroidKeystoreName: '{dedicated}: Desktop/user.keystore'
AndroidKeyaliasName: earthgenesis
AndroidEnableArmv9SecurityFeatures: 0
AndroidEnableArm64MTE: 0
AndroidBuildApkPerCpuArchitecture: 0
@@ -286,7 +291,7 @@ PlayerSettings:
height: 180
banner: {fileID: 0}
androidGamepadSupportLevel: 0
AndroidMinifyRelease: 0
AndroidMinifyRelease: 1
AndroidMinifyDebug: 0
AndroidValidateAppBundleSize: 1
AndroidAppBundleSizeToValidate: 150
@@ -296,16 +301,46 @@ PlayerSettings:
- m_BuildTarget:
m_Icons:
- serializedVersion: 2
m_Icon: {fileID: 2800000, guid: e3ac3a90b1de5e9468b21bf887617d9a, type: 3}
m_Icon: {fileID: 2800000, guid: aa8c2d7277e64724ab550c4bf1017f00, type: 3}
m_Width: 128
m_Height: 128
m_Kind: 0
m_BuildTargetPlatformIcons:
- m_BuildTarget: Android
m_Icons:
- m_Textures: []
m_Width: 192
m_Height: 192
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 144
m_Height: 144
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 96
m_Height: 96
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 72
m_Height: 72
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 48
m_Height: 48
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 36
m_Height: 36
m_Kind: 0
m_SubKind:
- m_Textures:
- {fileID: 2800000, guid: e3ac3a90b1de5e9468b21bf887617d9a, type: 3}
- {fileID: 2800000, guid: e3ac3a90b1de5e9468b21bf887617d9a, type: 3}
- {fileID: 2800000, guid: aa8c2d7277e64724ab550c4bf1017f00, type: 3}
- {fileID: 2800000, guid: aa8c2d7277e64724ab550c4bf1017f00, type: 3}
m_Width: 432
m_Height: 432
m_Kind: 2
@@ -335,78 +370,36 @@ PlayerSettings:
m_Height: 81
m_Kind: 2
m_SubKind:
- m_Textures:
- {fileID: 2800000, guid: e3ac3a90b1de5e9468b21bf887617d9a, type: 3}
- m_Textures: []
m_Width: 192
m_Height: 192
m_Kind: 1
m_SubKind:
- m_Textures:
- {fileID: 0}
- m_Textures: []
m_Width: 144
m_Height: 144
m_Kind: 1
m_SubKind:
- m_Textures:
- {fileID: 0}
- m_Textures: []
m_Width: 96
m_Height: 96
m_Kind: 1
m_SubKind:
- m_Textures:
- {fileID: 0}
- m_Textures: []
m_Width: 72
m_Height: 72
m_Kind: 1
m_SubKind:
- m_Textures:
- {fileID: 0}
- m_Textures: []
m_Width: 48
m_Height: 48
m_Kind: 1
m_SubKind:
- m_Textures:
- {fileID: 0}
- m_Textures: []
m_Width: 36
m_Height: 36
m_Kind: 1
m_SubKind:
- m_Textures:
- {fileID: 2800000, guid: e3ac3a90b1de5e9468b21bf887617d9a, type: 3}
m_Width: 192
m_Height: 192
m_Kind: 0
m_SubKind:
- m_Textures:
- {fileID: 0}
m_Width: 144
m_Height: 144
m_Kind: 0
m_SubKind:
- m_Textures:
- {fileID: 0}
m_Width: 96
m_Height: 96
m_Kind: 0
m_SubKind:
- m_Textures:
- {fileID: 0}
m_Width: 72
m_Height: 72
m_Kind: 0
m_SubKind:
- m_Textures:
- {fileID: 0}
m_Width: 48
m_Height: 48
m_Kind: 0
m_SubKind:
- m_Textures:
- {fileID: 0}
m_Width: 36
m_Height: 36
m_Kind: 0
m_SubKind:
m_BuildTargetBatching: []
m_BuildTargetShaderSettings: []
m_BuildTargetGraphicsJobs: []
@@ -425,16 +418,13 @@ PlayerSettings:
tvOS: 1
m_BuildTargetGroupLightmapEncodingQuality: []
m_BuildTargetGroupHDRCubemapEncodingQuality: []
m_BuildTargetGroupLightmapSettings:
- m_BuildTarget: Android
m_TextureStreamingEnabled: 1
m_TextureStreamingPriority: 0
m_BuildTargetGroupLightmapSettings: []
m_BuildTargetGroupLoadStoreDebugModeSettings: []
m_BuildTargetNormalMapEncoding: []
m_BuildTargetDefaultTextureCompressionFormat:
- serializedVersion: 3
m_BuildTarget: Android
m_Formats: 01000000020000000300000007000000
m_Formats: 01000000
playModeTestRunnerEnabled: 0
runPlayModeTestAsEditModeTest: 0
actionOnDotNetUnhandledException: 1
Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 496 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.
BIN
View File
Binary file not shown.