Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 04/29/26 18:09
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 5,733 guests, and 39 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ukgamer, valino, juergenwue, VladMak, Geir
19210 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Automatic Texture Re-scale? #90247
09/16/06 03:33
09/16/06 03:33
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Hi everyone,

Is there a way to automatically have all blocks with an applied texture to re-size the texture to another size?

I've created a game with a few thousand blocks that have a 512x512 texture, but based on feedback, I've decided that the texture appears too big. I want the scale to be 0.75 instead of 1, as it is now. I don't want to simply shrink the texture file, as it's not very detailed as-is. Is there a way to automatically change all blocks that have this texture applied to a different scale? I'm hoping I'm not going to have to go back and change them all manually!

Thanks!

Re: Automatic Texture Re-scale? [Re: CBSection31] #90248
09/16/06 09:56
09/16/06 09:56
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
Yes, its possible. Just select your blocks or group them, then in the textures tab -> texture, right click the texture that are assigned -> settings and then change the properties you want. Finally, double click that texture again and the new properties are assigned to the selected objects.

Re: Automatic Texture Re-scale? [Re: demiGod] #90249
09/16/06 14:39
09/16/06 14:39
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Is there a way to automatically select blocks based on their textures? Because the blocks are mixed in with a bunch of blocks using other textures, as well. I don't want to alter all of those blocks, too. Thanks for your reply!

Re: Automatic Texture Re-scale? [Re: CBSection31] #90250
09/16/06 15:22
09/16/06 15:22
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
I dont thing so but maybe i am wrong. You dont need to apply the new texture size for every block, just select by groups using ctrl + left mouse click and then apply the new texture properties.
This is an example that shows how important is to implement a good level design process, like divide the level into groups and sections or classes that in the future could be possible to scope down and edit them.
I hope it helps.

Re: Automatic Texture Re-scale? [Re: demiGod] #90251
09/16/06 22:00
09/16/06 22:00
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
you can 'find&replace' texture for all blocks with help of any plain text editor. Open your wmp file and invoke 'replace' command:
reaplace what: -old texture name
replace with: -new texture name
then hit 'replace all'.

Re: Automatic Texture Re-scale? [Re: Lion_Ts] #90252
09/17/06 14:08
09/17/06 14:08
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Thank you, Lion_Ts, it worked!

demiGod - I will definitely be grouping things from now on...thank you for the tip.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1