![]() |
Rotating images
When you draw an image, such as a simple hud img, or whater, is it possible to rotate the image? If so, how?
|
You can edit the rotation like this:
findimg(200).rotation = pi; |
What is the pi?
|
Nvm. I got it. It was obvious lol
|
can you do a horizontal reflection too?
|
Quote:
|
It seems that rotation uses the center to rotate the entity, is there any way to set the rotation center?
|
Quote:
|
Quote:
PHP Code:
|
I have used that and it works, put something like this.
PHP Code:
|
Quote:
|
I think pixels.
|
Hmm couldn't get this working, can I see where you are using this Gunderak?
I can't find rotationcenter or rotationcentre on the graal wiki anyway... hmm |
Tigairius could offer some great solutions on smoothly rotating a static image.
|
Quote:
PHP Code:
|
All times are GMT +2. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.