天天看點

使用 playn 和 GWT 開發 html5 遊戲。搭建環境。helloworld。

<a href="http://code.google.com/p/playn/">http://code.google.com/p/playn/</a>

開始使用軟體 首先下載下傳:

<a href="http://code.google.com/p/playn/wiki/gettingstarted">http://code.google.com/p/playn/wiki/gettingstarted</a>

下載下傳demo的位址。

<a href="http://code.google.com/p/playn-samples/">http://code.google.com/p/playn-samples/</a>

使用 playn 和 GWT 開發 html5 遊戲。搭建環境。helloworld。

這個事demo 的檔案夾。

其實 要使用這個 必需使用 gwt 元件。

建立一個工程然後 把  samples 的檔案夾拷貝過來。

pom的 可以直接 通過 依賴下載下傳。

使用 playn 和 GWT 開發 html5 遊戲。搭建環境。helloworld。

設定 core包。

使用 playn 和 GWT 開發 html5 遊戲。搭建環境。helloworld。

運作 效果 圖。點選就顯示 一個小圓球。

hello world 運作成功 !! 繼續研究。

附件是demo的檔案。刨去 gid 更新檔 12 mb 

繼續閱讀