Mimivirus's Forum Posts

  • 3 posts
  • I know this topic is old but this has been a problem for me to (in my TDS game). And i might have found the easiest solution with no solids or custom movements or anything like that:

    "Enemies" on collison with "Enemies" -> "Enemies" find path to [self.X +random(-15,15), self.Y +random(-15,15)]

    Works just fine for my game. They still overlap sometimes, but it looks MUCH better. Hope this helps.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, thanks for replies. It seems that i`ve been able to battle this issue. Didn`t do thorough testing yet though.

    What i did is i changed my color profile in photoshop to "Monitor RGB - sRGB display profile with display hardware configuration data derived from calibration". My monitor profile in Windows is "sRGB IEC*bunchofnumbers*". I also changed view setting in Photoshop to Monitor RGB aswell. The when i save for web i check the "transform to sRGB" box.

    So it was a Photoshop issue after all.

    Funny thing though, Construct 3 255,255,255 layer color is still 254,254,254 in photoshop lol.

  • Problem Description

    I noticed that when i put my photoshop made sprites into C2\C3, the color changes a little. Much worse with transparent sprites overlapping each other.

    Attach a Capx

    I guess there`s no point?

    Steps to Reproduce Bug

    Make some sprite in photoshop. Put it into C2\C3, compare color with your photoshop source.

    Observed Result

    Color is different.

    Expected Result

    Color is exactly the same.

    Affected Browsers

    • Chrome: (YES)

    Didn`t check others.

    Operating System and Service Pack

    Windows 7 SP1 64

    Construct 2 Version ID

    Latest

    Construct 3 Version ID

    Latest

    Heres an example. I used 2 sprites, one completely black and the other is really small white to transparent gradient. Put them on top each other and this is what happened:

    Notice how colors are slightly different. Basically darker in C2\C3.

    You might think, why all the fuzz? The differency is barely noticable. But the problem is - my game uses a lot of filtering layers with sprites on them having effects like color, overlay, hue etc. 1% difference +1% +1% .... and there you have a very noticable 10% difference.

    Now, i don`t know if it`s even a bug, if it`s photoshop or construct related. Maybe it`s the color profile in my photoshop, but then wich one do i use? Theres like trillion of those. All the images i did the testing with were done in RGB\16 (sRGB IEC61966-2.1 profile) saved as PNG-24 with sRGB on, interlaced off.

    There`s also this weird thing. What Construct says about layer color, and what Photoshop says, c2 seems fine, c3 is off:

    How do i deal with this?

  • 3 posts