![]() |
Image Masking?
Hello! I was making a forest level and I am curious if there is a way to do image masking? I want to make a semi-transparent circle around my player so you could be seen in the trees only around your player! Is there anything that could work? Thanks!
|
I think if you draw a drawing panel over the whole window you can draw on that and perhaps mask it out. I think dusty mentioned this a while back.
|
One of the versions Dusty has used made. Kind of equals to this one of him
http://forums.graalonline.com/forums...1&d=1273130160 PHP Code:
|
we made something like this but its only clientside
its an image overlay and clientside only http://i.gyazo.com/1bb1a6d0881dc7a0b659ec99c705bde6.png |
Quite impressive actually even client side.
Quote:
|
Quote:
|
Both of these examples are really nice. Fantastic job, guys.
And yeah, overlays are generally the easier way to go, and you'll have a lot of options for playing around with them. |
Quote:
|
I still haven't been able to figure out how to achieve the OP. Is it even possible with GS2? I have a forest of trees and I want to be able to have a semi-transparent cut-out around the player so you can see yourself while you walk behind the trees. The circle would follow your player as you walk through the trees.
|
Quote:
Quote:
|
Quote:
http://i.imgur.com/5Iq49EL.png |
You're not looking for image masking, then. Just display a gani of the player directly on the player, with a lower opacity. You won't get the blending mode used in your mockup, but it's acceptable I guess.
|
Quote:
|
Ah, I didn't see the circle. That's a splendid idea, but I'm afraid it's not going to be possible with Graal.
|
Is it not possible to do something similar to how Graal Kingdoms Labyrinth event is?
Although be the whole thing is black other than an area around you, couldn't you apply that "blackness" to the image of trees? |
| All times are GMT +2. The time now is 11:42 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.