HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 GUIMat Question

View previous topic View next topic Go down 
AuthorMessage
Jayx

avatar

Game username : Jayx
Server : Royal Elements
Female Posts : 340
Join date : 2012-03-19
Age : 19

PostSubject: GUIMat Question   Wed Jan 27, 2016 3:59 pm

Apologies for all the questions, I wasn't entirely sure where to post this either, and I tried using the search button (and I even used CTRL+F on different pages of the forum just in case). Please move this to the proper section if it's in the wrong area!

I am just trying to figure out 2 things,

1. One of the textures seems to be not moving while the button's size is decreased and it creates sort of an x image when the button is the smallest. (screenshot provided at the way way bottom)

2. Is there a way to slow down the zooming in and out and to decrease how much it zooms in and out? And how would I go about doing that?

Current Code:

Code:

material GUIMat/ButtonOver
{
 technique
 {
 pass
 {
 lighting off
 scene_blend alpha_blend
 depth_check off

 texture_unit
 {
 texture buttonOver.png
 tex_address_mode clamp
 rotate_anim -0.1
 wave_xform scale_x sine 0.5 1 0 0.5
 wave_xform scale_y sine 0.5 1 0 0.5
 }
 }
 }
}

I had added this part:
Code:

 tex_address_mode clamp
 rotate_anim -0.1
 wave_xform scale_x sine 0.5 1 0 0.5
 wave_xform scale_y sine 0.5 1 0 0.5

Screenshot for issue #1:

was there something I forgot to put the code on to make it not zoom as well?
Back to top Go down
Jayx

avatar

Game username : Jayx
Server : Royal Elements
Female Posts : 340
Join date : 2012-03-19
Age : 19

PostSubject: Re: GUIMat Question   Thu Feb 04, 2016 12:02 am

Bumping this..
Back to top Go down
 
GUIMat Question
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: