COGames's Recent Forum Activity

  • Thanks so much, blackhornet

    I can't seem to find "pick all". I found "pick highest/lowest", "pick by unique ID", "pick nearest/furthest", and "pick top/bottom".

  • I have scores that float upward when an answer is chosen. I use one text object (floatingScore), but there can be several scores floating up at one time.

    When the game is over, I destoy floatingScore, but all instances continue to float upward. Is there a way to destroy all of them at one time?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When I use a textbox on an iPad or iPhone, once the user touches the box for input, the soft keyboard appears, and pushes up the layout out of view. Once something is typed, the layout appears (shrunk to fit) above the keyboard (on the iPhone the text inputted is so small that it's hardly readable since everything is shrunk).

    How can one make it so the layout stays put when the keyboard appears?

    I searched the internet, and it seems that this is a problem that hasn't been fixed. It has something to do with phonegap's "keyboardShrinksView" line in the config file.

    From phonegap:

    "KeyboardShrinksView (boolean, defaults to false) - set to true to shrink the WebView when the keyboard comes up. The WebView shrinks instead of the viewport shrinking and the page scrollable. This applies to apps that position their elements relative to the bottom of the WebView. This is the default behaviour on Android, and makes a lot of sense when building apps as opposed to webpages."

    Anyway I set this in the config.xml file, nothing changes.

  • I just noticed that when my games are on the iPhone6, sometimes events triggered at the end of an audio being played is delayed. I added timers so I can compare PC, iPad and iPhone, and I do see a noticeable delay (2 to 3x sometimes). To fix this, I had to add conditions.

    Anyone else see this? Should I report this as a bug?

  • I know this is an old thread, but I had this "Assertion Failure: drawing instance on wrong layer" and I figure for anyone who has this, maybe this will help. For my situation, I discovered that it was a global sprite that was on layer 2. Then I created a new layout, which only had one layer. That's when I got the error. Simply added two more layers to this new layout and it was fine.

  • b]Problem Description

    The sound gets distorted on both the iPhone 5c & iPhone 6 (this is all I had to test it on). The problem is NOT seen on the iPad 2.

    The sound distortion does not have to be an app, it can be seen as an HTML5 game posted on a site; and this problem will carry over when converted to an app.

    Open up HTML5 game in safari (on an iPhone 6 or 5) and the sound may or may not be distorted (distortion happens more often than not). If you hit refresh it usually clears up. However, if this is saved to the home screen or it's an app you can't refresh and are stuck with the distorted sound. If you close it completely and reopen it, it stays distorted (every time).

    However, if you close the game completely (double click and swipe up), and play another sound file (any sound file will do) then go back and open the game, play the file (in the game) it will not be distorted, and all other sound files will be fine for the remainder of the game. This will happen 100% of the time.

    This leads me to think there's something not being initialized. Also, the file that I played, that fixed the distortion, was a WAV file converted to a M4A file in Construct2 (I copied the M4A file to a link to play it outside the game). So - outside the game it plays fine. Inside the game it is distorted. Once distorted, I can get it undistorted by playing the M4A file from my site (but like I said, any sound file will do).

    I use a lot of voices in my games, so the distortion is very evident. Since I can't specify my games to be iPad only, they're being forced on to handhelds, and I risk getting poor reviews due to this issue.

    ----------------------------------------------------------------------------------

    Attach a Capx

    https://onedrive.live.com/redir?resid=F ... ile%2ccapx

    HTML5 "game" file link to my site: http://yourkidcanread.com/HTML5%20games ... index.html

    Link to M4A file made from a WAV file, brought into Construct2 and converted: http://yourkidcanread.com/m4a_file.html

    This M4A file is used to "reset" the sound to get rid of the distortion. Note that it can be any sound file (like a song) however, this file may provide more clues since it's the exact same file that is in the HTML5 "game", only moved out of the game to a link on my site.

    ----------------------------------------------------------------------------------

    Description of Capx

    This Capx is a simple button that you press, and you will hear a voice for testing purposes.

    Steps to Reproduce Bug

    Open the HTML5 file up on an iPhone 5 or 6. Press the button to hear the voice. It may or may not be distorted (usually it is). If it isn't , completely close it (double clicking and sliding up) and try several more times. In my experience it will happen quickly. Once it goes distorted, it never fixes itself (if you close and reopen).

    Note that if using Safari, you can refresh and it usually fixes itself. However, if you saved to your home-screen you don't have this refresh option, and once it goes distorted you can't get it back (unless you play another sound file - such as music). This is also the case if you made the game into an app.

    Step 1 - Using an iPhone (5 or 6), open the HTML5 game ( http://yourkidcanread.com/HTML5%20games ... index.html ). Press the button to hear the voice. If it's not distorted, completely close it (double click and swipe up) and try again. It usually happens in the first or second try.

    Step 2 - Once the voice is distorted you cannot fix it by closing and reopening. But you can fix it by playing just about anything. For debugging purposes, I used an M4A file that was converted from a WAV file inside Construct2 (I just copied the M4A file from the capx to my site). Close the game completely (double click and swipe up), play this file (here's the link: http://yourkidcanread.com/m4a_file.html).

    Step 3 - After playing the M4A file, go back and reopen the HTML5 file, it will NOT be distorted.

    Observed Result

    iPhone construct 2 games have distorted sounds (very evident when there is a voice talking).

    Expected Result

    Distorted sounds when sounds are played from Construct 2 games on iPhone devices.

    Note - this happens consistently, with every game, and is also fixed every time by playing another file.

    Affected Browsers

    Safari since this is only seen on the iPhone.

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    Windows10

    R216

  • It looks like there's a bug in more recent releases of Cordova.

  • I'm using Cordova and then XDK.

    When exporting using Cordova, I select handset only and I can see the Config.xml file contains the line:

    <preference name="target-device" value="handset" />

    However, when I upload to itunes Connect, it indicates that the binary is also for the iPad.

    Is there anything that I can do? I've seen this question here, as well on Stack Overflow, and no one is really giving any answers.

    Do I have to use XCODE (somehow)?

  • Thanks for your reply. I did set the background to black, and the loading layout page only has 2 text objects on it (to display "Loading..."

    and to give the % (with>> round(loadingprogress*100)&"%"). That's very light weight, but it's still happening.

    To make it more clear, I made the loader style to display the %, and now I can see that it loads over 75% before switching to my loading page.

    I can PM you OneDrive link if you'd like to take a look.

  • I read the tutorials and gave it a try, however, for half the loading time I see whatever the loader style is set to (currently it's for nothing, but if I have it for the bar or percent, that will show), and then pops up my custom loading page with it set so it displays the percent, which only goes to about 30% and then it goes to my game.

    This is really evident when I'm loading in on my iPad (since it's slower than my PC).

    Here's a link to the game posted on my site:

    http://www.yourkidcanread.com/HTML5%20g ... index.html

    So, my question is - is this normal? Shouldn't it just go right to the custom loading page?

  • Problem Description

    r221 (latest stable download) - on Windows10, browser IE11 & Edge - when downloading I get this message: "The signature of construc2-r221-setup.exe is corrupt or invalid".

    URL: https://www.scirra.com/construct2/releases/r221

    Is this program safe to install? (or could it have been modified to include malware)

    The link was

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    ____ Concise description of what this CapX does ____

    Steps to Reproduce Bug

    • Step 1
    • Step 2
    • Step 3 etc.

    Observed Result

    ____ What happens? ____

    Expected Result

    ____ What do you expect to happen? ____

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

  • Thanks so much

COGames's avatar

COGames

Member since 20 Dec, 2015

Twitter
COGames has 2 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies