Pakost's Forum Posts

  • Well that makes a lot of sence, cheers.

    Now will have to walk over my code for some optimisations.

  • Not sure what is the difference in computing it....

    the actual effect I get is the same both ways - for each of the sprites i got the pair selected and can interact with it.

  • Hi guys

    I have discovered that different way of picking objects gives quite different performance results

    I have 2 objects, in local variable of one i store the UID of the other

    Then i want to pick them together, every pair by itself, and here's 2 ways i can do it:

    When i multiply the pairs a bit i got drastical difference in FPS

    with Group1 I pick the second object by UID and got 60fps

    with Group2 I pich the second object by Local Variable and got 10fps

    Can anyone explain why is that?

    Thanks

  • tumira

    Well i removed the second animation, and created another sprite with it

  • Ok cool

    I got it worked around anyways

    Again thanks for everybody's attention

  • And now I know whats wrong with the Mask Sprite

    Apparently if that mask has more than 1 animation, It bugs. Looks to me like a bug Ashley

  • Well in the end I managed to make it work. If anyone else is experiencing this I found that the Sprite with the mask is bugged somehow, because if I delete it and make another with the same effects and blending modes, it works.

    Thanks a lot guys for your help.

  • Yes Aphrodite I tried installing that too, nothing changed.

  • Yes, you are right. Just tested it and if I remove the multiply effect it gets ok. But I need it to be with Multiply, because of the slight contour it makes.

    What puzzles me is if I create the same situation in another project, even with multiply, it works fine...

  • jobel As I installed Construct2 192 build it asked from me to install Node-Webkit v0.11.0, which i believe is the last node version. Before that I was using 187, with I don't know what version of node, and the problem was the same.

    Furthermore, if i make the same setup in new project in construct2, i got it working allright even when exported, but this particular project gives that bug.

    And the problem is not only the stretching op the texture. Its getting weird. Here is another comparison screenshots

  • spongehammer Previewing in both Node and Chrome it looks allright, but when exporting to Node, and apparently as i just tried exporting to HTML5 Website, it looks broken. It doesn't look stretched as the screenshots at the first post but super low rez and kinda bugged.

    Here is what i got exporting to HTML5

    https://dl.dropboxusercontent.com/u/190 ... index.html

    Do you guys see this normally?

    And Ashley yes, my video drivers are up to date, 18.11.2014.

  • I updated to Construct version 192 and for Node-Webkit export it wanned to install newer Node-Webkit. I believe node version is 0.11 for Construct 2.

    With 187 build of Construct and the previous Node i got similar results.

    Here is a link to what i got when exporting to Node (its 20mb file)

    https://dl.dropboxusercontent.com/u/19082408/win32.rar

  • Well, the same problem happens at my home and at my work PCs. Both are with up to date video drivers.

    It only happens when exporting the project to Node-Webkit, not just previewing it.

    Not sure at work, but here at home i got NVidia GTX 560.

    Sometimes the ground texture is not stretched, but just looks very low rez, nothing like how it looks at Chrome.

    Can anyone confirm that Exporting to Node-Webkit gives that bug?

    Btw 7Soul I made it like this because of texture resolution. I got 2 tilable backgrounds and low rez mask, so i got better resolution for lower texture size.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Really a great game!

    Keep up the good work mate

  • Hi guys

    I'm having two backgrounds, grass and ground, and 1 sprite, which i use for masking between them.

    It looks great when I run the layout in Chrome. But when I export it to Node-Webkit I got this problem

    What is more bizarre is when I do the same setup in a new Construct2 project this problem do not exist. I've compared the 2 projects but there seems to be no difference.

    Here is a link to the problem capx

    https://dl.dropboxusercontent.com/u/19082408/Roads.capx

    Any help is apreciated