import pygame,sys,os,random,math,cmath def initierea_n_secta(): pygame.init() initierea_n_secta() lun,lat=1100,800 WIN=pygame.display.set_mode((lun,lat)) FPS=60 WIN.fill((0,255,0)) clock=pygame.time.Clock() pygame.display.set_caption("INVADERS OF PERDOR") fundal=pygame.image.load(os.path.join('shits',"themap.jpg")) pius=pygame.image.load(os.path.join('shits',"bulletsus.png")) piuj=pygame.image.load(os.path.join('shits',"bulletjos.png")) Razboinic=pygame.image.load(os.path.join("shits","warrior.png")) Control_Panel=pygame.image.load(os.path.join("shits","Kontrol.png")) run=True ### PLAYER STATISTICS####################33 playerX=490 playerY=600 playerbx=490 playerby=575 move=0 statusul='ready' bullety_change_player=0 #MIN SI MAX DE MOVEMENT RANGE PT ORICE ENEMY####################33 maximx=1050 maximy=350 minx=0 miny=20 random_enemy_x=random.randint(minx,maximx) random_enemy_y=random.randint(miny,maximy) ##################### REPERE PT TIMP ########################### current_time=0 shittime=0 kronos=0 ######## AMOUNT DAMAGE TAKEN SI HEAL CU BUFFURI ####################### amount_damage_taken=0 amount_damage_taken_mob=0 heal=0 buff=0
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter