Issue with sprite on export

0 favourites
  • 4 posts
From the Asset Store
Pixel Sprites ala ReactorCore - Builder Hardware - Large pack of sprites!
  • Since I added some animations to a character sprite in my current project, it looks all weird (like badly resized/blurred) when I export the project, while it still looks normally crisp on preview. Here's a comparison:

    <img src="https://dl.dropboxusercontent.com/u/2306601/ikot/exportfail.png" border="0" />

    When I delete the additional animations, it looks like intended again. Readd them and it messes up. Also I can't seem to reproduce a similar result in a new project.

    The sprite itself isn't used at its original resolution, but is a bit resized to be smaller.

    Exporting as simple HTML5 website using the latest stable C2 release. I checked the exported png sprite-sheet and it appears to be proper. I'm a little puzzled right now. <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Perhaps it hasn't something to do with the png compression when you export the project? I'm not sure what else might cause something like that to happen.

  • Perhaps it hasn't something to do with the png compression when you export the project? I'm not sure what else might cause something like that to happen.

    Yes, that's what I suspected when I checked the exported png sprite-sheet. The image itself appears to be fine though, no quality loss.

    However I noticed that the whole frames of the sprite are now in one image, when before with fewer animations it was 3 separate images and the issue didn't occur.

    So maybe C2 is messing up the rendering of my resized sprites somehow when every frame is in one image. Seems like some sort of bug to me, but as I mentioned I wasnt able to reproduce it so far.

    EDIT: Nevermind, I was able to reproduce it in a new capx file, posted as a bug report.

  • I've been having this problem too when I export in NodeWebkit, it didn't look blurry when I ran it through preview, but thought it was something I was doing wrong and have been looking into it. Seems to go away if I increase the size of the window when it's exported though.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)