I would greatly appreciate it if someone could help me with this problem. I do not have this slightest idea of how to create a circular bar, one that would increase and decrease in a circular fashion.
My explanation might be a bit difficult to visualize so here is a screenshot: http://d.pr/n97
Here is a vector if it's difficult to see: http://d.pr/RLJC
Notice there are 3 bars, 2 linear ones and a circular one. I have a general idea of how to fill in linear bars and increase/decrease them accordingly, but I am clueless in creating a dynamic circular one.
Any advice or suggestions would be very helpful.
I will daresay your going to have to make your own custom dialog, and your going to have to make those bars, circular linear and all in a picture editing software and import them yourself, from what i know of dialogs this will be a tricky task but the result would be worth it .
Vertical or horizontal bar can be done easily by setting their size.
Circular bar can be tough but possible by uses of set dialog item(image) rotation. You just have to think of a good way to use it and how you image has to be
<<reply 222447>
That's really quite a good idea. However, do you know how to hide certain segments of a dialogue in an area? Because by using your method, rotating a circular bar will mean that the bar will leave the bounds set by frames in my original image. Thanks in advance!
when making the dialog, try to think of it as 2 parts, a fill and a mask.
you don't need a circular strip that fills, you just need a plain circle that fills based on a radial wipe, and on top of that put a mask so it LOOKS like a circular strip. mathematically, this is a lot easier to do:
That sounds awesome. However, no idea how to do masks/radial wipes in GE. Also, how would you layer dialogs? (Making sure one is always on top of another)
I am not quiet sure if I understand what you mean and if it makes sense, but the method I use should work in most cases. It actually works like AioncannonzSC2 explained and the graphics I used are very similar to his.
It doesn't matter if the bar is divided into 3, 4 or 10 parts. If you want to fill whole parts at once, you'll have to increase the size of the steps.
It is just a little more math, but nothing really complicated.
For just dialogs its in the order of creation. If the order doesn't change then you don't have to worry about it. The only way to change it on the fly would be to destroy and recreate all of the dialogs in order.
In any event, why would you be using multiple dialogs? Using a single one with multiple items would be easier.
Im not as pro as everyone else here, but from the screenshots, WOW really awesome idea! Good luck and let me know if you need a publisher in europe! (PM me for it if so)
I understand your concept but dividing the circle into 3 parts might not make a difference at all. Before rotation, there is still going to be a 4th of a bar outside the container (even if you only have 3 parts). The reason being is that the bar has to be rotating from somewhere (and a fourth of the circle isn't in the container). Someone mentioned that you can mask this, but no one has yet to explain. If I ever do figure this out, I'll be glad to share it with the community.
I would greatly appreciate it if someone could help me with this problem. I do not have this slightest idea of how to create a circular bar, one that would increase and decrease in a circular fashion.
My explanation might be a bit difficult to visualize so here is a screenshot: http://d.pr/n97 Here is a vector if it's difficult to see: http://d.pr/RLJC
Notice there are 3 bars, 2 linear ones and a circular one. I have a general idea of how to fill in linear bars and increase/decrease them accordingly, but I am clueless in creating a dynamic circular one. Any advice or suggestions would be very helpful.
I will daresay your going to have to make your own custom dialog, and your going to have to make those bars, circular linear and all in a picture editing software and import them yourself, from what i know of dialogs this will be a tricky task but the result would be worth it .
Vertical or horizontal bar can be done easily by setting their size.
Circular bar can be tough but possible by uses of set dialog item(image) rotation. You just have to think of a good way to use it and how you image has to be
<<reply 222447> That's really quite a good idea. However, do you know how to hide certain segments of a dialogue in an area? Because by using your method, rotating a circular bar will mean that the bar will leave the bounds set by frames in my original image. Thanks in advance!
when making the dialog, try to think of it as 2 parts, a fill and a mask.
you don't need a circular strip that fills, you just need a plain circle that fills based on a radial wipe, and on top of that put a mask so it LOOKS like a circular strip. mathematically, this is a lot easier to do:
@AioncannonzSC2: Go
That sounds awesome. However, no idea how to do masks/radial wipes in GE. Also, how would you layer dialogs? (Making sure one is always on top of another)
You can use "Set Dialog Item Render Priority" for layering, as for gradient - I would imagine it would have to be pre-rendered.
If you figure out how to do this could you give a tutorial? I've been wondering the same thing but I'm still very new with the editor.
@kirym: Go
What if I'm using multiple dialogs instead of several dialogue items in one dialogue?
It's not a tutorial, but I threw together a small example map.
Excellent, brillant idea :) I was thinking to this idea before testing the map xD
You have a problem here : the bar is 3 sided, but you can use this idea to make your custom circular bar.
Use the Aioncannon's attachment... Create 3 quarters circular, and rotate all of them, based to the life percentage.
Example :
If Life < 33 : move the 3 circles. If Life is between 33 and 66 : Move the 2 last circles. If Life is > 66 : Move the last circle.
The bottom left circle must be in the Z axis 512. The top left circle must be in the Z axis 513. The top right circle must be in the Z axis 514.
I am not quiet sure if I understand what you mean and if it makes sense, but the method I use should work in most cases. It actually works like AioncannonzSC2 explained and the graphics I used are very similar to his. It doesn't matter if the bar is divided into 3, 4 or 10 parts. If you want to fill whole parts at once, you'll have to increase the size of the steps. It is just a little more math, but nothing really complicated.
I don't know why one should use three circles.
@Mindsplosions: Go
For just dialogs its in the order of creation. If the order doesn't change then you don't have to worry about it. The only way to change it on the fly would be to destroy and recreate all of the dialogs in order.
In any event, why would you be using multiple dialogs? Using a single one with multiple items would be easier.
@Mindsplosions:
Im not as pro as everyone else here, but from the screenshots, WOW really awesome idea! Good luck and let me know if you need a publisher in europe! (PM me for it if so)
@Doubotis: Go
I understand your concept but dividing the circle into 3 parts might not make a difference at all. Before rotation, there is still going to be a 4th of a bar outside the container (even if you only have 3 parts). The reason being is that the bar has to be rotating from somewhere (and a fourth of the circle isn't in the container). Someone mentioned that you can mask this, but no one has yet to explain. If I ever do figure this out, I'll be glad to share it with the community.
@doite: Go
If I ever do manage to finish this map I'll be sure to pm you.