Data Realms Fan Forums
http://45.55.195.193/

NEW VARIABLE: Scale Variable
http://45.55.195.193/viewtopic.php?f=1&t=11660
Page 1 of 2

Author:  zalo [ Sun Jul 06, 2008 6:08 am ]
Post subject:  NEW VARIABLE: Scale Variable

I found this while looking at the Devlog as of July 2006.
It was in the code. I wondered if it still worked. It does.

Image

Sadly it doesn't modify the positions of the attachments or the size of them.

So a Scaled Green Clone is just a Giant Hunk of Meat with a little clone in the middle.

All I did for the Flak cannon was add
Code:
Scale = 5.0
into it.

Discuss.

Author:  I Love Gib [ Sun Jul 06, 2008 6:33 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

So... if you fired it it would launch a regular sized flak shell?

Author:  CaveCricket48 [ Sun Jul 06, 2008 6:51 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Quote:
So... if you fired it it would launch a regular sized flak shell?

Probably. Are the offsets for holding the gun changed?

Author:  Grif [ Sun Jul 06, 2008 6:55 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

I Love Gib wrote:
So... if you fired it it would launch a regular sized flak shell?


Unless the particle had Scale = 5 as well.

Author:  CaveCricket48 [ Sun Jul 06, 2008 7:00 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

I just tested. The offsets are not changed. Only the sprite.:(

Author:  Foa [ Sun Jul 06, 2008 7:21 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Easy giant actors?
And weapons

Author:  Lord Tim [ Sun Jul 06, 2008 7:39 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Limbpaths aren't affected by this. All it does is quickly resize sprites. You'd still have to change all the offsets and limbpaths and stuff.

Author:  Tea [ Sun Jul 06, 2008 9:14 am ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Interesting, what could this have been used for?

Author:  tosty [ Sun Jul 06, 2008 1:17 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Well, if you do change the limbpaths then you don't have to make giant sprite, all you have to do is make normal sized sprites.

Author:  Roy-G-Biv [ Sun Jul 06, 2008 2:01 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Ok, for actors, does this resize ALL sprites?
Or are you going to have to put the variable in different limb codes?

Author:  The Fat Sand Rat [ Sun Jul 06, 2008 4:31 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Glows and explosions, I guess. Have a 24x24 glow gib into the same thing with scale = 2 gib into the same thing with scale = 4 etc.
With glows, they should become less bright as they become bigger, shouldn't they?

Author:  zalo [ Sun Jul 06, 2008 5:28 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

I believe that this variable was only meant for use on MOSParticles, as, that is where I saw it implemented.

And Roy, all it does is change the size of the sprite (includes collision). That's it.

Author:  The Fat Sand Rat [ Sun Jul 06, 2008 7:55 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

So in other words this has practically no use.

Author:  Lord Tim [ Sun Jul 06, 2008 8:10 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Say you wanted to make a bunch of different sized grenades. You could do that easily, and only have to make one sprite.

Author:  The Fat Sand Rat [ Sun Jul 06, 2008 8:29 pm ]
Post subject:  Re: NEW VARIABLE: Scale Variable

Lord Tim wrote:
Say you wanted to make a bunch of different sized grenades. You could do that easily, and only have to make one sprite.

But they'd all be fugly as hell.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/