How Can We Help?

Codey Rocky-Classic Plane Fight Game

Codey Rocky-Classic Plane Fight Game

image.png

By: 樊飞  Translated by: 董梅香

Origin: Makeblock

Have you ever played a plane fight game? Let’s make this game with Codey Rocky

Tags:

Product:   Codey Rocky

器材与软件:Device & Software

※mBlock5 PC版   mBlock 5 PC version

※程小奔   Codey Rocky

 

Implementation:

Write classic plane fight game with Python code

Implementation process:

 

  1. Download the attachment “Plane Fight.py file” below the article;

 

2.Open mBlock 5 software, then open the python editor, paste the code into the python editor integrated in mBlock 5;

 

3.Connect Codey Rocky, then “Upload” to upload the code.

image.png

 

Tips: There is also a python api document in the  Download section, you can also try to change the effects (like sound effect) by modifying the code

Download

经典飞机大战游戏-api文档    Api documentation for Classic plane fight game

📎飞机大战.py.txt 📎Plane Fight.py.txt