Skip to content

Jesse-Jumbo/MLGameTemplate

Repository files navigation

A collection Of Templates For Rapid Development Of MLGame Games

MLGameTemplate MLGame

Python 3.9 pytmx

專案說明

資料夾說明

  • games
    • 裡面存放各式各樣的遊戲,來自這些遊戲開發者們 @Game Share Contributors
    • fork此專案後,發送PR即可一起成為遊戲貢獻者 @fork教學
  • game_module :
    • 方便開發遊戲可被使用的工具庫,例如: 透過TiledMap建立遊戲地圖,播放遊戲音樂,快速獲得資料等
    • 可參考 TankMan 遊戲的使用方式 @TankMan.src
  • game_templates :
    • 存放不同種類的遊戲模板,可以透過在遊戲裡使用不同的模式,即可達到一種遊戲可以有不同的模式
      • SingleMode:單人遊戲模板,裡面只有單人模式
      • BattleMode:雙人遊戲模板,裡面只有雙人模式
      • 如何一個遊戲,不同遊戲模式,範例:@TutorialGame
  • development_tutorial
    • 是遊戲開發教學文件(持續開發中)
  • SampleGame
    • 是已開發完成的射擊範例遊戲(0.4.x版本後正在重構中,無法遊玩)

使用方式

  1. fork this project) @How to fork this project tutorial
  2. Select a template in game_templates to copy @game_templates
  3. Paste it in games and become a new project @games
  4. Give the project a new game name
  5. Add your game content to the project
  6. Submit PR to share your game project)@GameShareContributors

更新 Fork 的專案

Sync fork

  1. 確定已登入GitHub
  2. 在自己的專案中,選擇fork的專案
  3. 點擊Sync fork
  4. Update branch (切換分支後,重複操作即可更新其他分支)

遊戲啟動規定

  • 遊戲開發者請看MLGame AI遊戲框架說明 README.md
  • 遊戲玩家請看各個遊戲專案內的 README.md 文件(範例: TutorialGame)

View

  1. 認識MLGame遊戲AI競賽框架 MLGame
  2. Pygame 2D遊戲套件函式庫 Pygame
  3. 開源素材網站 OpenGameArt.Org
  4. 地圖製作說明 TankMan坦克大作戰地圖製作教學

Future Work

  1. 新增教學文件
  2. 更新 game_module
  3. test case

Game Share Contributors