-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Hero Movement button #9085
Update Hero Movement button #9085
Conversation
to delete hero path always
Despite the fact that it technically works, it doesn't look very elegant. First of all, this button is disabled, that is, from the user's point of view, it cannot be pressed. Also, since it is disabled, there is no press and release animation. |
Hi @oleg-derevenetz. In this case, I see two options:
Could you describe how you see the solution to this problem? |
I'd prefer to add a special state for this case, just like it's done for the "visit the object under the hero" action, but we need some artwork for this, which would somehow graphically indicate the possibility of canceling the current hero route. |
Do we need to wait for the icon design for this feature? Or is it possible to use some existing image? |
I am not aware of any existing image with the suitable style and meaning, so we need to come up with and draw it first. |
Do you have any instructions on how to do this? Or is it possible to ask for help from a certain person (interface designer)? |
I see two options here:
I think the choice of option depends on the desired button image (it will also need to be thought up). |
Hi @ihhub @zenseii @Districh-ru @Branikolog what do you think about the image? Any ideas? |
@oleg-derevenetz and @AlexSnowLeo. The concept in the picture is pretty much what I had in mind. Since we are making a pressable replacement for the disabled state of the button, in other words when there are no movement points left, maybe something like a horse that has been tethered to a short pole, to symbolize having parked for the day. |
Unfortunately, I am far from an artist. Maybe something like this? I will also attach the source code in the format paint.net. |
@AlexSnowLeo and @oleg-derevenetz , let's wait for @Districh-ru being available. He generated the original icon and he could suggest how to do it for the new one. |
We are also not talented artists, so making changes that require new art is usually problematic. But in this case, I'm afraid we can't do without it if we want everything to look nice. |
Hi, @AlexSnowLeo, I've made the hero action button image by simply taking an action cursor and placing it on the button image with a small corrections. |
Hi @Districh-ru. Yes, I have already considered this place in the code and tried to draw something suitable from the existing pictures of the game. But unfortunately there is no suitable picture (perhaps the image of the hero on a horse is suitable, but it is too colorful). Maybe there is not only another way to go? Make a mask of the image of a standing horse. And then apply it in the code along with the shadow on the button. The problem for me so far is only in shadow rendering. And let's still choose a concept, is this the one that @zenseii suggested - a horse standing on a leash? |
Hi, @AlexSnowLeo, sorry for the late reply. Hi, @Branikolog, what do you think about this image for the cancellation of move path? |
@Branikolog, @Districh-ru and @AlexSnowLeo. I have asked @FlorianBaba for his assistance/advice since he is a skilled pixel artist. @AlexSnowLeo's graphic looks like what I imagined, but I realized it looks a bit too crammed and perhaps too detailed to easily understand what it represents at a distance. I believe with some fine-tuning we can improve it though this is outside of my abilities. |
Hello there 👋 Indeed, I would love to participate. I'll keep you posted 👍 |
Hi everyone 👋 I've spent some time thinking about a suitable icon, trying to respect the original style. Just to share you my approach, I first tried @zenseii idea, which I thought was a good one. But I came to the same conclusion : i.e. that the icon is visually overloaded and not easily understandable. Then I went back to @AlexSnowLeo original idea, using the destination cross of the route taken by the heroes on the map. I tried to make the cross more prominent by using a horse's head icon. |
I'll repeat some of the comments I wrote to @FlorianBaba in DM here. I think the icon D which is a development of @AlexSnowLeo's idea is the best because it keeps the same concept as the other two states of the button, which are the prancing and walking icons, and you can see the entire horse on those too. The idea of removing the trail before the cross is better imo because it couldn't be interpreted as representing a walkable path, due to the monochrome nature of these icons which some might interpret as referring to the green arrows. It might give an impression of inconsistency if we change the icon to just show the head. As for the head being filled with one color, this might be seen as inconsistent with the general style of these icons which apart from the horse, have very thin lines outlining them and some amount of detail drawn within the object, like the knight's head having facial features etc. The exceptions are the horse and the view world button, however they are generally smaller icons than the horse head icons. Meanwhile, on @FlorianBaba's Discord server there was a discussion about this and some good ideas were given. One was to have a horse standing still and with the head bent down. In my opinion this would fit in well with the logical group: prancing; walking; standing still. |
We talked it over with @zenseii and thought it would be interesting to add a new suggestion, the one he mentioned in his previous message. It's up to you to choose now ^^ |
Hello everyone! I personally prefer D from an implementation quality state. Not perfect one, though. Logically, I expect something like @AlexSnowLeo proposed. Just a standing horse. We already have galloping and dancing icons, so new standing one feels appropriate. I'm only concerning about the horse design. Needs to be more polished and better proportioned. I also not sure about cross or ! mark. It looks too tiny. I prefer an icon being more simple: without multiple small details. I personally thought about placing just a cross, which is used for path destination, on this button : It can look simple and really easy to distinguish from other icons. But the standing horse feels kind of uniform design. 👍 It just needs to be more proportional, and players should always be able to easily distinguish it from the other two button states, especially the galloping one. |
Very nice! This is the idea I had. The reason to have the head bent is to distinguish it more from the galloping horse. I have some small comments. The horse looks a bit rounder around the stomach so maybe we could make it leaner? I believe there's something about the ears we can adjust. I'm not an equine expert but should their ears point down when they bend their head down? The tail looks like it has become a bit shorter, but I'm not sure there's enough space to make something that distinguishes it more? @Branikolog, I also considered having only the cross, but I believe it will look incoherent if the button switches states between Galloping horse, Prancing horse and a cross. This is why I'm in favor of the horse standing still. |
@zenseii I've tried to take your feedback into account for the E version. So :
Your feedback on the ears made me smile, because I had asked myself the same question as you the first time. |
@zenseii, thanks for the detail comparison and explanation! |
Hi @zenseii! |
@Districh-ru, thanks! I will have a look at this PR as soon as possible. I suppose we can change it to ready for review now? |
@zenseii, yes it can be reviewed now. |
This could be a possibility and honestly a better approach to take moving forwards since it took quite a lot of time to write every line for almost every pixel. Basically the only original part used was the horse's head and somewhat the legs. But I do remember @ihhub saying that the amount of lines didn't really matter much. |
Hello @Branikolog,
The state of the button also serves as a visual indicator to the player that the hero still has movement points or not (button in standard state, hero can move, button in grayed out state, hero can no longer move). |
@ihhub, this PR is ready to be reviewed. The standing horse button being active when no movement points are left is a compromise so that it is always possible to clear a path and the button state has to be released to have proper button feedback. A button to clear the path can be seen as future-proofing for the feature of planning a path during your (human) opponents turn which could be executed at once when its your turn. |
From the maintenance point of view having an image difference stored in resurrection.h2d file would definitely be better. Yes, let's do this in a separate pull request to avoid extra work for this issue. |
@AlexSnowLeo , @zenseii and @Districh-ru , many thanks for this feature! |
Close this issue: #8924
Fixed check on Hero Movement button to delete hero path always regardless of the button status.