A downloadable game

1. Summary

1) I created a static Library called Animation to my Engine and read the binary lua file in the Animation project about positions and speed data. I tested several lua files, all works fine.

2) I try to hard code some positions to test how to do the animation for my object. I tried different amount of positions to test if there will be a problem, for now, adding or decreasing positions have no bugs.

3) Now the object will move according to the positions and after reach the last position, the object will automatically move to the first position again.

4) Now if I change the speed, the object can move faster according to input.

2. What to do next

1) I found out that now the object will do the animation according to the positions. But the object will speed up a little bit and going slow again when it comes to the first position. I need to figure out what causes this problem.

2) I want to implement a function that players can choose different game difficulties, like Slow Mood, Normal Mood and Fast Mood. So I think I will change the lua file structure again. I will change the lua file that includes positions and 3 different speed.

3) I haven't do the move back function yet. After I tested all the loop animations work fine, I will add this function.

4) Delete all the hard-code lines and use the real data from lua file.

5) Think about how to improve the structure to make other users can use easily.

Leave a comment

Log in with itch.io to leave a comment.