Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rezise object pygame

import pygame

# Load picture
picture = pygame.image.load("your/file/directery.png") # choose a picture and spesefy directery

# Resize
picture = pygame.transform.scale(picture # spesefy the objekt, (100, 100))# here is the scale by pixels
 
PREVIOUS NEXT
Tagged: #rezise #object #pygame
ADD COMMENT
Topic
Name
8+4 =