SamRock's Forum Posts

  • Thanks for the update part12studios! Ashley has raised a ticket with Microsoft regarding the HTML5/IE audio bug.

    I was in the process of developing a Universal App too until I released there is no way to add Ads to a WP8.1 app!!! Now I am now converting the phone app to WP8. Do you think its worth the time? I used the Plugin developed by thehen

  • thehen, I currently only have VS2103. But I have exported the C2 project using Windows Phone 8.0 (VS2012) .

    Will opening and running the on VS2013 cause any issues? When running on the Emulator the game doesnt go past the Loading screen. It freeze/stops at about 70%

    I get this error message in teh Debugger:

    'The thread 0xb10 has exited with code 259 (0x103)."

    Edit 2: my Game works perfectly when I load it into my Device (Lumia 720.. WP8.1). Also loads properly on any WP 8.1 emulator.

    The freezing happens whenever I select non WP8.1 emulator

  • Any chances of having something similar for Win Phone 8.1 Universal App??

  • I have teh same problem! I am surprised MS hasnt come up with a HTML5 based Ad support WInphone 8.1

  • Hey Valereds

    The inablity to add Ads to HTML5 WinPhone projects has halted my game dev too! This is my first app and I was trying to built a universal Windows App hoping I will be able to add Ads on both Win8.1 platforms.

    I am totally lost now. All this while I thought MS Advertising SDK had the option to add Ads to any type of project

    But it only supports C#/XAML on phone projects

    Did you find any alternatives? Do we have to depend on Win Phone 8 apps to generate Ads revenue and make a separate Windows 8.1 app? Need some advise from you guys.

  • Hi Ashley For now, I am planning to use the Microsoft Pub Center. I am very new to the world of Ads and my game on Construct 2 will be my very first App on Win8 Platform.

    I have already reached the 100 event limit.. and planning to buy a license sometime this month. Thank you so much for being generous and allowing us to try all option. I have created 70% of my intended game using the Free version! And it already looks great

    Will buy the license to complete rest of the planned features

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks again ASHLEY.

    If the .WAV file doesnt fix my issue, I will disable Background music for now. Hopefully MS will come up with some kind of update soon. They have extensively marketed about being able to create HTML5 +JS based apps for Windows 8+. So they should put all their efforts on supporting this area.

    Before finishing the thread, could you please point me to some article that talks about adding Ads and IAP to a Win 8.1 universal app? I cant seem to find anything here. Everything is for Windows 8/WP8.

  • Wow thanks Ashley!

    I think I found a fix to my issue... the solution is to play less sound files

    I mostly use condition isPlaying("tag"), to check if a set of audio file is playing or not. If not, play the sound file. This has brought down the Crash to ZERO!! yes ZERO

    Now the only problem I have is with the Music going silent after few seconds of playing. Mostly after another sound file is played. Do you thik there is a work around? I just read that converting to .WAV format helps. I need to test this after I go back home.

  • part12studios

    Did you issue with WP81.1 get resolved? I am facing similar audio problem on my game.

    The sound files play just fine, but when I start playing the background music or a lengthier sound file, it just stops are few seconds! The other sound effects however continue playing without any problem.

    Here is the post, I have included a CAPX for C2 team's reference.

    win-phone-8-1-app-crashes-randomly-after-adding-audio-capx_t115447

    EDIT: cannot post URLs yet

    My thread is created in the Construct 2->Bugs section

  • thehen

    Does this plugin work for Windows 8.1 Universal Apps?? I am currently facing issues with Audio.

    Here is the complete description, I have included a CAPX too.

    win-phone-8-1-app-crashes-randomly-after-adding-audio-capx_t115447

    EDIT: cannot post URLs yet

    My thread is created in the Construct 2->Bugs section

  • I noticed that same set of sound files were getting triggered at once when player overlaps with a group enemies. Now I used Trigger Once and the crash rate has reduced drastically.

    However after I included BG music and exported to Windows Phone/Emulator, the music stops as soon one or two other sound files is played. My CAPX file will show you this happening.

    I think this is happening with lengthier sound/music files only. (Eg: bgmusic and cricket sounds files are more than 20 seconds in length, and these two files stop playing after few seconds.)

  • Dear Ashley

    Could your or team please help me with this issue? I have attached a CAPX for your reference too.

  • CAPX Included!

    Problem Description

    *EDIT:* Same set of sound files were getting triggered at once when player overlaps with a group enemies. Now I used Trigger Once and the crash rate has reduced.

    However after I included BG music and exported to Windows Phone/Emulator, the music stops as soon one or two sound files is played. My CAPX file will show you this happening. I think this is happening with lengthier sound/music files only. (Eg: bgmusic and cricket sounds files are more than 20 seconds in length, and these two files stop playing after few seconds.)

    Continuing my App from my previous post(viewtopic.php?f=152&t=114976) where I resolved the Image Distortion issue by Cropping the large PNG files. The App worked wonderfully without any issue until I added the Audio Object.

    I am playing a single Music file background and various other sound files (like Footsteps, Enemy sounds, Player Hurt, etc). When I exported the game as an Universal App to my Windows Phone Lumia 720, I noticed that the game crashes after about 2 to 3 mins of gameplay. I decided to debug on the Emulator (512MB). I found that it regularly throws up error at this point:

    'WWAHOST.EXE' (Script): Loaded 'Script Code (MSAppHost/2.0)'.

    Exception was thrown at line 14761, column 6 in ms-appx://94047361-e2dc-4b28-9958-c9485e8983ae/c2runtime.js

    0x80004005 - JavaScript runtime error: Unspecified error.

    The program '[1120] WWAHOST.EXE' has exited with code 1 (0x1).

    I went to the c2runtime.js file line #14761. Exactly the code that's supposed to play the Sound file!! If you see there is a Win 8.1 comment from the Developers too.

    if (this.is_music && isMusicWorkaround && !audRuntime.isInUserInputEvent)
    				musicPlayNextTouch.push(this);
    			else
    			{
    				try {
    --------line #14761-------------------->this.instanceObject.play();
    				}
    				catch (e) {}	// sometimes throws on WP8.1... try not to kill the app
    			}[/code:1y7vhwbo][/i]
    
    I started Disabling Audio Play commands until I had only the Foot steps sounds.. Now the rate at which the APP crashed reduced! Infact it seems to run without any issues!
    
    Now my question is., could format of a file by any means cause this issue? All sounds files are in M4A format since I am only developing for Windows Platform. Any help would be greatly appreciated!
    
    [b]Attach a Capx[/b]
    h*t*t*p*s://drive.google.com/file/d/0B3-U8v4LYOJNQXZmaVM2dms0T1U/edit?usp=sharing
        
    [b]Description of Capx[/b]
    A Platformer prototype, where platform is scrolling to the left with random enemies. Press Left/Right key to dodge them. Space to jump.
    I am using multiple BG music files which plays randomly. Enemies have bite and cry sounds played randomly. As time goes, I play a Night sounds with dogs howling. Day time you hear Crows.
    
    [b]Steps to Reproduce Bug[/b]
    [ul]
        [li] Export the Project to VS2013 - Universal app
        [/li][li] Set Windows Phone Project as Start Up
        [/li][li]  Run on 512 MB, Emulator or Windows Phone (mine is Lumia 720) 
        [/li][li]  Press Start Button when loaded
        [/li][li]  Game starts BG music, you can see the Player Sprite and platform moving
        [/li][li]  As soon as player collides with enemy and it makes sounds, the [b]BG music stops.[/b]
        [/li][li]  Continuing to play, the game crashes or report the above mentioned JS error.[/li][/ul]
        
    [b]Observed Result[/b]
    
        
    [b]Expected Result[/b]
    
        
    [b]Affected Browsers[/b]
    [ul]
        [li] Chrome: (NO)
        [/li][li] FireFox: (NO)
        [/li][li] Internet Explorer: (NO)[/li][/ul]
        
    [b]Operating System and Service Pack[/b]
    Windows Phone 8.1 latest updates
    512MB RAM (both Emulator and Phone)
        
    [b]Construct 2 Version ID[/b]
    r178 64Bit
  • Ashley, I visited the website and yes, mine phone is supposed to support 4096x4096 too!

    I will try reporting to MS soon... right now, I am drowned in Construct 2 ... its awesome.. Thank you so much for giving us this great tool!

  • My Untitled Isometric Action/Horror Game!

    Game will have:

    1. Day night cycle.

    2. Weather effect (if I ever afford to buy the licensed version!)

    3. Dynamic Map creation

    4. Of course awesome graphics created by dear brother!

    [attachment=0:hlegxfw5][/attachment:hlegxfw5]