ID:163014
 
is there any built in way to get some kind of "tilt" affect to something, as to like rotate it south like 15 degrees.
Yes, there's Turn().
In response to Kaiochao2536
I am trying to use it like this, can it not be used in this manner?

for(var/turf/A in world)
A = turn(SOUTH, 30)
In response to FallingLegend
it might be better if i could also shrink it inside the map window....is there a way to shrink icons also?
In response to FallingLegend
If you want the player's view to be completely turned, I think there's a client variable called "dir" for that, but I don't know how that works.
In response to FallingLegend
Yeah, I think Scale() is what you're looking for.
In response to Kaiochao2536
ok, im trying to use it on an icon, getting kind of a weird, but cool effect....i was wondering however if i can get it to work how i need it to... any help please...

for(var/turf/A in world)
A.icon = turn(A.icon,30)


plus the icon seems to be black after it does the rotation things, but only in the middle parts.
In response to FallingLegend
That's because you're turning a turf. Nothing is under a turf, making blackness in the edges.
In response to Kaiochao2536
can i turn the whole map thing itself?
In response to FallingLegend
With the client.dir variable, the screen will be turned, making it seem like the map has turned, but really hasn't. If you want it so everyone's screen turns, use a for() loop.
In response to Kaiochao2536
i need the actual map turned though.
In response to FallingLegend
That would only be possible with math, making the locations of everything change. But I have no idea what the meaning of the word "math" is, so just go with the second thing I said.

for(var/mob/M in world)
M.client.dir=turn(M.client.dir,90) //That would turn the map 90 degrees.


Turning the map doesn't change the icons, though.
In response to Kaiochao2536
actually with some winset controls it might be possible, which is more what id be looking for.
In response to FallingLegend
I don't think there is a turning parameter for maps.
In response to Kaiochao2536
ok, i need to scale everything down, to 0.75, move it towards the middle putting it together, and tilt everything to the right 30 degrees, how would i go about doing it?
In response to FallingLegend
ok, i rotated everything in my game, thinking if i did so, i would see black, at the 4 corners, but instead, i see black only in the middles of some squares, why would this be happening?

also, im trying to scale it, but it says that Scale() is an undefined proc.

i need an example of how to use the scale() proc.

even after turning it 90 degrees, 180 degrees and 360 degrees and even 32 degrees i get nothing, reason i say 32 is because the icon is 32 pixels wide and high