Replies: 1 comment 2 replies
-
Hello, first thank you for your interest in my project ! Every contributions for the bugs and graphics are welcome. The animations, that i am referring to, are attacks animations (for now) during battles. The idea was to recreate some sprites and templates of the characters that made this possible. Currently there is only the walking animation available and as i am not very proud of my graphic skills... Maybe people could help me on this part ! Regarding the fade in issue, it is relating to the transition menu screen -> game screen that yoiu can see with the TODO annotation in class "MenuNewGameScreen" line 99 and 135 (as well in MenuLoadGameScreen line 95). Feel free to take a look and/or come with solutions or advices. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello I noticed that in your improve section you mentioned animations and also in bugs you mentioned a fade in issue. I am assuming that you are using JPanels and Frames that implement button action listeners to call upon these said animations.
I am not able to find you code for where this occurs and if you could point out where it is I can take a look.
Anyway other than the animations libraries for java I think a way to get a fade in effect is to use the graphics engine and simply paint a black frame that lowers in opacity giving it the fade animation. This would occur with a for loop that starts with 100 (max opacity) and the "i" in the for loop decreases which is set to the opacity of the graphics black screen. This may be too fast so a timer or a delay may be necessary.
This is all assuming that you do not already have a fade in implemented.
Otherwise I would love to take a look at the code if you could direct me.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions