APROP_ScaleX/APROP_ScaleY and A_SetScale

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: APROP_ScaleX/APROP_ScaleY and A_SetScale

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by NeuralStunner » Fri Dec 31, 2010 5:53 pm

Those are just 2 of the many [wiki=DECORATE_expressions]decorate expressions[/wiki], which are extremely useful. :)

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by InsanityBringer » Fri Dec 31, 2010 5:50 pm

The object's current Scale on either the x or y axis.

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Blue Shadow » Fri Dec 31, 2010 5:44 pm

Thanks alot, NeuralStunner. I didn't know that you can do mathematical operations in there. But what do ScaleX and ScaleY represent here?

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by NeuralStunner » Fri Dec 31, 2010 2:16 pm

This should work just as well:

Code: Select all

A_SetScale (ScaleX + 0.1, ScaleY + 0.1)

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Blue Shadow » Fri Dec 31, 2010 1:55 pm

Can there be something like A_ScaleUp and A_ScaleDown that work in a similar fashion as A_FadeIn and A_FadeOut? Or is it too much of trouble to do?

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Kate » Wed Dec 01, 2010 5:36 am

[wiki=SetActorProperty]Quite[/wiki] [wiki=A_SetScale]obviously[/wiki].

I find it highly amusing that you would spend the time to write a post and ask rather than just typing "A_SetScale" into the wiki and getting an answer instantly without having to wait for someone to tell you.

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Tormentor667 » Wed Dec 01, 2010 5:29 am

Is the usage already described somewhere in the wiki?

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Gez » Tue Nov 09, 2010 4:25 am

Note that the [wiki]ACS actor properties[/wiki] for this feature will only work with [wiki]CheckActorProperty[/wiki] in GZDoom, not in ZDoom. Granted, people are more likely to use [wiki]GetActorProperty[/wiki] for it, since Check... is mostly useful for strings and you can do the comparison yourself for ints and bools. But I figured I'd mention this anyway.

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Marisa the Magician » Mon Nov 08, 2010 8:30 am

Graf Zahl wrote:I decided to add this patch despite my reservations because it's apparently in high demand.
I'LL LOVE YOU FOREVER FOR THIS. :shock:

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Graf Zahl » Sun Nov 07, 2010 5:58 pm

I decided to add this patch despite my reservations because it's apparently in high demand.

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Marisa the Magician » Mon Oct 25, 2010 3:10 pm

Well duh I have no clue. I was so really looking forward to this...

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Salad Viking » Mon Oct 25, 2010 2:34 pm

Does anyone know why this still hasn't been added? It was posted a month ago...

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Tormentor667 » Wed Oct 20, 2010 4:51 am

Awesome :) Not we only need APROP_Rotate and I am happy :D

Re: APROP_ScaleX/APROP_ScaleY and A_SetScale

by Nash » Sat Oct 16, 2010 2:19 pm

I don't think this is "half implemented"; it's doing exactly as it's advertised to do (visually scale a sprite).

Top