[R75] Sprite offset when "online"

0 favourites
  • 10 posts
From the Asset Store
Minimal Sprite Font with Stroke for Pixel Art games.
  • This is a strange behavior and it happens in Chrome and FF.

    When I preview by project (build in webserver on localhost) everything is fine and looks like that:

    <img src="http://quak.laurig.de/preview.PNG" border="0" />

    After exporting it to HTML5 and uploading it to my webserver it turns out like this:

    <img src="http://quak.laurig.de/online.PNG" border="0" />

    Bug?

  • Check your browsers zoom level. Usually if its not at exactly 100 then things seem out of place.

  • Same browser and same zoom level on both views....but I'll check again

    Seems to be totaly zoom level independent....

  • There have been a few reports of hotspots going wrong, is this something you can reproduce every time or in a new .capx?

  • yes reproducable, but what do you mean with new capx

  • Are you using the sprite 'initial index' property greater than 0 by the way?

    By "reproduce in new .capx" I meant can you start a new project and create the issue there? It's a standard way of dealing with bugs because it makes it much easier to solve. Alternatively if you can delete everything off your project which is not related to the bug and send it to me that would be helpful.

  • That's the second time around you ask something like that, and as you might have guessed, it's the same CAPX.

    Please let me in the secret, what is different from the HTML files you use for the localhost server, and the ones that get created for the export?!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Solution: Set the ORIGiN of the sprite to MIDDLE then it want get changed...

    So that's what I call BUG ....and an annoying one if you have alot of sprites that are alligned to certain spots <img src="smileys/smiley19.gif" border="0" align="middle" />

    I'll downgrade to R74 now...

  • ICH BEISS IN DIE TISCHKANNTE

    Downgrading is not possible, since R74 wont open R75 files.....now I am starting to get upset....

    And changing everies sprite origin to the middle is NOT acceptable, since life bars and so forth then need some extra coding. <img src="smileys/smiley7.gif" border="0" align="middle" />

  • Seems to be fixed in R76

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