boybacteria's Forum Posts

  • Problem Description

    Construct 2 crashes when I have more than 30 layout tabs open and try to use "close all but this" on any tab. The following message pops up:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Last clicked tab is NULL

    Condition: last_clicked_tabwnd != NULL

    File: MainFrm.cpp

    Line: 1977

    Function: void __cdecl CMainFrame::OnCloseAllButTab(void)

    Build: release 248 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    Attach a Capx

    https://www.dropbox.com/s/eec6cfrl540ocrt/close%20all%20bug.capx?dl=0

    Description of Capx

    An empty project with 30 layout tabs open.

    Steps to Reproduce Bug

    • Click ok on the "you have over 30 layout tabs open...." popup window.
    • Right click on any layout tab and choose "close all but this".

    Observed Result

    Construct 2 crashes.

    Expected Result

    All other tabs should be closed without Construct 2 crashing.

    Affected Browsers

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

    Operating System and Service Pack

    Windows 10 1703

    Construct 2 Version ID

    248

  • It's really not fair on Cordova apps and it's not fair that all the great App Store games made with Construct 2/3 gets affected by this - please file the bug! If they wanted to save that much battery then my guess is that they would already have implemented a fps throttle for native apps as well. There are some really big battery draining games out there!

    33 fps is a horrible experience! it makes you think that your device is broken Nor does anyone that develops games for their devices. It's a really hard thing to explain to your users.

    Low power mode is fine but I would say that the fps throttle is a very big problem for game developers that are using Cordova and releasing games on the App Store!

    Do you think there's a specific reason that they have implemented this 33 fps Safari throttle, or just a general thing to save battery? Hopefully they can just remove it!

  • Yes, I get that! The problem is that games that are built with other engines (that are not html5) are not noticeably affected at all. For instance, I just tried Mario Run with low power mode enabled and it ran just fine at 60 fps (maybe the games performance was affected in some way but frame rate was not). I don't think people would accept that all games on their device ran at 33 fps if low power mode was enabled? It's such a huge difference! And I don't believe that Apple wants that either, or else everything would be throttled to 33 fps when low powered mode was enabled? But right now afaik only Safari gets the fps throttle and it really hurts packaged html5 games!

    I was hoping there was some kind of setting that would override the fps throttle in Safari for developers. Not override low power mode, just the fps throttle! It's pretty clear that the fps is throttled to 33 fps regardless how "resource heavy" the game is, because it happens in an almost empty test project that the device (iPhone 7 in my case) should be able to run at 60 fps even with low power mode enabled without any trouble at all!

  • Hello!

    Has anyone else seen this? I've tested several different projects with Safari iOS 11 and it always throttles to 33 fps if you have low power mode enabled (the battery saving thing)! Is there anyway to get around this?

    This also seems to happen with other HTML5 engines like Phaser http://www.html5gamedevs.com/topic/33424-stuck-at-33-fps-on-ios-11/

    It also happens when you export the game with Cordova, so everyone that downloads your game on the App Store will get really bad frame rate if they have enabled low power mode

  • I've backported the C3 fix to C2 for the next build, so it should be fixed then.

    Great! Thank you very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > You are using Construct 3, right?

    >

    > I have this problem in Construct 2. As far as I can tell there isn't a "Videos"-folder in Construct 2. Also the problem was not getting the video to play, I can get it to play but not when it's built with Cordova on a device with iOS 11, it's that specific.

    >

    ops, you're right, sorry, i have the r244 of C2 so for open your capx i have used C3 and.. this made me confused

    anyway, when you export project in html5 (before building apk from www content) try to move your video into "Media" folder (if u don't have this add a audio file to make it when export). for me this warkaround sometimes worked.

    Ok, so I've tried moving the video to the media folder and built it again, but it didn't work I'm afraid.

    I'm not trying to get it to work on Android though, this is an iOS specific problem for me. And It's even more specific because I CAN get the video to play on iOS 10, but not on iOS 11 when it's exported with Cordova (Phone Gap Build)!

    I think it's probably the same as described in this thread https://github.com/Scirra/Construct-3-bugs/issues/895

    And although that relates to Construct 3, my guess is that it's the same in Construct 2.

  • You are using Construct 3, right?

    I have this problem in Construct 2. As far as I can tell there isn't a "Videos"-folder in Construct 2. Also the problem was not getting the video to play, I can get it to play but not when it's built with Cordova on a device with iOS 11, it's that specific.

  • Problem Description

    I'm trying to get video to play in my game that is exported with Phone Gap Build but it does not work on devices with iOS 11, nothing is shown. It works on earlier versions of iOS though. It also works when I publish it as a HTML5 website and try it on my iPhone with iOS 11 Safari, but I need it to work as a Cordova exported app!

    I guess it's the same as this? https://github.com/Scirra/Construct-3-bugs/issues/895

    It seems to have been fixed in Construct 3 r61, but not in Construct 2?

    Attach a Capx

    https://www.dropbox.com/s/eu8a21wrimq3i3a/ios11video.capx?dl=0

    Description of Capx

    Click the red square to start playing the video.

    Steps to Reproduce Bug

    • Export as Cordova.
    • Build with Phone Gap Build.
    • Install on device with iOS 11.
    • Try to play the video.

    Observed Result

    Nothing happens.

    Expected Result

    Video should play.

    Affected Browsers

    • Safari (iOS 11): (YES)
    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    iOS 11.0.3.

    Construct 2 Version ID

    r247

  • Hello!

    I've just released an app for kids on the App Store called Flying Fun (age 1+)! Available for iPad & iPhone!

    Let me know if you would like to try it out and I will give you a Promo Code! https://itunes.apple.com/app/id1166903354

    Thanks!

  • Wow, I like it! Bought it from the Store today Some stuff I was wondering....

    1. To make a new level, can I just duplicate an existing one and edit it? How do I then add the new level to the level select screen?

    2. Is it possible to have it so that the camera doesn't always follow where the player is facing? If you're just flipping the sprite and not really moving, it gets a bit jumpy (hope you understand what I mean

    I noticed that when you die, sometimes you can press the pause button and you get the pause window under the game over window.

    Thanks!

  • Appreciate if Ashley would consider extending the zoom out to 1% - hopefully it's a very minor piece of work that can be addressed in a near future Construct2 build.

    +1

    On that note...faster scrolling while dragging is definitely needed, and being able to "find" objects like in Unity would be great as well. (select object > press F > camera pans to object)

    +1

  • +1

  • Hello!

    https://dl.dropboxusercontent.com/u/7421687/m%C3%B6ssa/index.html

    Me and some friends have this local #1GAM jam, so I thought I'd share my latest "game" made in March. The theme was Mössa, which means Hat in english. I posted it here because, in the context of the game jam, time is up and the game is complete I made the whole game myself, including graphics and music and I could never have done it without Construct 2 because I can't write code!

    You control M. Gibson as he fights the evil hat demons. Pick up orbs to gain a heart and get some temporary hat super powers (visualized by an extra large arm, didn't have time to make anything better

    Should work on mobile to, but I've only tested it on an iPhone 6 so I'm not sure about performance though

    Regards,

    Richard

  • Prominent

    Thanks!

    R0J0hound

    It's indeed a strange name for a physics engine

  • Thank you for your hard work R0J0hound ! I went ahead and made a little icon to go with the behavior. You can tell right away that it's an icon for a physics behavior right? Anyway, anyone is free to use it if they like it, download link is below.

    https://dl.dropboxusercontent.com/u/7421687/PluginIcon.ico

    Here's how it looks in Construct: