View Issue Details

IDProjectCategoryLast Update
0007640Valley 1Graphical BugMay 8, 2012 9:56 am
Reporterzebramatt Assigned ToChris_McElligottPark  
Status closedResolutionno change required 
Product Version1.010 
Summary0007640: Resizing background textures gives inconsistent results
DescriptionI was experimenting with resizing some of the tiled (cave) background textures and resized versions appear to work fine in some situations (underground) but not in others (tutorial chunk).

I'd quite like to be able to reliably resize the tiled backgrounds (or add ones of new sizes) but it's far from essential.
TagsNo tags attached.
Internal WeightNew

Activities

Chris_McElligottPark

May 8, 2012 9:21 am

administrator   ~0023747

The background tiles will work the same everywhere; it's always the same code. I'd need some more details to know what is up, but possibly your new texture simply isn't tiling properly.

zebramatt

May 8, 2012 9:24 am

reporter   ~0023748

Hm. That's what I thought. Hold on!

zebramatt

May 8, 2012 9:51 am

reporter   ~0023753

OK, I figured out what the problem is, although I'm not sure why.

If I simply double the size of the background images, they work.

If I increase them by 125%, 150%, etc. then they don't.

The error seemingly returned is baffling too, as it refers to there not being a standard 640x640 even though the image I'm playing around with is 512x512 by default.

Chris_McElligottPark

May 8, 2012 9:55 am

administrator   ~0023754

The game only supports textures that have sides that are powers are 2 -- there's your problem. :)

640x640 is not a power of two, and therefore is going to cause constant background errors in the game.

zebramatt

May 8, 2012 9:56 am

reporter   ~0023755

Ah, of course!

Issue History

Date Modified Username Field Change
May 8, 2012 9:04 am zebramatt New Issue
May 8, 2012 9:21 am Chris_McElligottPark Note Added: 0023747
May 8, 2012 9:24 am zebramatt Note Added: 0023748
May 8, 2012 9:51 am zebramatt Note Added: 0023753
May 8, 2012 9:55 am Chris_McElligottPark Internal Weight => New
May 8, 2012 9:55 am Chris_McElligottPark Note Added: 0023754
May 8, 2012 9:55 am Chris_McElligottPark Status new => closed
May 8, 2012 9:55 am Chris_McElligottPark Assigned To => Chris_McElligottPark
May 8, 2012 9:55 am Chris_McElligottPark Resolution open => no change required
May 8, 2012 9:56 am zebramatt Note Added: 0023755
Apr 14, 2014 9:29 am Chris_McElligottPark Category Bug - Graphical Issue => Graphical Bug