Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / pygame_lesson5_diy1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit e677492b authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 3b2dc050
Hide whitespace changes
Inline Side-by-side
Showing with 9 additions and 2 deletions
  • bj.png
  • hl.png
  • YXZZ.PY → hulingchuanqi.py
bj.png
View file @ e677492b
bj.png

1.48 KB | W: | H:

bj.png

1.69 KB | W: | H:

bj.png
bj.png
bj.png
bj.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed. Click to expand it.
hl.png
View file @ e677492b
hl.png

1.39 KB | W: | H:

hl.png

1.37 KB | W: | H:

hl.png
hl.png
hl.png
hl.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed. Click to expand it.
YXZZ.PY → hulingchuanqi.py
View file @ e677492b
import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((500,400))
bj = pygame.image.load('bj.png')
hl = pygame.image.load('hl.png')
while True:
screen.blit(bj, (0, 0))
screen.blit(hl, (85, 25))
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
screen.blit(bj, (0, 0)) # 填充背景
screen.blit(hl, (210, 232))
pygame.display.update()
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment