« first day (1858 days earlier)      last day (1508 days later) » 

6:45 PM
import sys

import pygame
from pygame.sprite import Group

from settings import Settings
from pygame.locals import QUIT
from ship import Ship
import game_functions as gf

def run_game():

# initialize pygame, settings, and screen object.
pygame.init()
ai_settings = Settings()
self.screen = screen

# Make a ship
ship = Ship(ai_settings,screen)
# Make a group to store bullets in.
bullets = Group()

screen = pygame.display.set_mode((ai_settings.screen_width, ai_settings.screen_height))
pygame.display.set_caption("Ship_left")
hope it is short enough.
 
someone could help with vscode configuration? stackoverflow.com/questions/60791041/…
 
7:05 PM
3 messages moved from Python
 

« first day (1858 days earlier)      last day (1508 days later) »