python下有哪些比較好的遊戲框架?
pygame
換unity吧,
“Python for Unity 3x as alternative of C#”
* This is a bad idea。
* Because using multi languages in Unity causes circular reference issues。
* You can ONLY use C# on Win8/WP8。
* Unity is stuck in the past with buggy Mono_2。6 and adding more to keep them there is not positive。
* Mono C# is NOT MS C# and does not fall under the same license issues。 Also C# is fully open source as a lang spec。
* http://www。mono-project。com/FAQ:_Licensing
* http://www。ecma-international。org/publications/standards/Ecma-334。htm
* Python is not implicitly strong typed by design and thus bad for games to put it simply。
* Why on earth would Unity add features to version 3。x anymore??
* If your point of this post was to say use the Python runtime over the
Mono/。NET one。。。 I suggest you need to do some simple benchmarks first,
as you will quickly see why。
8) In short, there are far more reasons to use C# vs anything else。
Cocos2D
pygame
Panda3D
Ren‘Py
Kivy
Pyglet
哇塞 終於看到一個能回答啦!
好吧 我之前玩python的時候就找了半天怎麼做遊戲的,python做遊戲主要有pygame和 cocos2d-python(這貨本來就是用python寫的,後來才是c艹什麼的)
pygame就比較老了,cocos2d-python比較新一點,不過不過也沒什麼維護了。cocos2d-python上面很多都用pyglet這個庫的,裡面主要的精靈什麼的也是針對pyglet的封裝,另外還封裝了些音訊庫什麼的。
cocos2d-python我就只做過簡單的地圖,tb上買了點素材玩玩還蠻好玩的。
cocos2d-python可以在外國官網上找到的~
下面上圖,就簡單的移動啊 攻擊啊什麼的。。。還有進入攻擊範圍就開始追玩家~飄血什麼的 反正就看著api手冊慢慢玩吧,其他實現什麼的就要看看遊戲開發啦 我也不會。我都是自己亂實現的。
對這個我反正是做不出來mvc模型 T T