Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ishmael on Mon 03/11/2003 05:54:02

Title: What's sprite 23 gotta do with my GUI buttons?
Post by: Ishmael on Mon 03/11/2003 05:54:02
Sorry, me again, with my silly topic title, but:

Occasionally, when I do something with AGS (in version 2.55 at least, didn't notice anything about this in the changes to 2.56), like yesterday, I imported a load of sprites (with tiled import) and set them to a view (the main character, yes, I got it done :P), and when I tested the game, one of my GUI buttons, object 0 on GUI 1 (I think, I'm not on my own computer now), had got a background sprite, allthough it didn't have one originally.

Meaing, it looked really odd in the game, and when I returned to the GUI editor and selected the button, I noticed it had somehow got background sprite, number 23, which was one of the new sprites I had imported. There were two other same kind of buttons on the GUI, objects 1 and 2, they were not changed.

This also happens sometimes when I turn a GUI to text window. All the eight buttons are set to sprite 23, if one exists.
Title: Re:What's sprite 23 gotta do with my GUI buttons?
Post by: Timosity on Mon 03/11/2003 06:13:50
Quote from: TK on Mon 03/11/2003 05:54:02
This also happens sometimes when I turn a GUI to text window. All the eight buttons are set to sprite 23, if one exists.

This has happened everytime I've made a gui a text window (since 2.4), but I've never really thought about it as I change the sprite anyway. But I think it must have something to do with Michael Jordan [#23] (maybe AGS is secretly sponsered by Nike)
Title: Re:What's sprite 23 gotta do with my GUI buttons?
Post by: Isegrim on Mon 03/11/2003 11:31:58
Don't you know that 23 is the sign of the world-dominating Illuminati?

Hail Eris!

P.S. Sorry for wasting bandwith...  ;)
Title: Re:What's sprite 23 gotta do with my GUI buttons?
Post by: Ishmael on Mon 03/11/2003 12:20:26
Quote(maybe AGS is secretly sponsered by Nike)
Could be... I never thought about that... :P
Title: Re:What's sprite 23 gotta do with my GUI buttons?
Post by: Pumaman on Mon 03/11/2003 21:30:02
Hmm good question, why does making something a text window change all the sprites to 23 ... erm, well, there's a highly complicated and technical solution which you wouldn't understand :P

I'll get it changed for the next version.