Jump to content

Which software do you recommend to build the game for mobile?


khleug35
 Share

Recommended Posts

16 minutes ago, René Romain said:

Hello,

Good question i wish if we have some answers

hello ,thank you for reply.

I used Adobe PhoneGap, but when I build the game to apk file and run it on android

It can't play the audio , I need to use phonegap media api to instead of Phaser audio code......

and I run the game on the android platform below 5.0 versions, It is very lag................

It is run very prefect on browser and IOS,^_^

thx

Link to comment
Share on other sites

23 hours ago, René Romain said:

It's perhaps the format of the audio 

  • did you tryed an other format ?
  • what are you using , wav, ogg, mp3 ?
  • did you tryed to code an array of different format like in the examples ?

thanks for reply

I using ogg and mp3 .......

I try to convert this example to android apk file

https://phaser.io/examples/v2/audio/play-music

It also can't run the game about audio error.........

when I use this code 

game.load.audio('boden', ['assets/audio/bodenstaendig_2000_in_rock_4bit.mp3', 'assets/audio/bodenstaendig_2000_in_rock_4bit.ogg']);

but I use this code ,it is work

game.load.audio('boden', ['http://examples.phaser.io/assets/audio/bodenstaendig_2000_in_rock_4bit.mp3', 'http://examples.phaser.io/assets/audio/bodenstaendig_2000_in_rock_4bit.ogg']);

I find that phonegap can't play local audio......

but this audio problem  just occurs on android

Link to comment
Share on other sites

11 hours ago, khleug35 said:

when I use this code 


game.load.audio('boden', ['assets/audio/bodenstaendig_2000_in_rock_4bit.mp3', 'assets/audio/bodenstaendig_2000_in_rock_4bit.ogg']);

but I use this code ,it is work


game.load.audio('boden', ['http://examples.phaser.io/assets/audio/bodenstaendig_2000_in_rock_4bit.mp3', 'http://examples.phaser.io/assets/audio/bodenstaendig_2000_in_rock_4bit.ogg']);

I find that phonegap can't play local audio......

but this audio problem  just occurs on android

This is probably because you have to allow HTTP connxion in you app to let it connect to the internet

Link to comment
Share on other sites

  • 3 weeks later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...