2008-04-03から1日間の記事一覧
#-*- coding:sjis -*- import pygame from pygame.locals import * class Player: def __init__(self,scr): #クラスの初期化 self.rect = pygame.Rect(0,0,40,10) #player のサイズ self.color = (0, 255, 128) #playerの色 self.rect.center = (160,200) #p…
#-*- coding:sjis -*- import pygame from pygame.locals import * class Player: def __init__(self,scr): #クラスの初期化 self.rect = pygame.Rect(0,0,40,10) #player のサイズ self.color = (0, 255, 128) #playerの色 self.rect.center = (160,200) #p…