Guardado en la nube

Guardado en la nube

Sincronice el progreso de los jugadores en todos los dispositivos para que nunca pierdan su partida

Comenzar gratis

Formato de datos flexible

Los datos de guardado son un string simple, así que puede serializar cualquier estructura (JSON, MessagePack o formato personalizado) sin restricciones de esquema.

Sincronización multidispositivo instantánea

El último guardado siempre está disponible desde cualquier dispositivo en cuanto el jugador se autentica con su cuenta de horizOn.

Retención de jugadores

Los jugadores que saben que su progreso está seguro tienen muchas más probabilidades de volver tras cambiar de dispositivo o reinstalar.

Integración rápida

Integración rápida

Puzzle Quest

Nivel 47

Progress73%
Puntuación: 128.450
Tiempo de juego: 12h 34m
3/3
Unity (C#)
// Unity C#: Cloud Saves (needs a signed in player)
using PM.horizOn.Cloud.Manager;
using UnityEngine;

[System.Serializable]
public class PlayerSave { public int Level; public int Gold; public string Checkpoint; }

// Save: the object is stored as JSON
var save = new PlayerSave { Level = 42, Gold = 1500, Checkpoint = "world_3_boss" };
bool saved = await CloudSaveManager.Instance.SaveObject(save);

// Load it again, e.g. on another device (null when nothing is saved)
var loaded = await CloudSaveManager.Instance.LoadObject<PlayerSave>();
if (loaded != null) Debug.Log($"Loaded level: {loaded.Level}");
REST
# REST API: Cloud Saves (needs the player's session token)

# Save player data
curl -X POST https://horizon.pm/api/v1/app/cloud-save/save \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"saveData":"{\"level\":42,\"gold\":1500,\"checkpoint\":\"world_3_boss\"}"}'

# Load player data
curl -X POST https://horizon.pm/api/v1/app/cloud-save/load \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Estos ejemplos usan el SDK de Unity (C#) y la API REST. Godot y Unreal tienen las mismas llamadas en sus propios SDK: consulta el inicio rápido

Preguntas frecuentes

Preguntas frecuentes

¿Listo para integrar?

Empiece a construir con horizOn hoy. Nivel gratuito incluido.