ksavoie's Recent Forum Activity

  • UPDATE: I just came across the release notes for v214(beta) outlining the issues with iOS 9's audio problem.

    https://www.scirra.com/construct2/releases/r214

    I downloaded the beta release, re-saved my work, and now my audio works in iOS as expected.

    Thanks!

  • Problem Description

    Can not get sound to work in game on iOS devices, period.

    I have been scouring the net/Scirra/forums with others having similar issues trying all kinds of suggestions. For the life of me I cant get iOS on a phone or iPad to make a peep.

    I have checked MIME

    I have deleted all .ogg files

    I have deleted offline.appcache

    I have edited html to remove the manifest= entry.

    ---Nothing seems to work.

    When navigating directly .m4a file in /media, iPad will display 'Play' button in middle of screen, will play sound when pressed. Desktop browsers play game sounds without issue.

    Any assistance greatly appreciated!!!!

    Construct 2 Version ID

    212.2 (64-bit)

  • Thanks for your help folks.

    In noodleing 'blackhornet's response, I took a look at my nesting and figured out that my 'On myPostTag Completed' function, which is part of my end-game tree, was nested under my 'game_running' tree, which at first glance makes sense (if it were processed synchronously) but due to asynchronous processing, it became unavailable as the 'game_running' tree became disabled as part of the same end-game tree.

    To fix my issue all I needed to do was move the 'On myPostTag Completed' tree out of the 'game_running' tree to root of the project which made it perpetually available.

    Thanks for the assistance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a function that AJAX POSTs to a .php page to update a DB. I then immediately AJAX GET new results from the DB, however many times the POST hasn't completed and my GET results are incorrect. (even though the update was successful, I believe it's a timing issue.)

    I have tried AJAX 'On myPostTagName Completed', however I am not able to get it to evaluate to true. it stalls at that function. I have tried having my post.php page echo "1" back and test for that in .LastData but that again doesn't seem to work.

    What does C2s AJAX 'On zyx Completed' look for to evaluate to true and how do I get it (or my .php page) to respond appropriately to make it do so?

    Thanks for any assistance.

  • I have an event that fires every 1 second.

    Within that event I need to randomly pick an object that has a instance variable set to 0;

    My current setup is a "Pick by evaluating" with the following expression.

    ((sprite.id = choose(1,2,3,4,5,6,7,8,9) & sprite.isFull=0))

    This however only partially works as the fewer the .ids that have a .isFull = 0, the iteration starts skipping as it didn't find a match. I need it to randomly find a remaining object with a .isFull = 0 on every iteration. At any point in time the the combination of objects that have .isFull = 0 is dynamic.

    Can someone suggest a way to accomplish this.

    Thanks for any assistance!

  • Exactly what I was looking for, TKS!

  • Sorry form my noob, I need to maintain a text box/variable that keeps active count of object instances that have an instance variable of 'X'.

    For example (if this worked) as a text box expression "sprite.instanceVar=1.Count"

    Thanks for any assistance.

ksavoie's avatar

ksavoie

Member since 16 Mar, 2015

None one is following ksavoie yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies