1. pygame
  2. pygame
  3. pygame
  4. Issues


Issue #145 resolved

rotozoom error!

Anonymous created an issue

Hello, I'm doing some tests with 1.9.2a0 for python 3.2 (msi installer under windows 7), and when I use "pygame.transform.rotozoom", this gives me the following error:

**Fatal Python error: (pygame parachute) Segmentation Fault

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.**

The code is this:

**import pygame, sys

pygame.init() pantalla = pygame.display.set_mode((500, 500)) pygame.display.set_caption("pantalla")

imagen_original = pygame.image.load("cuadro_verde.png").convert_alpha() imagen = imagen_original

while True: for eventos in pygame.event.get(): if eventos.type == pygame.QUIT: sys.exit() if eventos.type == pygame.KEYDOWN: if eventos.key == pygame.K_F12: sys.exit() imagen = pygame.transform.rotozoom(imagen_original, 45.0, 200.0) pantalla.blit(imagen, (200, 200)) pygame.display.flip()**