bolosaur's Recent Forum Activity

  • Yes, it's understood that bugs don't necessarily affect everybody.

  • Hi,

    Whenever I load audio into any Construct 2 project and try to preload it via events, and then do a check to see if all audio has been preloaded, it won't work as expected on my one Android phone (Samsung Galaxy Core Plus).

    The audio preload check always passes as true, but as soon as the first sample plays the whole thing stops as the device starts downloading the sample(s?). In addition to this, the volume is always EXTREMELY low - probably 10% of what you'd expect - despite the fact that all audio sliders are set to max (and despite the fact that all other applications play back audio at satisfactory levels).

    Any ideas?

  • Ok, it doesn't work on Android either. The event passes as true, but it doesn't actually preload when told to via events.

  • So I've tried preloading sounds through the event editor (having imported the sounds correctly, including m4a versions) and it seems that the audio preload completion event doesn't trigger at all on iOS, regardless of browser.

    Is there a way to make it work without enabling "Preload sounds" in the project settings (and thus forcing people to watch the ugly loader)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    For as long as I can remember the Preview function of Construct 2 has been very glitchy. In my experience it'll only react to you clicking on the preview button 1 time out of 5, and in 90% of cases it opens a new game tab instead of updating the already existing one.

    Sometimes it opens the wrong browser - especially if you have preview tabs already open in multiple browsers - and sometimes you have to frantically spam F5 or the preview button in order to get the preview to launch at all.

    Attach a Capx

    None needed.

    Description of Capx

    None.

    Steps to Reproduce Bug

    • Download Construct 2 on Windows 7 or 8 64-bit.
    • Start a new project - or even better - open an already existing one.
    • Run preview by clicking on the preview button.

    Observed Result

    Preview doesn't launch properly and when it does run at all, focus is rarely switched over to the browser.

    Expected Result

    For preview to launch immediately upon pressing F5 or the preview button, and for window focus to switch over from Construct 2 to the browser tab where the preview is running, whether it's a new tab or an already existing one.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Windows 8.1 64-bit, Windows 7 Ultimate 64-bit. All possible updates installed.

    Construct 2 Version ID

    200, but I have experienced this problem for as long as I can remember.

  • Hello,

    I've been having immense problems with the gamepad object ever since I started using it.

    Here are the issues I've discovered:

    • Different browsers will detect gamepad devices completely differently, and in extremely buggy ways. Sometimes Chrome will detect every single USB device that is plugged in, while Firefox will detect the gamepads as intended.
    • Different browsers have different device names for the same devices.
    • Sometimes browsers won't detect anything at all, and sometimes they will load a bunch of empty "gamepads" which have no gamepadID at all.
    • The Gamepad object has no reliable way of targeting gamepads by unique identifiers.
    • Gamepads of the same model will have the exact same gamepadID, which makes it harder to target gamepads uniquely - especially if gamepads are removed and then plugged back in again (which changes the device order).

    Has anyone else had trouble doing anything useful with the gamepad object?

  • Thanks for the response.

    It's great to see that you're doing something about this, but unfortunately I'm coding a rigid engine for a future commercial project, and first and foremost I'd like to try to understand exactly what the issue is here before I decide to move on to third party solutions.

    Do you have any insights into exactly what isn't working with the Construct 2 Array?

  • Hi,

    I've been using Construct 2 for several years now, but this week I had to deal with the Array object for the first time.

    For some reason, I can't seem to get it to work right. Despite having experience with arrays from several programming languages, I can't seem to do so much as get a simple 3D array up and running without getting strange results or even complete browser freezes.

    I've asked around on IRC and even made a topic containing an example but haven't had much luck getting a response.

    I guess my question is, is the Construct 2 Array object working as it should, allowing you to insert values and iterate through it as you normally would in other languages? Or are there known issues?

    You can check out the above mentioned topic for a specific example.

    Any comments?

  • The manual does warn: [quote:3gzohxnx]The actions in the Manipulation category (e.g. Push, Pop) allow one-dimensional arrays to be used like other data structures. (These actions work with multidimensional arrays, but are intended for the one-dimensional case.)

    I wouldn't use the push/insert operations on a multi-dimensional array. This example just sets them explicitly. You may want to use a dictionary, to index by name.

    Yeah but I need to create complex hierarchies of data and contain it all within one JSON file. The Dictionary really isn't ideal for that.

    The way I'm reading it the manual states that push and pop does work with multidimensional arrays, so I fail to see what the issue is.

  • Hi,

    I consider myself a fairly advanced Construct 2 coder and have spent the past week programming some fairly advanced functions, yet for some reason I can't get arrays to work right even after reading the documentation. I spent all morning trying to set up a 6x2x1 array, and it just won't come out right.

    Can somebody take a look at my capx and tell me what I'm doing wrong?

    https://dl.dropboxusercontent.com/u/317 ... ytest.capx

    Much appreciated!

  • Anyone else experiencing problems with using lens effects based on white-colored sprites?

  • Hello,

    I have two layers; "main" and "overlay."

    "main" is scaled 200, but "overlay" isn't.

    I created an event that sets a ball sprite's position to "touch.x" and "touch.y" on touch, but for some reason the ball's position is drawn to the center of the screen.

    Even if I try touch.absolutex and touch.absolutey, it still doesn't work right

    Why is this broken? I really need this function.

bolosaur's avatar

bolosaur

Member since 12 Feb, 2012

None one is following bolosaur yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies