Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


tackle last won the day on May 24 2013

tackle had the most liked content!

About tackle

  • Rank
    Advanced Member

Contact Methods

  • Website URL
  • Twitter

Profile Information

  • Gender
    Not Telling
  • Location

Recent Profile Visitors

1366 profile views
  1. Slightly off topic - do you know if Pixi is purely WebGL? Or does it handle Phaser's Canvas rendering as well? Here's a pretty cool use of skewing in a HTML5 game: http://m.spele.nl/games/brainteaser/jelly-madness/index.php?v=3
  2. Good choice on Laravel there - we use it a lot at work for stuff that isn't just a plain simple CMS (Wordpress). It's really easy to use and expand.
  3. Don't forget Flurry Analytics - super easy to implement and it tracks sessions and custom events.
  4. Yeah that's what I've done. Instead of looking specifically for just iOS 5, I'm setting the requirement to WebAudio. That'll be a much better solution since my game is not one that would work well with slowdowns.
  5. Is there a way to disable the HTML audio tag use in Phaser? I'm all for pushing development forward and only use WebAudio. Disabling HTML audio tag would solve both that and my problem. Or I suppose I could just check the Device for webAudio API availability and if it's not there, just don't call the .play() on my sounds.
  6. Yeah you're probably right. The big issue is that even if you've muted the game, it still slows down like that. Also, once it's slowed down, it's staying there. So you can't mute it after the fact to mitigate the problem. Also, during my testing, I've had some random firing of the actual sound in my phone. As in, I did hear the sound, but maybe 30 seconds from the press of the button. So, for now, my solution is to just make sure it's not iOS before I try to play a sound.
  7. Sure, I've set one up here: http://waikiki.macklin.se/livefolder/audiotest/ Whichever I try to play on both Safari and Chrome on my iPhone with iOS 5.1.1, it jumps from 60fps to 5-7 fps and stays there. Just one play will do it. All except the OGG one which doesn't do anything, which is expected. That would be relevant when digging through the code. I've been looking at the source but I'm lost when it comes to finding where it actually triggers and fires the audio tag play. I assume it's the audio element tag in this case, since iOS5 doesn't have webaudio. If you have iOS 5 anywhere and
  8. Using Safari or Chrome on iOS 5.1.1, an iPhone 4S, I'm trying to play audio. In a simple test case with 60 fps, trying to play a ~10kb wav file kills the performance instantly and puts it to ~2-3 fps and it stays there. If the main Phaser sound engine is muted before playing, this still results in this performance loss. In my game I'm working on, I've resorted to user agent sniffing in all calls to sound.play(), making sure I don't call any sound plays on iOS 5 at all. Would you try another solution? What I'm doing now works basically and it's a lost cause adhering to ALL os's and device
  9. What about the license issue with mp3? Aren't you supposed to pay for using it if it's used on more than xx copies? Right now I'm using m4a and ogg for music and wav for quick sound effects.
  10. That's probably more correct than my uninformed guess. Let me know if you try it how it works out!
  11. My guess is that if there is any performance difference between canvas mobile played in the browser vs embedded in an app, it would perform worse in an app. My tip only leads you to step one - canvas browser based, not android/iphone app. There are things, like Phonegap, Cordoba and others. I have very little experience with this however.
  12. I managed to solve this after much hair tearing I was using the full screen mobile template as you know. That uses an IIFE to trigger the boot of the game. Instead, I put it in a function which runs on <body onload="startGame"> That gives the browser the needed time to get its shit together, so this is solved with that. Trivial in one way - but significant in that without it, games that uses dragging gestures are ruined in Android Firefox without this fix. Update:Sorry, I was too early on the trigger, this was due to something else. I could only get the problem to go away by ma
  13. Using this: https://github.com/photonstorm/phaser/tree/master/resources/Project%20Templates/Full%20Screen%20Mobile You could make something like this: http://gamepyong.com/ints/ints.php Try it on desktop and mobile, see what you think! Explanation: the template is just a starting template (read the code in it). It's not 100% (I'm having trouble right now with a bug on Android Firefox) but it will get you VERY far!
  • Create New...