Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by rogama

I have a game with a 3990x350 px canvas, in which position a 3990 x160 image, placed it in the bottom of the canvas and the rest is filled with a fixed color in main.js declared by clearColor: &039; d8ecf9 ',

if I go to the game from pc perfect and I can see it play without any problem, in Android, I also see the image and I load the game, but no image Iphone 5 and sometimes I done ​​loads of Safari

Tengo un juego con un canvas de 3990x350 px; en el cual cargo una imagen de 3990 x160, la situo en la parte baja del canvas y el resto lo relleno con un color fijo declarado en el main.js, mediante clearColor: '#d8ecf9',

si entro al juego desde pc lo veo perfecto y puedo jugar sin ningun problema, en Android, tambien veo la imagen y me carga el juego, pero en Iphone 5 la imagen no carga y aveces me hecha de Safari

1 decade ago by Joncom

If possible, I would try using a smaller image and/or canvas. Mobile devices may have restrictions on filesizes, memory, and dimensions that desktops does not or which are less pronounced.

1 decade ago by rogama

the problem is that I need to use that image, I tried to cut it into 4 parts and put each part on a different layer but still the same problem.
Only flaw in iPhone, works on iPad, PC and low range Android.

el problema es que necesito usar esa imagen , he probado a cortarla en 4 partes y poner cada parte en un layer distinto pero sigue el mismo problema.
Solo falla en Iphone, funciona en Ipad, Pc y Android de gama baja.
Page 1 of 1
« first « previous next › last »