AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to get sprite size (https://forums.alliedmods.net/showthread.php?t=214235)

.Dare Devil. 04-24-2013 14:37

How to get sprite size
 
Hello, I need to get sprite texture dimensions somehow...
All methods is welocome.
Thanks!

Arkshine 04-24-2013 14:42

Re: How to get sprite size
 
How do you expect reading textures informations without opening file, magic ?
How do you think sprites are displayed ? You need to get informations somewhere.

Not sure if you understand really what you ask...

.Dare Devil. 04-24-2013 16:13

Re: How to get sprite size
 
Quote:

Originally Posted by Arkshine (Post 1939116)
How do you expect reading textures informations without opening file, magic ?
How do you think sprites are displayed ? You need to get informations somewhere.

Not sure if you understand really what you ask...

I did wrote my post wrong, it will be nice if someone make a stock that read spr and get size but me, i dont know anything about .spr file.
I was hoped mayby engine have store that kind of information into database so just getting that data without making such big code for reading.


All times are GMT -4. The time now is 10:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.