The Daily Click ::. Forums ::. Klik Coding Help ::. Object Scale Adjustment.
 

Post Reply  Post Oekaki 
 

Posted By Message

-Dark Martin-

The dark is most certainly not your friend

Registered
  05/06/2008
Points
  21

Has Donated, Thank You!KlikCast StarSonic SpeedWii Owner360 Owner
9th October, 2009 at 13:19:40 -

Kinda confused about scaling objects; when i try and make an object shrink beyond its normal size it just dissapears; so then i try having it shrink by 0.1 and it still just vanishes.

http://i50.photobucket.com/albums/f315/Martin_Bodger/Untitled.jpg

Any suggestions

I just want the object t slow vanish as if its flying of into the distance.

Edited by -Dark Martin-

 
<a href="http://s50.photobucket.com/albums/f315/Martin_Bodger/?action=view¤t=signature_stripcopy.png" target="_blank">Image

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
9th October, 2009 at 14:07:41 -

Try Set Scale to XScale of Object * 0.9. If you want it to be more gradual try 0.99 or 0.95 and if you want it to be faster try 0.8, etc.

 

  		
  		

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
9th October, 2009 at 14:41:18 -

Yeah, that code says -0.1, and you can't have a negative scale. -0.1 is not the same as what OldManClayton said, which is XScale-0.1, so yeah.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

nim



Registered
  17/05/2002
Points
  7233
9th October, 2009 at 15:08:20 -


Originally Posted by -Excalibur Martin-
Kinda confused about scaling objects



Here's how it works:

1 is actual size. 2 is double size. 0.5 is half size.

I do wish we could "set width" and "set height" BY PIXELS. There's an extension that does this I believe.
Hope this helps.



 
//

0ko



Registered
  11/01/2009
Points
  318
9th October, 2009 at 22:19:39 -

Well instead of negative one, try making it relative to the object :

XScale( "Active object 5" )-0.01

Try it!

Edit: looks like it's already been solved, I should read the previous posts more often.

Edited by 0ko

 
n/a
   

Post Reply



 



Advertisement

Worth A Click