发布时间:2022-12-08 17:38:01
n = 100.0python学习交流Q群:770699889 ### 源码领取 speed("fastest")screensize(bg='black')left(90)forward(3*n)color("orange", "yellow")begin_fill()left(126)for i in range(5): forward(n/5) right(144) &.........【阅读全文】
发布时间:2022-12-01 15:53:48
导入模块import pygameimport sysimport tracebackimport osimport CXKimport enemyimport bulletimport supplyfrom pygame.locals import *from random import *游戏主界面#游戏主界面def ui(): #循环播放背景音乐 py.........【阅读全文】
发布时间:2022-11-30 17:40:44
from graphics import *from time import sleepclass goChess: def __init__(self, x, y, color=1): self.color = "black" if color==0 else "white" self.x,self.y = x,y self.circle .........【阅读全文】
发布时间:2022-11-29 17:22:18
python学习交流Q群:770699889 ###from PIL import Image,ImageDraw,ImageFont#像素放大尺寸img_king_size = 20#输入内容text = '这是xx的女神'#设置字体font =ImageFont.truetype('simsun.ttc',img_king_size)#图片路径img_path = './king.jpg'#打开图片img = Image.........【阅读全文】
发布时间:2022-11-25 16:00:21
//导入包import * as THREE from 'three';import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';import * as dat from 'dat.gui';import Stats from 'three/addons/libs/stats.module.js';let scene,camera,renderer//场景scene = new THREE.Scene();//坐标抽.........【阅读全文】