Ashley thanks for the follow up. I did notice that shortly after I commented. I have downloaded the newest beta and it works beautifully. Thank you!
Would love to hear when this is fixed because I am having the same issues as everyone above. Currently going to roll back to see if i can get it to work with r184.
It appears that you must simulate purchasing the app before any product can be purchased. Not sure why, but this is the only way I have gotten IAP testing to work.
There's unfortunately no current ADS SDK for Windows Phone 8.1 Projects written in Javascript. There is currently no way that I know of to get pubCenter ads working on a Windows Phone 8.1 project from Construct 2. Alternatively, you could export to Windows Phone 8 and take the route I explained above with editing the XAML mainpage. However, there is support for Windows 8.1 projects written in Javascript. With Windows 8.1, you can simply edit the HTML index page. Here are my posts on both of these scenarios.
Windows 8.1 http://blogs.msdn.com/b/quick_thoughts/ ... uct-2.aspx
Windows Phone 8 http://blogs.msdn.com/b/quick_thoughts/ ... uct-2.aspx
You can try this demo out. https://www.scirra.com/tutorials/978/ex ... -game-card Open up his sample project and take a look at the CData2.json. HIs file more or less looks like this. Notice the first 3 lines. To add these things dynamically you would have to know the size of the incoming json array. I looked at trying to add these properties dynamically but struggled with it.
{
"c2array":true,
"size":[13,6,1],
"data":[[ ...data... ]]
}
I am trying to test out IAP for a Windows App using the Windows 8 object, but every time I prompt the user to make a purchase and choose an OK result, the purchase fails. The "Test Mode" option for the Win 8 object is set to yet, and I am testing in Visual Studio as a Windows 8 app. I simply have a button for the user to buy something, but the "On Successful Purchase" event is never triggered. Anything I am missing?
You could keep track of the mouse's current position, OldX and OldY, every half second or so. Then, every time you get new Mouse coordinates, set your Object to old Mouse X and Y. Then, update old Mouse X and Y.
Breakpoints are not allowed in a lot of scenarios. It makes it tough to use them it seems like. I haven't found a situation where I would want to use them and actually can.
To get the json response you can use the AJAX to request URL. This will trigger an event when it is finished. You can then get that JSON string response and do what you want with it. If you try to convert to an array, however, know that you JSON response must have a couple of extra tags at the beginning, something not in the documentation for the array.
Give the ball the physics behavior and then give the physics behavior to the wall as well, but make sure they are "immovable"
Develop games in your browser. Powerful, performant & highly capable.
Not sure what you mean here? Are you trying to randomly switch a sprite from visible to invisible and visa versa?
I have not done actually done this yet, but in theory when you export as universal app, you will get a VS project written in C# and XAML. From there, you can simply edit the XAML to put an ad control below the content of your game. You might have to do this for both of the different layouts (Win 8 and WP8) but the idea should be the same as how you did it before. Is that how you were doing it before?