On the last leg. Soon it’s over
|
So this week I have been unusually lethargic. I could have done so much more yet spent so much time doing nothing useful. Quite the bother, although there is not that much left to do either so it goes either way I suppose. This week I have been working on, amongst other things, fixing the alignment of the cursor for the main menu. This was done so that people can properly see what they have selected. It is simple, and the cursor(red circle) is a place-holder until someone can make a proper one for the menu, at which point it will have to be replaced(also yes the title is misspelled, and no it is not intentional, our artist responsible has been notified and should fix it sooner or later, preferably before it is all over). The code works in a relatively simple way(how the cursor moves is described in my previous post). The code simply checks what the current selection is and then moves the cursor to the correct position. I chose to do it this way because in the long run it seemed simpler to me(partly because the vertical distance was not even) because while it took longer to put in, it meant I could just find the correct coordinates and put the cursor there. To be honest the original method that had the cursor do even jumps was a bit impractical when looking at things in hindsight. If I would have had to set the horizontal position for each choice individually anyway then I could just as well have set all of the coordinates that way although if the vertical spacings had been even then that would only really have been needed on the horizontal side, and that could also have been avoided if all choices had originated from the same vertical line, although this looks better, so I will forgive our artist. The reasoning behind this was that, well it looked weird on the old one, all out of alignment and a few other problems as well meant that it had to be fixed, both to help the player understand what they have selected at the moment on the menu as well as for the sake of how it looks. Needless to say with these changes the player can easily and with only a small bit of thinking select the correct option, and this only needs three buttons(up, down and enter) meaning as long as everything is set correctly there should not be any need for using a keyboard. |

