Azenris
Member
How can I check a building vertex buffer if the texture isn't the same and a break is needed.
I was supplying a function with sprite_get_texture( _spr, _num ), and storing a global, checking if its new.
However I noticed that every sprite had a different ID. I checked with
show_debug_message( "spr="+_spr_name+" tex="+string( sprite_get_texture( _spr, _num ) ) );
Output all my sprites. Every sprite was different.
I guess I misunderstood sprite_get_texture ?
I assumed since all my sprites are on 1 texture page, it would return the same value for all my sprites.
Is there another way to test if a sprite is on the texture page of another?
TY for any help Anyway, bedtime, I'll be on tommoz !
I was supplying a function with sprite_get_texture( _spr, _num ), and storing a global, checking if its new.
However I noticed that every sprite had a different ID. I checked with
show_debug_message( "spr="+_spr_name+" tex="+string( sprite_get_texture( _spr, _num ) ) );
Output all my sprites. Every sprite was different.
I guess I misunderstood sprite_get_texture ?
I assumed since all my sprites are on 1 texture page, it would return the same value for all my sprites.
Is there another way to test if a sprite is on the texture page of another?
TY for any help Anyway, bedtime, I'll be on tommoz !