wertandrew's Recent Forum Activity

  • Since last time I posted, I got a new PC. It still happens on new PC as mentioned before and it also happened on a new project too. The temporary fixes are to turn preview effects off and if that doesn't work to turn force texture ON in layers. It is the only issue that is very obvious to every project I work in C2.

  • Very interesting. So spacedoubt you think the spritefont might be causing this? Never thought of that. The reason I think it was related to the 9-patch is because the issue originally arose when I started adding 9-patches into my big project and it was obvious that something started to look wrong. Also in some cases it was dead obvious as as soon as I dragged a 9-patch into a layout, it would make other sprites disappear.

    Btw Johncw87 we observed that 3D weirdness you mentioned on the other thread in our big C2 project. If you zoom in, objects are stretched accordingly to the zoom amount, its midly annoying because for us it happens on our placeholder layout and we cant select things easily without playing with the camera first. Not sure if its the same issue though, but it could be.

  • Tried the 9-patch demo, no problems for my laptop's sake...

    wertandrew - Have you occur this kind of bug before you upgraded to r239? Is it occurred before you upgrade your graphics driver?

    Yeah, I had this on the previous version r230 too and with old graphic drivers.

  • It happens again... Restarting isn't the solution...

    But I've found my problem and solved it, my missing sprites have the Exposure effect (for animation-less hovering effect, I used scaling instead...). I've set it to 0, probably that's the reason that the sprites are missing (probably my GPU just crazy...). I solved the invisible sprites by removing the effect as it isn't necessary...

    wertandrew - Do your sprites have effects?

    It happens to sprites with/without effects. In both projects, it started happening when I cloned a 9-patch using Ctrl. In a new project, it does not happen. I am totally confused what is the reason of this. I have a Nvidia GTX 770 and my graphics drivers are up to date.

    I can repro the issue anytime with any machine. Ashley are you sure you didn't miss the invisible objects in the layout of the attached file? You have to open the z-order window and you ll see that there are more sprites than what you see in the layout. Also, try moving using the middle mouse button around the layout, that should cause the issue. For example, I get this when I am zoomed close:

    and then when i zoom out I get this:

    EDIT: Here is a video of the issue: https://1drv.ms/u/s!AkG5n8_vobVPg486cbe_1_ZGxumU6Q

  • Ashley - Thanks for the closure.

    After I restart my laptop, the bug vanishes. Thanks for letting us know.

    wertandrew - Does your problem gone once you restart your PC?

    The problem doesn't go away with restart. Also I have the issues in 4 different machines (win8.1 &win 10), with different graphic drivers. Lastly, the issue appears in 2 different projects that have nothing to do with each other. Will come back with more info, I ll have my team investigate the code.

    EDIT: also forgot to say, it seems that z-order causes the visual problems, I could re-arrange an affected object or change it layer and sometimes the issue will go away. Still needs investigation though. Will come back with more.

  • Problem Description

    This bug causes objects to become invisible or be re-positioned wrongly in layout view (only affects editor view). The issue is affected by the zoom level inside the layout view, by zooming in some elements will toggle visibility. I 've encountered the bug in two different projects, however I cannot reproduce in an empty project. Our assumption was that the bug is caused by adding 9-patches and by having a large amount of other objects in the project. This issue interrupts my creation process and I have to rely on dirty work-arounds to make it work (like using fixed scale sprites of the 9-patches so that it doesn't trigger, or remove the 9-patches until the layout is ready to be played).

    Attach a Capx

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

    Description of Capx

    Contains one layout in which the issue happens. Open the project and zoom in; you will start to lose objects. You can also copy the little box in the middle using ctrl, and that will re-position both in the bottom right (the graphic only, the bounding-boxes will stay where they were). Z-order window shows how many objects actually exist in layout, works as a reference.

    Steps to Reproduce Bug

    • Open project
    • Check number of objects in z-order window, then check what is shown in layout view.
    • Press Ctrl + scroll wheel to zoom in.

    Observed Result

    Some sprites will disappear from view. Others may be repositioned wrongly (only the graphic).

    Expected Result

    Sprites to remain visible and have their position not to be affected by this issue.

    Affected Browsers

      Editor only, no browsers are affected.

    Operating System and Service Pack

    Win 8.1

    Construct 2 Version ID

    R239 64bit

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We don't normally accept full projects in bug reports as per the bug report guidelines. You should try to find a way to reproduce it in a new project.

    Seems fair. Anyhow, managed to find the issue, repro and narrow it down as much as possible. Made another thread about it, hope this helps:

  • Problem Description

    Some 9-patches cause other sprites to start disappearing. This does not happen in a new project. Specific 9-patches cause this, and it affects other layouts too (as long as the focus of the viewport contains the 9-sprite that causes the issue, all layouts with 9-patches are affected).

    Attach a Capx

    https://1drv.ms/f/s!AkG5n8_vobVPgfBEaeFY3KcZ4qoicw

    Description of Capx

    Contains 3 layouts, layout labeled 2-1 causes the bug (more specifically the ice on the sign), and layout 1-3 shows what the issue does.

    Steps to Reproduce Bug

    • Load the project
    • Go to layout 2-1 and set viewport as shown in the picture.
    • Zoom in and out and slightly move the viewport until the green tiles on the wooden platforms become invisible (I use middle mouse button to move around and mouse scroll wheel to zoom):
    • Layout 1-3 should now have around 100+ sprites missing.
    • To validate this is an editor visual issue, press play while you have 1-3 selected. All sprites load fine.

    Observed Result

    Sprites become invisible in layout viewport while in editor.

    Expected Result

    All sprites to appear properly while in editor.

    Affected Browsers

    N/A

    Operating System and Service Pack

    Tested on win 8.1 and win 10

    Construct 2 Version ID

    r227

    Additional Info

    -Saving the project only with 1-3 as the active layout and then restarting C2 will not cause the issue.

    -Placeholder layout also causes a distortion to all sprites, again based on position of viewport. Not sure if this is the same bug. Repeat step 3 from list above until distortion happens. This is what the distortion looks like (text is normally parallel to screen edges)

  • Ashley I understand. I tried to remove the content so I can narrow down the bug, but it looks like it does no longer show after I remove other layouts, which is strange. I cannot link in public the full project, is there an email I can send the .capx? I will include a repro list too. Thanks

  • Problem Description

    When adding 9-patches in a layout, other sprites start disappearing. Restarting C2 fixes the issue, but in some instances the issue is observed after restarting. The game is not affected when pressing play, but it makes it hard to do level design if tiled backgrounds and sprites start to become invisible. Each layout in my game contains around 500-1000 sprites. The issue is observed using different sprites and 9-patches, so it is not a unique scenario. Sprites in the project use animation frames for variety in textures rather than being individual objects. The visual glitches first appeared when I added my first 9-patch in my project, so I am 100% it is them (also they appear in layouts when 9-patches are used). I tried to repro the issue in a new project but I couldn't.

    Attach a Capx

    This is an editor issue and I cant provide a .capx as my project is >150mb

    Steps to Reproduce Bug

      Couldn't reproduce.

    Observed Result

    Other sprites and tiled background disappear, often affected by screen position and zoom inside the editor (moving the camera often makes them appear again)

    Expected Result

    Nothing disappears from the layout.

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    r227

    As seen above, the textures of the sprites disappear. The moment I delete the 9-patch in view (not seen in picture), they instantly re-appear.

    With 9-patch in view (ice on sign). Some sprites are not showing.

    Without 9-patch in view (shows all sprites)

  • You compare the value to its old value set in the variable

    Less than, greater than, etc.

    There's also other system comparisons like is between.

    Is between min & max- do nothing

    Else, do foo

    Yes, this is the way I do things too, I store a value into a variable and then check it in later ticks. However, imagine if that was a pre-build condition and you didn't need to populate your project with unnecessary variables. You could then say Mouse.AbsoluteX NOT changed, Set cursor to None, and that would be just one line of code.

    Regarding timer behavior, its cool but it looks complex for what it should do, so complex that I would rather use a variable and decrement it every tick instead of it. "Wait" is a good alternative for timed events, but sometimes you may need to break the sequence and "wait" will run no matter what. So a mixture of both is needed, something that is easy, fast and flexible.

  • Hi all,

    Below is a list of the things that are missing from C2 event system, this could be considered as a suggestion list for C3.

    -Duration and Countdown Timers as conditions: Having a condition "After X seconds" (Countdown Timer - runs constantly after specified time) or "For X seconds" (Duration Timer - runs while the timer is below the specified number of seconds, after that it stops executing) would make things a lot more easier. These two will stop counting if the parent is no longer active (in contract with the "wait" command).

    -"Replace" command (key R) doesn't work for all behaviors, mainly "Pin".

    -"Is changed", "Is incrementing" and "Is decrementing" are three conditions that are time-savers for a lot of things. Would be cool to have them. They check the change of a specified variable / tick elapsed. They only run once per activation (meaning if a number is incremented 4 times in 4 ticks, they will run 4 times - can't run more than once per tick).

    -Audio time markers. Setting them on music tracks and calling events when the marker is played (useful for precise audio timing)

    Let me know what you think or if you want to add something.

    EDIT: Also forgot about vectors variables. It would easier and faster to have vector variables to store values instead of defining X and Y separately. Some vector functions would be cool too, like random cone, random circle, normal, etc.

wertandrew's avatar

wertandrew

Member since 26 Mar, 2016

None one is following wertandrew yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies