Prominent's Recent Forum Activity

  • Also found another issue.. Fill canvas with color doesn't use correct hotspot location (possibly other actions don't as well?). If I have hotspot of canvas set to center, I need to use bboxleft for X and bboxtop for Y origin point of canvas instead of the actual X,Y coordinate of the canvas object.

    Just mentioning it in-case it isn't known.

  • I know there was talk of being able to use spritesheets in editor and create animations by referencing the spritesheet instead of splitting it up into separate frames/images, etc. I hope that kind of feature gets implemented, because it would make editing sprites a lot easier if I only had to work with one image instead of reimporting every frame.

  • point sampling should do it. Are you using any effects? can you provide a screenshot of the issue, or capx showing the problem? What browser/version are you testing it in?

  • Yes you can

  • They don't. It's all packaged together when you export. You just have to provide the files and it should run.

  • Problem Description

    okay, figured out the bug related to actions being removed in the incorrect order.

    Attach a Capx

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

    Description of Capx

    has comment describing steps to reproduce.

    Steps to Reproduce Bug

    • create any action
    • then create another action after it that has an object
    • right click and change object to another
    • Now und and see the undo incorrectly removes the first action before the second action.

    Observed Result

    first action is removed before the second action

    Expected Result

    undos should be correct

    Affected Browsers

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

    Operating System and Service Pack

    vista sp2

    Construct 2 Version ID

    r227

  • Also, should note that I have experienced this exact same issue with the actions- but haven't figured how to reproduce those cases. It might be related to this case though.

    edit: I figured out the issue with the Actions too! I filed another bug report for that one.

    edit2: seems as if the trigger step is not needed.. So this bug is exact same issue as the action bug (changing object causes undo state to mess up)

  • Problem Description

    Adding any trigger, adding a condition referencing an object, and then changing that object will cause the undo states to get messed up.

    Attach a Capx

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

    Description of Capx

    has comment with instructions to reproduce the undo error.

    Steps to Reproduce Bug

    • create 'on any animation finished' trigger (possibly any trigger will do? edit: I just checked with other triggers and same thing happens!)
    • add any condition that references an object
    • right click and change object sprite to sprite2
    • now undo all states- it will end up remove the first trigger and leaving the condition (it removes the wrong condition)

    Observed Result

    the wrong condition is undone.

    Expected Result

    undo should be in correct order.

    Affected Browsers

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

    Operating System and Service Pack

    vista sp2

    Construct 2 Version ID

    r227

  • I went and tried that, and it doesn't work. It just displays unflipped.

  • Hm.. but the issue is that it isn't clearing the paster object when that event is first. It draws the canvas to the object but the previous image isn't cleared.

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

    There's an example of the flickering.

  • I'm using canvas2d though, not webgl, and I want it to be filled with a copy of the canvas.

    What I meant is that it doesn't clear at all if it is above. It just loads the texture without clearing first.

    So for some reason I have to clear it at the very end so that it is cleared in the beginning of the next event cycle.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I managed to get the effect I wanted, but what I found weird is:

    • every tick

    + load texture from canvas

    + clear to rgba(0,0,0,0)

    If I put the clear above the load texture, then it won't clear it. Some reason it only clears if you do it last. This happens if webgl is disabled (I haven't tested with webgl enabled at all yet).

Prominent's avatar

Prominent

Member since 28 Apr, 2012

Twitter
Prominent has 9 followers

Trophy Case

  • 12-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

15/44
How to earn trophies