0 Favourites

Node output different to node preview

  • There are some annoying issues with the output on a project exported to node-webkit compared with the previewed output from within C2.

    The main one for me is the colour bleed of stretched sprites. In the preview they look fine, but the actual output is poor. What does C2 do in the export it doesnt do in the preview ?

    I have no compression on exported images either so it cant be that.

  • Hey spongehammer I've never noticed that in any of my exports/previews, could you post images of that colour bleeds? Maybe I'm not paying attention to my exports after all..

  • I've noticed this too. It's a chrome issue I think. It's pretty annoying.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • It's probably a side-effect of spritesheeting on export, which would happen with any exporter, not just node-webkit.

  • I have figured out what causes it and how to mitigate the problem, at least in my case.

    I have a sprite which has 6 frames, each one a different solid colour. They happen to be 256x 256

    The first frame is blue, second green, third red etc.

    I place a sprite and resize it for my needs and set the frame to 0 (blue). When i preview its fine but on export i see the edges of the sprite go from blue to green. Changing the frame to green the edges fade to red and so on.

    The way i have found to stop this is basically to double the number of frames. So 2 x blue, 2 x green, 2 x red etc. Then by using frames 0,2,4 it stops the colour bleed.

    Hope this makes sense and is of some help.

  • I have figured out what causes it and how to mitigate the problem, at least in my case.

    I have a sprite which has 6 frames, each one a different solid colour. They happen to be 256x 256

    The first frame is blue, second green, third red etc.

    I place a sprite and resize it for my needs and set the frame to 0 (blue). When i preview its fine but on export i see the edges of the sprite go from blue to green. Changing the frame to green the edges fade to red and so on.

    The way i have found to stop this is basically to double the number of frames. So 2 x blue, 2 x green, 2 x red etc. Then by using frames 0,2,4 it stops the colour bleed.

    Hope this makes sense and is of some help.

    If you add one transparent pixel of border all around each frame, does the problem still occurs?

  • Aphrodite

    Yes i have tried that and it makes no difference.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
120 23,033
CactusCartwright's avatar
CactusCartwright
Unread hot topic
98 7,597
norum82's avatar
norum82
Unread hot topic
92 11,974
SgtConti's avatar
SgtConti