Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Temas - Superkorlas

#1
Hola a todos, quería presentar mi nuevo juego. El juego ayuda a mejorar la rapidez visual y los reflejos. Si os animáis a probarlo, por favor no dudéis en poner feedback aquí (cualquier idea que se os ocurra para mejorarlo).
 
Tambien me gustaría saber que plugin (o Sdk) me recomendáis para poder añadirle un ranking para todos los jugadores, logros, y tal vez poder compartir la puntuación en las principales redes sociales (Facebook y Twitter). No me digáis que use el plugin de Facebook o el de Google play serví es, pues ambos me dan problemas. 
 
Sin más, aquí dejo el enlace: 
 
App/playStore
 
EDIT: Se ha añadido un ranking (para el cual he usadpo el servicio gratuito dreamlo: http://dreamlo.com
 
Tambien podéis buscarlo en el buscador poniendo: Firesoftworks Fireball
 
Muchas gracias a todos por vuestro tiempo.
 
 
#2
Hola a todos, llevo ya bastante con un problema y la verdad que no se que más hacer, así que agradecería muchísimo cualquier ayuda. El problema es el siguiente, al utilizar los servicios de Google Play Service (el ultimo plugin v0.9.34) nunca me deja autenticar (no solo en el editor, en el dispositivo tampoco). Este es el código:
 

using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using UnityEngine.Advertisements;
using System.Collections;
using System.Collections.Generic;
using GooglePlayGames;
using UnityEngine.SocialPlatforms;
using GooglePlayGames.BasicApi;
using UnityEngine.Analytics;
public class Menu : MonoBehaviour {
public Text record;
    //Para testear si se ha conseguido autenticar
public GameObject test;
/**
    Indicador del jugador de que no ha iniciado sesión, y no podrá acceder al  ranking ni a los logros.
 */
public GameObject signIn;
 
void Start()
{      
   PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder ().Build ();
   PlayGamesPlatform.InitializeInstance(config);
   GooglePlayGames.PlayGamesPlatform.DebugLogEnabled = true;
   GooglePlayGames.PlayGamesPlatform.Activate ();
 
   Advertisement.Initialize ("CORRECT_NUMBER", true);
   test.SetActive (false);
   SignIn ();
   if (PlayerPrefs.HasKey("record"))
   {
      record.text = "Record actual: " + PlayerPrefs.GetInt("record");
      Analytics.CustomEvent ("Start Play", new Dictionary<string, object>{ { "Record", PlayerPrefs.GetInt("record")} });
   } else {
         record.text = "Consigue un record!!";
   }
}
public void OnPlay()
{
   ShowAd ();
   SceneManager.LoadScene("Jugar");
   Time.timeScale = ;
}
public void OnArchievements()
{
   if (Social.Active.localUser.authenticated) {
      Social.Active.ShowAchievementsUI ();
   } else {
      Social.Active.localUser.Authenticate ((bool success) => {
         if (success) {
            Social.Active.ShowAchievementsUI ();         
         }
      });
   }
}
public void OnMatching()
{
   if (Social.Active.localUser.authenticated) {
      Social.Active.ShowLeaderboardUI ();
   } else {
      Social.Active.localUser.Authenticate ((bool success) => {
         if (success) {
            Social.Active.ShowLeaderboardUI ();      
         }
      });
   }
}
public void OnExit()
{
   Analytics.CustomEvent ("Stop Play", new Dictionary<string, object>{ { "Record", PlayerPrefs.GetInt("record")} });
   Application.Quit();
}
public void SignIn()
{
   Social.Active.localUser.Authenticate (ProcessAuthentication);
}
public void Later()
{
   signIn.SetActive (false);
}
public void ShowAd()
{
   if (Advertisement.IsReady())
   {
      Advertisement.Show();
   }
}
void ProcessAuthentication (bool success)
{
   if (true == success)
   {
      Debug.Log ("AUTHENTICATED!");
      if (Social.Active.localUser.authenticated)
      {
         Social.Active.LoadAchievements (ProcessLoadedAchievements);
         Social.Active.LoadScores (Fireball.GPGSIds.leaderboard_ranking, ProcessLoadedScores );
         if (PlayerPrefs.HasKey ("record"))
         {
            Social.Active.ReportScore (PlayerPrefs.GetInt ("record"),Fireball.GPGSIds.leaderboard_ranking, (bool report) => { });
         }
         signIn.SetActive (false);
         test.SetActive (true);
      }
   } else {
      Debug.Log("Failed to authenticate");
      signIn.SetActive (true);
   }
}
void ProcessLoadedAchievements (IAchievement[] achievements)
{
   if (achievements.Length == )
   {
      Debug.Log ("Error: no achievements found");
   }
   else
   {
      Debug.Log ("Got " + achievements.Length + " achievements");
   }
}
void ProcessLoadedScores (IScore[] scores)
{
   if (scores.Length == )
   {
      Debug.Log ("Error: no scores found");
   }
   else
   {
      Debug.Log ("Got " + scores.Length + " scores");
   }
}
}

 
En la consola este es el debug que sale:
 
       DEBUG: Activating PlayGamesPlatform.
 
       DEBUG: PlayGamesPlatform activated: GooglePlayGames.PlayGamesPlatform.
 
       DEBUG: Creating platform-specific Play Games client.
 
       DEBUG: Creating IPlayGamesClient in editor, using DummyClient.
 
       DEBUG: Received method call on DummyClient - using stub implementation.
 
¿Alguien puede ayudarme? No sé en qué estoy fallando... 
 
Muchas gracias por adelantado.
#3
General (Antiguo) / Hola a todos.
Junio 24, 2016, 05:18:50 PM


   Hola a todos.


   Me llamo Alejandro y me gustaría aprender más de Unity espero ir mejorando.


   Saludos!!