Mattward

Members
  • Content Count

    19
  • Joined

  • Last visited

About Mattward

  • Rank
    Member

Profile Information

  • Gender
    Male
  • Location
    United Kindom
  • Interests
    Coding, Guitar, Games, Networking, Computer Hardware.

Recent Profile Visitors

588 profile views
  1. Whenever the iPhone has any audio playing (such as music), it cuts out as soon as the app is opened, however my app doesn't have sound functionality (yet). Here is my index.html file: http://pastebin.com/1tkHgxuq Here is my main.js file: http://pastebin.com/mtZDxRaD Has anybody seen this issue before? I've been looking for several days for an answer, both in my code and online but no luck.
  2. Hang on a sec JoshLIC! This links to the exact same thread! OMG! You got me! lol
  3. Thank you JoshLIC.. I will check it out!
  4. I know JoshLIC.. I have not found a solution to this problem as of yet. Please make sure you reply if you find one!
  5. The buttons work fine in a browser but when put onto an iOS Device or an Android Device they don't? I'm using the code you've specified. I really don't understand why?
  6. That doesn't seem to work either?
  7. I don't have a console, using Xcode, console.log("test"); does nothing.
  8. This doesn't seem to work for me? I used this: this.homeButton = this.game.add.sprite(homeButtonX, homeButtonY, 'homeButton'); this.homeButton.inputEnabled = true; this.homeButton.events.onInputDown.add(HomeFunction, this); I can't figure out why?! The sprite displays and everything runs fine but nothing happens when I click it?
  9. I had this exact problem when I was using Dropbox to store my files. I found that if you replace a file it won't work.. However if you save it as a new file, delete the old one and rename the new one to your desired name, it will work?
  10. Hi, This works when I run it in cordova: game.input.onUp.add(jump, this); However this doesn't: enPlayButton.onInputDown.muff.add(PlayFunction, this); And when I change it to use the first example, like so: enPlayButton.input.onUp.add(PlayFunction, this); It still won't work.. Does anyone know why? Here is the full code if you need it: http://pastebin.com/UyPh1U9F First example is on line 1728. Second example is on line 554.
  11. Hi, Touch input works on iOS but not Android? Here is the click code I'm using: enPlayButton = game.add.button(enPlayButtonX, enPlayButtonY, 'enPlayButton', PlayFunction, this);enOptionsButton = game.add.button(enOptionsButtonX, enOptionsButtonY, 'enOptionsButton', OptionsFunction, this); enPlayButton.inputEnabled = true;enOptionsButton.inputEnabled = true;
  12. I'm afraid this doesn't work.. The buttons are still not clickable
  13. I'll read more on it, thanks for the help!