自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 mybatis-plus自动装配失效---基于ssm

ssm+mybatis-plus的自动装配时间失效问题解决

2021-12-02 16:39:15 605 1

原创 python_飞机大战_scoreboard_py_十

建议从python_飞机大战_diren_py_一 开始看 import pygame #开始游戏界面,游戏中得分界面,结束游戏界面 class ScoreBoard(object): def __init__(self, scene): pygame.init() #缓存主场景对象 self.main_scene = sce...

2018-12-21 10:24:55 793

原创 python_飞机大战_jiemian_py_九

建议从python_飞机大战_diren_py_一 开始看 import pygame shuju = ["0"] class JieMian(): def __init__(self,scene): #缓存主场景对象 self.main_scene = scene self.game_start_button = True ...

2018-12-20 19:51:33 204

原创 python_飞机大战_boom_py_八

建议从python_飞机大战_diren_py_一 开始看 import pygame class booms(object): # 初始化爆炸 def __init__(self, scene,boss = False): self.main_scene = scene # 加载爆炸资源 self.is_boss = boss...

2018-12-20 19:50:05 690

原创 python_飞机大战_bossbullets_py_七

建议从python_飞机大战_diren_py_一 开始看 import pygame import random # 子弹 class BossBullet(object): # 初始化子弹 def __init__(self, scene): # 子弹移动速度 self.speed = 2 # 加载敌人子弹图片 ...

2018-12-20 19:49:08 228

原创 python_飞机大战_boss_py_六

建议从python_飞机大战_diren_py_一 开始看 import pygame from bullets import * BLACK = (0, 0, 0) RED = (255, 0, 0) GREEN = (0, 255, 0) YELLOW = (255, 255, 0) class Boss(object): def __init__(self,scene...

2018-12-20 19:48:05 860

原创 python_飞机大战_bullets_py_五

建议从python_飞机大战_diren_py_一 开始看 import pygame import random # 子弹 class Bullet(object): # 初始化子弹 def __init__(self, scene,enemy = False): # 子弹移动速度 self.speed = 2 # 子弹资源 ...

2018-12-20 19:46:57 150

原创 python_飞机大战_diren_py_四

建议从python_飞机大战_diren_py_一 开始看 import pygame import random from bullets import * # 敌人飞机 class EnemyPlane(object): # 初始化敌人飞机 def __init__(self, scene,level): # 加载飞机资源 self.ima...

2018-12-20 19:45:47 521

原创 python_飞机大战_HeroPlan_py_三

建议从python_飞机大战_main_py_一 开始看 import pygame from bullets import * # 飞机 class HeroPlane(object): # 飞机初始化 def __init__(self,scene,hero_life): # 加载飞机资源 self.image = pygame.i...

2018-12-20 19:43:59 1341

原创 python_飞机大战_background_py_二

import pygame # 地图 class Background(object): # 初始化地图 def __init__(self, scene,level): # 加载相同张图片资源,做交替实现地图滚动 self.image1 = pygame.image.load("images/img_bg_level_"+str(l...

2018-12-20 19:42:19 181

原创 python_飞机大战_main_py_一

建议从python_飞机大战_main_py_一 开始看 import pygame import random import time from background import * from bullets import * from Heroplan import * from diren import * from Boom import * from scorebord i...

2018-12-20 19:41:12 1012

原创 python_飞机大战

gif: https://download.csdn.net/download/qq_40625360/10865285,可下载源码。 下一篇奉上源码

2018-12-20 19:38:39 442

飞机大战综训项目

仿照全名飞机大战,最初的框架采用了https://blog.csdn.net/mbl114/article/category/7177510这位大佬的。后面都是自己添加完成的综训作业

2018-12-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除