• Content Count

  • Joined

  • Last visited

  1. botoman

    Convert a Sprite into Base-64

    Thanks you so much @enpu That was just what I was looking for! Alex
  2. botoman

    Convert a Sprite into Base-64

    Hi, Do you know if it's possibile to convert a Sprite or a Texture into Base-64 format in Panda? E.g. //var image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gcKEAkwofgEyAAAApJJREFUSMe1Vj1rKkEUnRk1loYVFtIFxEIWRANB7IKNCBYWsYliYam/wEDyCwIRIVjaKEEt0iSghdgsUcg2Spr41UkiuySYkMKNmU0xvH378vJ2d9R3qnXWuefunXPPHagoCvifQOb/+vLysrOzw3Hcx8cHBYNiDrIsb29vI4QQQi6XSzENswTBYBD9AoTw6OhokwTFYhEAgDQAADSbTTN7oeEhL5dLm81GgmrhcDien583cMi5XA5C+OOZX1xcGG43/gIIIUkfY/w7L4QAAAzDiKK41heUy2XygDGuVqukrPl8npBJknR7e7uWTCORCJHN6empoijpdPr4+FhRlEQiQU47k8mspSJVM+12u1KpkJzu7+9LpRIplGFP6JVIFEW17v1+PxqN7u7uBgIBjuN6vR4hHo/Hq5eo2+2q8t/a2hoOh2Sd53l1HQAwm810glh1uF9fX7Xd4Ha7PR7PYrGYTCbatpjP5yzL/iuIHoHV+sdbhNDDw4Oq0W+SpS6RIAh2ux0ZwWKxOByO0WhEp6Krq6tv5qMPAADP82a9SJZlkjvVYIEQLpdLU51cq9VWmFyfn5+NRsMUwfv7+2rTUas6PYL9/f3VCHw+n1k3VR3UPDDGP4ZChrlgjP1+v9aryeLe3p520ev1Utj1wcGBGiibzQqCMBgMYrEYwzAsyyYSicfHx7u7u1QqpXIEg0GKRru5uSFvC4WCvlmenZ2pk4POri8vLzudDnk+Pz+Px+OtVksUxaenp+vr63A4XK/XVe8rFotr3SqSyeTf/nNycmJmr5WqV8n0p7ptIpMSdDqdfr+f/AyFQgihb7pa6+o4n8/f3t7U+T6dTiVJWiwWm7w6Evh8vsPDQ6otkKqgGGPaDv8CndB2NBjOv0gAAAAASUVORK5CYII='; We need it for Facebook Instant Games Update Async. Thanks Alessio
  3. botoman

    rotateScreen on iPad Pro

    Hello, I'm facing an issue with my FB Instant Game. The game should stay in portrait mode only. I've set the "rotateScreen: false" in game.config. The game remain in portrait mode in every device I tested it, except in iPad Pro, in which it always rotate. What I can do? Thanks, Alex
  4. botoman

    Facebook Instant Games Issue

    Hi @enpu Further analisys shows that in the broken version the response generated by the server is lacking the "Content-Encoding: gzip" header even if the payload is indeed compressed. This particular behavior seems totally randomical, facing it or not in different versions of the same identical zip uploaded multiple times ot the Facebook Dashboard. We also tried to upload our game directly from Panda 2 thanks to the uploader. We opened a bug report on the Facebook for Developer support page: Hoping to clarify this weird behavior soon. Cheers, Alex
  5. Hi all, I'm facing an issue with a "facebook instant games" game. The game can only be tested by me using the PC from which I uploaded the game zip. Trying to open it from another PC/device stuck the game in 0% loading progress. Anyone has experimented the same issue? Thank you so much Alex
  6. botoman

    Method Graphics.lineTo and drawing lines

    Wow! Thank you so much @enpu! :)
  7. Hello, I found the method "lineTo" into the graphics class, but it's body is empty. What's the purpose of this method? Was it created for future development? My need is to drawing a simple line between two points; what's the best way to do this? Thank you, Alex
  8. botoman

    Vibration Feedback

    Thank you! Now is all clear
  9. botoman

    Vibration Feedback

    Thank you very much @enpu, it works like a charm Where can I find the navigator class documentation? Cheers, Alex
  10. botoman

    Vibration Feedback

    Hello, I'm new to Panda 2 and mobile web development in general. It's possibile to make the device vibrate in Panda 2? How can I do this? Thank you, Alex