Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Is there a bug with Atlas textures?

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 12th Dec 2015 11:15 Edited at: 12th Dec 2015 11:23
It seems that the first two image IDs of an Atlas texture are the same.
Or is it just me doing something stupid?

This is the subimage file I'm using:


And this is the test code:


The code simply extracts the sub images (any image will do) and displays a list of the image IDs assigned to it.

The results of the test are:
10002
10002
10003
10004

As you can see, the first two are the same but what happened to 10001?

I'm using 2.0.14b
AGK V2 user - Tier 1 (mostly)
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 12th Dec 2015 17:23
I can't replicate this on my current version, it may have been fixed in 2.0.15, or in the next version. 10001 would be the original atlas image, so the missing value in this case is 10005
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 12th Dec 2015 18:50
Thanks for the input Paul.
It sounds like it is fixed in a later version so I'll just pop in a workaround for now.
I'm scared of updating until my current project is fixed.

AGK V2 user - Tier 1 (mostly)

Login to post a reply

Server time is: 2024-11-17 00:58:28
Your offset time is: 2024-11-17 00:58:28