OfficinePixel

OfficinePixel supports this item

Supported

23 comments found.

aliferis

aliferis Purchased

hi there. Me again. My game is working fine except in Chrome. In Chrome the event to start a game ‘Press arrow keys’ does nothing and you cannot start the game. any ideas ?

joe

they should work

aliferis

aliferis Purchased

hi. I could not find that exact js syntax but found this

if( navigator.userAgent.toLowerCase().indexOf(‘chrome’) > -1 || navigator.userAgent.toLowerCase().indexOf(‘firefox’) > -1 )

how should I edit this to disable gamepad/joypad usage ?

thanks again

joe

hello joe,

yes, this statement checks if the browser in use is firefox or chrome, if so, it enables gamepad support if you substitute the statement with something like

if(1!=1)

that means ‘if one is not equal one’, you will disable gamepad support for both browser because the condition will be never true

Lamberto

aliferis

aliferis Purchased

also, sorry – can i set the game config so it allows just 1 life per game – not 3 ?

joe

it would be a nice idea having this parameter in prefs file. In the meanwhile open the file js/game.js and find game.data.lives=2 then change 2 to 0

Hi!

Presales doubt:

Is the Chrome bug fixed?

Thanks in advance :)

just uploading the fix, it will be available tomorrow I believe

by
by
by
by
by
by