Search the Community

Showing results for tags 'android'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 230 results

  1. Hi, We are trying to update our HTML5/JS 2D video game engine to support Android/iOS smartphones/tablets. Our current version of our engine does not play audio on Android/iOS mobile devices. What is the best method to play audio (either MP3/OGG) on Android/iOS mobile devices? Here is our current audio initialization code: function InitSettings() { if ( navigator.userAgent.toLowerCase().indexOf('android') > -1 ) Browser = "Google Android"; else if ( navigator.userAgent.toLowerCase().indexOf('iphone') > -1 || navigator.userAgent.toLowerCase().indexOf('ipad') > -1 || navigator.userAgent.toLowerCase().indexOf('ipod') > -1 ) Browser = "Apple iOS"; else if ( navigator.userAgent.toLowerCase().indexOf('mobile') > -1 ) Browser = "Mobile Unknown"; else if ( navigator.userAgent.toLowerCase().indexOf('viera') > -1 ) Browser = "Viera Smart T.V."; else if ( navigator.userAgent.toLowerCase().indexOf('edge') > -1 ) Browser = "MS Edge"; else if ( navigator.userAgent.toLowerCase().indexOf('opera') > -1 || navigator.userAgent.toLowerCase().indexOf('opr') > -1 ) Browser = "Opera"; else if ( navigator.userAgent.toLowerCase().indexOf('chrome') > -1 ) Browser = "Chrome"; else if ( navigator.userAgent.toLowerCase().indexOf('firefox') > -1 ) Browser = "Firefox"; else if ( navigator.userAgent.toLowerCase().indexOf('ie') > -1 || navigator.userAgent.toLowerCase().indexOf('trident') > -1 ) Browser = "MS IE"; else if ( navigator.userAgent.toLowerCase().indexOf('safari') > -1 ) Browser = "Safari"; else Browser = "UNKNOWN Browser"; SoundType = "null"; var audioTest = document.createElement('audio'); if ( audioTest.canPlayType('audio/mpeg;') ) SoundType = "mp3"; else if ( audioTest.canPlayType('audio/ogg;') ) SoundType = "ogg"; Here is our sound effects and music load/play code: //-------------------------------------------------------------------------------------------------------------- function LoadSound() { var index; for (index = 0; index < NumberOfMusics; index++) MusicIsCompletelyLoaded[index] = false; if (SoundType === "ogg" || SoundType === "mp3") { for (index = 0; index < NumberOfSoundEffects; index++) SoundArray[index] = document.createElement("Audio"); SoundArray[0].src = "./data/audio/MenuClick." + SoundType; SoundArray[1].src = "./data/audio/MenuMove." + SoundType; SoundArray[2].src = "./data/audio/MovePiece." + SoundType; SoundArray[3].src = "./data/audio/PieceCollision." + SoundType; SoundArray[4].src = "./data/audio/PieceDrop." + SoundType; SoundArray[5].src = "./data/audio/PieceRotate." + SoundType; SoundArray[6].src = "./data/audio/LineCleared." + SoundType; SoundArray[7].src = "./data/audio/TetriCleared." + SoundType; SoundArray[8].src = "./data/audio/LevelUp." + SoundType; SoundArray[9].src = "./data/audio/MustThinkInRussian." + SoundType; SoundArray[10].src = "./data/audio/IncomingLine." + SoundType; SoundArray[11].src = "./data/audio/GameOver." + SoundType; SoundArray[12].src = "./data/audio/Crack." + SoundType; SoundArray[13].src = "./data/audio/ShallWePlayAGame." + SoundType; SoundArray[14].src = "./data/audio/Sword." + SoundType; for (index = 0; index < NumberOfSoundEffects; index++) { SoundArray[index].preLoad = "auto"; } for (index = 0; index < NumberOfMusics; index++) { MusicArray[index] = document.createElement("Audio"); MusicArray[index].src = ("./data/audio/Track-0"+(index+1)+"-BGM." + SoundType); MusicArray[index].volume = MusicVolume; MusicArray[index].preload = "auto"; MusicArray[index].addEventListener( "canplay", MusicLoaded.bind(window, index) ); } } } //-------------------------------------------------------------------------------------------------------------- function PlaySoundEffect(index) { if (ThinkRussianTimer > 0) return; if (SoundType === "null") return; if ( index > (NumberOfSoundEffects-1) ) return; if (SoundVolume === 0) return; SoundArray[index].volume = SoundVolume; SoundArray[index].currentTime = 0; SoundArray[index].play(); } //-------------------------------------------------------------------------------------------------------------- function PlayMusic(index) { if (SoundType === "null") return; if ( index > (NumberOfMusics-1) ) return; if (MusicVolume === 0) return; MusicArray[CurrentlyPlayingMusicTrack].pause(); CurrentlyPlayingMusicTrack = index; MusicArray[index].addEventListener("ended", LoopMusicFixForFirefox, false); MusicArray[index].currentTime = 0; MusicArray[index].volume = MusicVolume; MusicArray[index].play(); } Any help would be appreciated, thanks!
  2. Ahok has become a Kungfu Master. Get ready for rat attacks in the Jakarta city. wreck them all with kungfu style to save the city. Test your reflexes and break the records from around the world. Features: Addictive arcade game play. Fight hundreds of enemies every minute. funny sound effect and voices. Screenshot: Game Link(Please help rate and comment for both version. thanks ): HTML5: here and here Android If you are interested with HTML5 version. it's also available for non-exclusive license. Please contact me at smilesoft [at] live.com and here is the list of my latest HTML5 games(available for licensing): HTML5 games list Thanks.
  3. Hi, its my firsh HTML5 game, I made it after playing PIxel Dungeon : ) For UI i used react.js. Gameplay part is canvas+js. No any other frameworks. Maybe for next my game ill take phaser. : ) Features: 8 bosses about 25 enemies items with random generated properties random generated levels You can play it here: https://pixel-cave.com About any bugs you can report me in game menu. : ) I've fixed some bugs, reported via these menu already.
  4. Hi Everyone A new game I created for a bit of fun with Phaser - see how long you can survive ! Use the arrow keys to move and space bar to reverse your jump, just dodge the saw blades for as long as you can. http://html5gamer.mobi/phaser2/gravity/ It will be up on the play store shortly https://play.google.com/store/apps/dev?id=6610143282478185428 Let me know what you think Eric
  5. Hey guys, This is my first game for android made with p5js, cordova and angular js. https://play.google.com/store/apps/details?id=com.blissfullapps.blissgame Simple addictive accelerometer based game with a single mechanic. Subtle changes as you go make things interesting, keeps you on your toes, questions your ability, makes you think about how tiny changes increase the difficulty and how practice removes that difficulty very soon. Good soothing background music. The game play video is here One bug that I have in this game is, the background music keeps playing unless the game is exited or stopped in the background if the user exits by pressing home button. Any suggestion how to fix that issue? I have tried with javascript events and a bit of android native code changes but it didn't work. Designed and developed the whole thing myself. Any feedback will be appreciated and please share
  6. Hello guys, just wanted to show an HTML5 game made with superpowers. Super Coin Collector is a shoot e'm up 2D for Android inspired by Super Crate Box. You can download it from: https://goo.gl/cD0fHt
  7. I'm testing one of my Phaser Games within a Webview, built using just Android Studio and Firebase (game in Phaser) I didn't use Cordova it cluttered my Android project and didn't seem to add any speed..etc , Here is the web and the Google Play link: http://www.munchiegames.com/play/serve_ramen https://play.google.com/store/apps/details?id=serveramen.munchiegames.com.serve_ramen
  8. Hello everyone, I read lots of articles about android being terrible in decoding audio. But I don't understand. I run my phaser game on android in browser it work perfect with sound and music and it work perfect when its wrapped with Cordova only. The problem is when I integrate crosswalk in it, no sounds are playing at all and when I order the loading screen to wait till decode just a 1 second long sound file (mp3, 44100) it doesn't continue, just stuck there. I tried cordova-media-plugin and still nothing is working. I am using the latest crosswalk and latest cordova. Any help plz,
  9. Just released this puzzle game. Try to flood the board with one color by tapping the buttons on the bottom of the screen. Feedback appreciated Play in browser! Android app!
  10. Hello everyone! My new game called "Arena Fu" is RELEASED! Check it on #android https://goo.gl/hKluMI , #ios https://goo.gl/WF66Hm and #Win10 https://goo.gl/fSbnkf !
  11. Christmas is coming Our new game is released since yesterday We wish you a merry christmas and a happy new year! See you in 2017! Assist Santa in delivering gifts to all the children in this challenging race. Only a few days left until Christmas eve. Santa is a little late in delivering all the gifts. Help him collect and deliver the gifts directly to the waiting children and to create a bright smile on their faces. Being Santa is not easy. You will need some practice to get it right. Apple: http://apple.co/2hZYJYh Android: http://bit.ly/2hYqQak Features: Hard to master Challenging to play Unique gameplay Share your highscore Endless game mode How to play: Invisible elves continuously place gifts on your playing field Click to add them to Santa's sleigh Click on Santa to drop a gift and drag it in the direction of a chimney Keep the collected and the successfully delivered gifts in perfect balance
  12. I've just release my new game one the play store! The game is Dungeon Slog. It's an action/arcade rpg with roguelike elements. In it you need to fight your way through a randomly generated dungeon of monsters, levelling up, buying items and choosing which member of your party is best suited to the current challenge. It was programmed in vanilla javascript using Phaser as the game engine. I used l10n for the localisation (even though I have yet to actually localise it into another language) and Apache Cordova to package it as an app. I used the Oryx tileset with additional icons bought from Gamedev market. The music is by Eric Taylors, sound effects by Kenney Feedback, questions, bugs or suggestions more than welcome. Gameplay trailer: Screenshots:
  13. Hi All, I have uploaded my new puzzle game Neighbor Numbers to Google Play Store. I developed the game using Phaser Framework and wrapped into android app using Crosswalk. It is a unique puzzle game. All numbered blocks need to have neighbors as many as its neighbor count. The number on a block represents its neighbor count. The neighbor blocks should be up, down, left or right to the block, not diagonal. You must connect all block using this neighbor rule. Google Play Link: https://play.google.com/store/apps/details?id=com.mussky.neighbornumbers I hope you will like it.
  14. Bad Run, is platformer runner and was created as a part of the Bad Pad saga, to expand the world, characters and story and for some extra fun, Bad Pad is my upcoming PC/Consoles platformer game. "Join Square's epic adventure and fight the infamous Evil Pen.Run, jump, dive, fly and shot your way through, but most importantly take Evil Pen down! It's up to you, are you ready?" Features: - Campaign mode including 4 episodes, 40 levels, missions and battles. - Endless mode, master your skills, collect coins and upgrade your character and buy new items. - Daily rewards and achievements. - Bad Pad comics, finish an episode to reveal more slides. - Original guitar driven music by Avishay Mizrav. - Supports Landscape and Portrait views. Bad Run can be download in Google Play for free, https://play.google.com/store/apps/details?id=com.headbangames.badrun If you have any suggestions or questions feel free to ask here or send us an email, have fun!
  15. Hi, we have recently released Fallin for Android and iPhone/iPad. Please have a look, we are happy about any feedback Fallin for iPhone and iPad: App Store Fallin for Android devices: Play Store You can also follow us at: FACEBOOK TWITTER or visit our website: http://www.iwantanelephant.com/
  16. I need to have a single code for web and mobile client. I wrote something lie this: var renderer; var stage; window.onload = function() { var w = screen.width; var h = screen.height; stage = new PIXI.Container(); renderer = PIXI.autoDetectRenderer(w, h); document.body.appendChild(renderer.view); } In my desktop (FullHD screen) w = 1536, h = 864, window.devicePixelRatio = 1.25, but it work correctly. In my android device (HD screen) w = 360, h = 640, window.devicePixelRatio = 2. As seen stage has half the size of the actual screen size (720x1280), but stage children has real and correct size(for example image 60x60 realy has 60 pixels). In result my stage content does not fit on the screen. How to fix it? I need to scale all stage children into ratio? For example: stageChild.scale.x = stageChild.scale.y = 1 / window.devicePixelRatio ? Sorry for my English:-)
  17. Run through the space ship with your character and collect as many stars as you can. This way you can unlock all kinds of medals and achievements. How far will you be able to get? At the end of each attempt your EXP is added to the meter. Can you fully level up your character? The higher your characters level, the more damage you can sustain. You will need it, because the further you get the faster and more difficult these side-scrolling run and dodge levels become. Features: Easy to control Various traps and terrain Various medals ready to be collected Screenshot: Game links: HTML5 Google Play Amazon If you are interested for HTML5 version. it's also available for non-exclusive license. Please contact me at smilesoft [at] live.com and here is the list of my latest HTML5 games(available for licensing): HTML5 games list Thanks,
  18. Hi, guys. Try my new game Play on Scirra Arcade: https://www.scirra.com/arcade/action-games/mannequin-head-jumping-challenge-game-12746 Download for Android: https://play.google.com/store/apps/details?id=com.takenewgames.mcjh Download for IOS: https://itunes.apple.com/app/mannequin-challenge-game-jumping/id1178329270 Description The Mannequin Head - Jumping Challenge Game is realy hot new challenge! Come Join To Play! The Mannequin Head - Jumping Challenge is taking over the world! Play Now! Features: - 10 characters - Simple One Touch Control - Online leaderboard - Endlesss Gameplay Gameplay: - Tap to jump - Don't touch on horizontal platform - Collect diamonds to unlock new characters Follow Us: — http://www.facebook.com/takenewgamesofficial — http://twitter.com/TakeNewGames — http://plus.google.com/+TakeNewGames — http://vk.com/takenewgames — http://www.pinterest.com/takenewgames — http://www.youtube.com/TakeNewGames?sub_confirmation=1 More Games: — http://www.takenewgames.com
  19. Update: Good news everyone! The Atomic Game Engine is now Open Source under the permissive MIT license! We made a blog post with the announcement: http://atomicgameengine.com/blog/announcement-2/ The Atomic Game Engine features Windows and Mac Editors, 2D & 3D rendering and physics, Tiled and Spriter support, JavaScript/TypeScript/C# scripting, full Editor and Player source code hosted on GitHub, and deploys natively to Windows, OSX, Android, iOS, and HTML5. Atomic Game Engine 2016 Feature Reel Atomic Editor Build Settings Atomic on Mobile Atomic Examples 3D WebView Scene Example Google Maps in the UIWebView Multi-tab browser example New code editor with syntax coloring and autocomplete for JavaScript and TypeScript Cheers! Josh Technical Director, Co-founder www.AtomicGameEngine.com
  20. Greetings. I have heard of socket.io for real time multiplayer in html5 games for example. However I am not sure how would you do it in a converted html5 game to android / ios (using intel XDK for example). I am not sure if you still use socket.io or just change to something else? Can someone explain?
  21. Hello. I made a small test game that I would like to test on mobile. I would like to make the game available for ios and android. I am not sure on how to do this ... Can someone help me out? Will the phaser-in-game-code be the same for both apps? I have heard of PhoneGap / Cordova. What about ios?
  22. Hi guys, We developed a game last year with phaser 2.3.0 and webgl, it worked fine on computer browsers and mobile devices. But since the last update of chrome for android (v53.0.2785.97), the screen is flickering until it becomes totally black, without any error or warning. The issue is present on mobile only, it worked on chrome for android v52, but not v53. We tried to upgrade to phaser 2.6.2, same issue on chrome for android v53. If we use Phaser.CANVAS instead of webgl, it works fine, but we prefer using webgl for performances. Does anyone encounter the same problem? Thanks for your help. Joe K.
  23. Hey guys! I found this article and I would like to ask you what do you think about it? http://www.geeky-gadgets.com/lignum-ios-and-android-virtual-reality-bluetooth-controller-11-11-2016/ Thanks
  24. Hi, guys. Try my new game! Simply flip the bottle into the air and score points by falling between the tables! Compete with players around the world! Play Online: https://www.scirra.com/arcade/action-games/falling-bottle-challenge-12608 Download for IOS: https://itunes.apple.com/us/app/falling-bottle-challenge/id1176246722?mt=8 Download for Android: https://play.google.com/store/apps/details?id=com.takenewgames.fbc Features: - 10 bottles - Simple One Touch Control - Online leaderboard - Endlesss Gameplay Gameplay: - Tap to Flip - Don't touch on tables - Collect diamonds to unlock new bottles Follow Us: — http://www.facebook.com/takenewgamesofficial — http://twitter.com/TakeNewGames — http://plus.google.com/+TakeNewGames — http://vk.com/takenewgames — http://www.pinterest.com/takenewgames — http://www.youtube.com/c/TakeNewGames More Games: — http://www.takenewgames.com
  25. Hi, guys Try my new game! Play Online: https://www.scirra.com/arcade/racing-games/retro-speed-2-hot-roads-6949 Play FREE IOS: https://itunes.apple.com/app/retro-speed-2-hot-roads-crazy/id1069820692 Play FREE Android: https://play.google.com/store/apps/details?id=com.goodapp.retrospeed2 Description Retro Speed 2 - Hot Roads And Crazy Racing Zone is an endless arcade racing. Drive your car on the road with a fast traffic. Collect coins and buy new cars. Your task is to become the fastest driver - a leader in the global race for the first place world ranking. Go for victory! Features: - 5 different locations - 15 cars, there is a lot to choose from;) - Beautiful 2D graphics - Convenient control - Online leaderboards - 19 achievements Gameplay: - Your car is constantly increasing speed - Touch the left half of the screen to move the car to the left - Touch the right half of the screen to move the car to the right - Collect points overtaking other cars on the road - Collect coins to the orange car for that would buy new cars