SummerOfCode/2012/PortSupertux: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 11: Line 11:
Supertux contains MOD format audios which are not supported by the current HTML5 audio. This problem is solved by converting the audios to ogg format.
Supertux contains MOD format audios which are not supported by the current HTML5 audio. This problem is solved by converting the audios to ogg format.


(2)Fix page stuck cause by IMG_Load.
(2)Fix page stuck caused by IMG_Load.


Emscripten's IMG_Load implementation seems buggy, as it will trim the leading "/' of an absolute path of the image. I just commented the code, and this stuck disappeared. I'll talk to Alon about this problem.
Emscripten's IMG_Load implementation seems buggy, as it will trim the leading "/' of an absolute path of the image. I just commented the code, and this stuck disappeared. I'll talk to Alon about this problem.


(3)Fix page stuck cause missing SDL functions in Emscripten.
(3)Fix page stuck caused by missing SDL functions in Emscripten.


a. Mix_ReserveChannels: I just commented the code in Supertux.
a. Mix_ReserveChannels: I just commented the code in Supertux.
18

edits

Navigation menu