WildHairedScience's Forum Posts

  • When using the mouse to simulate touch, touch.touchID is always 0. There is no warning about this in the documentation.

    The problem is present in Construct 3 also but touch.touchID is always 1

    Tagged:

  • Horizontally aligned text with white space at the end trims the white space in the C2 editor but not when the project is viewed in a browser. No problem with left justified text.

    R265 Windows 10 Pro

    Works properly in all browsers, error is in display in the browser.

    Link to .capx https://1drv.ms/u/s!AjosfNFG8jCjnpANRNgnFqZXkEm7eg

    steps to reproduce:

    1. Add a text object
    2. make text right justified
    3. add space on the end of the text

    What should happen: Both editor and html view should show space on the right.

    What does happen: html view should space on end, editor does not.

    This is a very minor bug and it doesn't really need to be patched but I did waste 15 minutes trying to figure out what event was shifting my text that looked properly aligned in the editor only to discover that it wasn't an event but a difference in the rendering.

  • For others with the same problem that find this in the future:

    Ashley wrote a tutorial to help https://www.scirra.com/tutorials/279/troubleshooting-construct-2s-preview-server

    I fixed it by changing the port. No idea why 50000 stopped working after years.

  • I get the following error when previewing

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

    Preview HTTP server

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

    Unable to start HTTP server for preview. Construct 2 can try to reconfigure your computer to allow the server to run. The server is currently set to run on localhost The reconfiguration will be permanent and may affect other servers running on your computer (if any). Would you like Construct 2 to try and reconfigure your computer for preview?

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

    OK Cancel

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

    I am using C2 V264 on Windows 10 Pro V1809. This problem wasn't there two weeks ago and other than updating Windows I don't believe there have been any important changes to my computer.

    Construct 2 asks to fix the problem. If I run with admin privileges it says

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

    Preview HTTP server

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

    The reconfiguration appears to have been successful. Construct 2 will try to restart the HTTP server when you click OK.

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

    OK

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

    But the problem isn't actually fixed.

  • Please Close. This was a problem with the host not serving the .m4a files.

  • After some investigating it appears that only the .ogg files are playing, if I remove them then it doesn't work on Edge anymore even though edge should be able to play .m4a. It could be related to how I am hosting the exported app.

  • Sound is not working for me even in the simplest case. Construct 2 V263

    Capx link: https://1drv.ms/u/s!AjosfNFG8jCjnbpOoqepLNGYBMmMSA

    Exported link:http://mrloh.azurewebsites.net/wp-content/uploads/Apps/AudioTest/

    The linked capx is just an empty project with a sound imported from wave and converted to .ogg and .m4a at the lowest bitrate. The sound plays on touch. IT attempts to play a sound both from the Sounds and Music folders.

    Works as expected

    Windows 10: Edge, Firefox

    Does not work

    Mac OS X: Safari

    iPad 4 iOS 10.3: Safari

    iPhone 6S iOS 11.4: Safari

  • R260 removed the appcachse because "all major browsers now support Service Workers and AppCache is on the deprecation path"

    According to MDN, Safari, neither desktop nor mobile, supports service workers.

    developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API

    I found conflicting information that Safari does support service workers in 11.3 and later.

    developer.apple.com/library/archive/releasenotes/General/WhatsNewInSafari/Articles/Safari_11_1.html

    But even if that is accurate iPhone 5 and below and iPad gen4 and below are left out. That is about 13% of iOS users.

    data.apteligent.com/ios

  • Problem Description

    Regression between 257 and 257.2/3 on iOS 8. Not present on iOS 10. Construct 2 websites show a blank screen both full screen and not. The background color of index.html is showing.

    http://mrloh.azurewebsites.net/wp-conte ... ims/TestPr - Exported with r257, Works on iOS 8

    http://mrloh.azurewebsites.net/wp-conte ... ms/TestPro - Exported with 257.3 Doesn't work on iOS 8

    Attach a Capx

    default blank template will do.

    Description of Capx

    NA

    Steps to Reproduce Bug

      export blank template or anything else.

    Observed Result

    screen is black

    Expected Result

    screen in white or have whatever

    Affected Browsers

    • Safari

    Operating System and Service Pack

    iOS 8.4.1 (only tested on iPad)

    iOS 10 NOT AFFECTED

    Construct 2 Version ID

    257.2

    257.3

    257 IS NOT AFFECTED

  • Backendless V3 no longer works for free accounts.

    Until this plugin is updated for V4, it can only be used with paid accounts.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make a global variable. Add 1 to it when the images load and add 1 again when the globals are loaded. Go to layout when that variable = 2

  • Problem Description

    If you make a change in an included project file (EX a csv file) Construct 2 doesn't register a change. This wouldn't be a problem but if you then close C2 without saving it doesn't prompt to save changes. A minor bug but it would be nice to fix since I lost some work this way.

    Attach a Capx

    NA

    Description of Capx

    NA

    Steps to Reproduce Bug

    • Add a file to the project
    • change the file by opening it into an external program
    • close Construct 2

    Observed Result

    No prompt to save changes

    Expected Result

    Prompt asking to save changes.

    Affected Browsers

    NA

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    236

  • [quote:1ppftphy]You can't use Wait in a function. That puts those actions aside and keeps running, so you will have returned from the function before the parameters are accessed.

    I understand what you are saying but the manual gives no indication that the function doesn't remember the parameters during a wait. The section about the wait action specifically mentions that picked instances are remembered during the wait. Construct 2 allows the use of waits in functions and I can imagine a way that the function would work that it would remember them.

    I still consider this is a bug unless the documentation clarifies not to use waits in a function or to not expect the function to remember its parameters/local variables.

  • Problem Description

    There is a problem with passing function parameters recursively with arithmetic. I suspect it is a type problem but it isn't solved using int() or str().

    Attach a Capx

    https://1drv.ms/u/s!AjosfNFG8jCjmOQsrzbXcG6GDcnkfA

    Description of Capx

    The capx has a simple function that shows the it's param value on a text, waits, and then recurses adding 1 to it's param. It doesn't work. It should show 0, 1, 2, 3... instead it shoes 0, 1, 1, 1, 1

    There is another version that stores it's param value as a global and then passes the global instead of the param directly. That one works fine.

    Steps to Reproduce Bug

    • The functions run automatically at start.

    Observed Result

    It should show 0, 1, 2, 3...

    Expected Result

    instead it shoes 0, 1, 1, 1, 1...

    Affected Browsers

    • Chrome: ?
    • FireFox: YES
    • Internet Explorer: YES
    • Edge: YES

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    233

  • Problem Description

    The official manual is missing the Condition for Array "Compare Size". I checking what is 0 indexed and what is 1 indexed with arrays and I noticed that compare size isn't there at all. It is important because which axis is which is confusing because of the way the debug mode displays Arrays.

    Attach a Capx

    N/A

    Description of Capx

    N/A

    Steps to Reproduce Bug

    • Check the manual

    Observed Result

    N/A

    Expected Result

    N/A

    Affected Browsers

    • N/A

    Operating System and Service Pack

    N/A

    Construct 2 Version ID

    N/A