18
edits
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
Status Report | Status Report | ||
Jul | Jul 30 - Aug 5 | ||
(1) After using set_emscirpten_main_loop and -O1/-O2 option, the game can run, but has two little problems: | |||
a. Some bad guys don't move. | |||
b. When tux dies and another round begins, the game will hang up. | |||
Finally, I found the reason is that the frame rate is no set properly. The argument passed to emscripten_set_main_loop should be the frame rate instead of the time for each frame. | |||
(2) Change the structure of the code so that when the game session loop ends, the control flow goes into worldmap loop. | |||
Jul 23 - Jul 29 | |||
I'm leaving school and going back home. No work was done this week. | |||
Jul 16 - Jul 22 | |||
(1) Fix Issue #504, and send pull request. | |||
(2) Change loops in the game by using set_emscripten_main_loop. Now it can run a single session. | |||
Jul 9 - Jul 15 | |||
(1)Last week I thought the page stuck when showing the worldmap was caused by stack growing rapidly. But finally I found that was because I forgeted to comment stack recover statement and calling destructor of worldmap in the display_loop. Now the game can run from the main menu to worldmap, then gamesession. | |||
(2)Learn the usage of set_emscripten_main_loop. | |||
Jul 2 - Jul 8 | |||
(1)Try to port a complete Supertux. | (1)Try to port a complete Supertux. | ||
edits