Tiled background image doesn't display

0 favourites
  • 7 posts
From the Asset Store
40 ambient sound loops. A wide selection of looping ambient sounds for different locations.
  • Problem Description

    Tiled background images do not display. I tried creating the Ghost Shooter tutorial and quickly ran into a problem where I could not display the tutorial background.

    I've seen the post where you are blaming this kind of problem on the display driver. However, I actually tried 2 different graphics cards on the same system and had exactly the same problem. The problem happened with an A6-7400k (Radeon R5) AND an NVIDA Quadro 2000, both with the latest drivers available. Because the problem manifests itself in exactly the same way (i.e drawing tiled backgrounds) on two different graphics cards I find it hard to believe it is the display driver.

    I've attached the output from dxdiag showing my system information.

    Steps to Reproduce Bug

      Insert new object Choose tiled background Select image Image does not display in image editor unless I force a redraw of the window (.e.g. resize the window) After closing the image editor, the tiled image does not display

    Observed Result

    Unable to display tiled background.

    Expected Result

    Display tiled background. This works fine on other machines.

    Operating System and Service Pack

    Windows 7 x64, sp1

    Construct 2 Version ID

    Release 178 (64 bit)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • candersrf we can't exactly see what is wrong without that capx now can we

  • Can't reproduce, works fine here. If this really was a C2 bug I'm sure we'd be inundated with reports since it involves such a common feature, but this is the only report we have so far. Graphics drivers are such a disaster (see our blog archives) that it would not surprise me at all if both systems you tried had buggy drivers. Given that I assume it's working correctly for the vast majority of our users, I would say our code is correct. Not sure what we can do about this, we could work for days and not find a workaround.

  • Well, obviously it is a problem. I doubt you could blame this on the graphics driver since it happens with 2 -different graphics cards from 2 vendors (AMD and Nvidia). I've attached the capx file per the comment. I will not be using your product because of this bug.

  • In your capx. There's nothing there. The TiledBG is empty. That's why you can't see it. Draw in a BG and it works fine.

  • Ok, well I found out more about the bug,including how to work around it. So I think we can safely say it's not a driver issue. Here are the steps to reproduce the bug and to workaround the issue:

    Select "Insert New Object"

    Choose "Tiled Background" from the "Insert New Object" dialog

    Select a location for the TiledBG

    • - the Edit Image dialog is displayed --

    I attempt to load an image from an existing file (i.e. click on the folder icon)

    Bug : The image is not displayed on in the Edit Image dialog AND if I close the window an empty background frame is displayed in the layout

    Workaround : However, if I choose the "pencil" icon and click anywhere on the window the image that I had attempted to load from a file magically displays AND when I close the window it shows in the layout. It's as if the dialog had an issue loading/rendering the image but when the pencil tool was used it was able to render the image AND mark the background as being changed (i.e. set a dirty flag). If I don't click on the screen with the pencil tool enabled the image is not displayed when I close the Edit Image dialog and return to the layout view.

  • Problem FIXED:

    I believe the member was using the Tilemap as opposed to using the Tile-Background.

    If the Tilemap is selected and the Image (is imported to the Editor) the Image will not appear on the Viewport. The only way to get The Tilemap to appear (0n the Viewport) is to use the Pencil Tool (via the Tilemap Bar) to point and click on the Viewport. Then and only then, will the Tilemap appear on the Viewport. Please denote, when using the Pencil Tool, it will just place one Block (of the Image) at a time on the Viewport (Not the entire Image).

    However, if the Tile-Background is selected and a image is inserted into the Editor. The Tile-Background Image will appear on the Viewport.

    I hope this works for anyone that is Stuck like I was.

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