Issues with large sprites/tiled background

0 favourites
  • 11 posts
From the Asset Store
40 Seamless textures for tile backgrounds. High resolution 1024x1024!
  • Ok.

    This has been driving me nuts for a long time now, so I figured I'd have to ask eventually.

    <img src="http://img405.imageshack.us/img405/5332/issuem.png" border="0" />

    As you can see, the handle (blue horizontal line) extends way past the sprite. While this isn't an issue for the background itself (it's still displayed properly), every item (be it sprite or button) placed on top shows up in the wrong place.

    If I change the sprite to a tiled background, the image will not be displayed properly. It will be either too small or will extend past the visible canvas.

    I've already tried everything I could come up with. This includes weird resizing methods alongside the placement of various different origins.

    I really hope this is something trivial and easy to fix, as investigating this has already cost me more time than conventional software development methods.

    In fact, I've finished a small side project (a 3D cube featuring a dynamic calendar, video player and weather report, done in PHP with some help of CSS transforms) in 2 hours less than it took me to accurately place two sprites on top of each other inside Construct 2.

    PS: The resolution for layouts, the background sprite and the whole project itself is identical (1440x900).

  • Blinx123 post a capx and I'll happily take a look.

  • Here you go:

    docs.google.com/file/d/0B4HbmIw0kk7Fcl85c25WOWtJa1k/edit

    Awesome game you got there, btw.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks :)

    It looks fine for me here:

    <img src="http://i.imgur.com/Iio6n8z.jpg" border="0" />

    This would lead me to suspect it's a graphics driver issue. Try installing the latest drivers for your GPU straight from the manufacturers website.

    Hopefully this helps.

  • Was Fine here too,I even changed them both to tiled backgrounds and everything was,as should be...looks like graphics card drivers as thehen says...

  • I have the same problem as you have.

    <img src="http://i48.tinypic.com/nwx8uv.png" border="0" />

    This has been happening to me ever since I upgraded to Windows 8 back in October. I made a bug report but Ashley said it was probably a driver issue. I update my drivers once a week if updates are available, and I also email my drivers vendor weekly about this but still no fix.

    I try not to use large sprites anymore, and if I need something large I slice it up into smaller images, and use snap to grid to piece it together. This is a little time consuming but it works.

  • Thanks :)

    It looks fine for me here:

    <img src="http://i.imgur.com/Iio6n8z.jpg" border="0" />

    This would lead me to suspect it's a graphics driver issue. Try installing the latest drivers for your GPU straight from the manufacturers website.

    Hopefully this helps.

    Hm. That sure is weird.

    Perhaps it's due to the lack of real graphics drivers (I once ported drivers for my super old GPU over to Windows 7 but lost them during a hard disk crash and didn't get around coding new ones yet).

    Will investigate further and perhaps install Construct 2 on my workstation tonight.

  • I get the same problem with large (i.e. > 1024px) sprites, also on Windows 8. I assumed this was a Construct limitation so have been chopping them up as Wink describes - didn't occur to me that it might be a driver issue!

  • Just came back here to point out you guys were correct.

    When I finally replaced the standard Microsoft provided WDDM driver with an ATI one, the issue vanished immediately.

    Wish I had done this earlier. Contrary to what I remembered, porting the display driver to Windows 7 x64 (AMD/ATI dropped the driver support for my laptop's GPU even before Vista SP1, unfortunately) was a breeze and took less than an hour.

  • If you plan on getting rid of that extra blue box next to your image, Open your image in Image Editor, and simply press the Crop button... It's that simple.

  • If you plan on getting rid of that extra blue box next to your image, Open your image in Image Editor, and simply press the Crop button... It's that simple.

    It actually wasn't "that" simple.

    The extra blue box wasn't physically there, you see.

    It was rather a graphical glitch that manifested itself in this weird blue box and, some times, extremely off coordinates.

    Anyways. I got rid of this ages ago, hacking some AMD drivers.

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