WebOS Internals 發表了一個SDL 的PDK , 叫ScratchBox 2 , 可以在一般的x86 電腦compile 遊戲給Palm Pre 或者WebOS 設備用,

百聞不如一見, 原來用Linux 的QEMU (一個模擬器)扮ARM 指拎集設備,

http://www.webos-internals.org/wiki/ScratchBox2_cross_compiling_with_SDL

文中亦以DOOM 示範, 只係直接compile , 再加上WebOS 的說明, 大家都可以好簡單移植軟件都Palm Pre ....

http://www.webos-internals.org/wiki/Building_DOOM_with_scratchbox2

只要在appinfo.json , 加入'game' 這種軟件類型即可...

{
"title": "DOOM",
"type": "web",
"main": "start-doom.sh",
"id": "com.example.doom",
"vendor": "example.com",
"version": "0.1.0",
"icon": "icon.png"
}

Add comment


Security code
Refresh