Hello,
I tried revision #103.
The crash is fixed.
But not all sprites are displayed.
Roughly 50x80 is displayed with this example.
The last drawn sprite is distorted. See attachment bug_screen.png.
-------------------------------------------
import sys,os
floor=loadImage('block1.png', wrapped=True)
spr=[ list( list() for x in range(80) ) for x in range(80) ]
for y in range(80):
for x in reversed(range(80)):
if x%10 == 0 and y%10 == 0: continue spr[y][x]=Sprite(image=floor, position = ( -100+(x+y)*16, 500+(y-x)*8 ) )
while 1:
for event in pygame.event.get():
if event.type == pygame.KEYDOWN:
if event.key== pygame.K_ESCAPE: sys.exit()
if event.type == pygame.QUIT: sys.exit()
Hello, ------- ------- ------- ------- ------- -
I tried revision #103.
The crash is fixed.
But not all sprites are displayed.
Roughly 50x80 is displayed with this example.
The last drawn sprite is distorted. See attachment bug_screen.png.
-------
import sys,os
from pygl3display import *
configure('pygame')
GLCommon. initEnvironment ((1680, 1050),fullscree n=True)
import pygame
from pygame.locals import *
floor=loadImage ('block1. png', wrapped=True)
spr=[ list( list() for x in range(80) ) for x in range(80) ]
for y in range(80): range(80) ):
continue
spr[y] [x]=Sprite( image=floor, position = ( -100+(x+y)*16, 500+(y-x)*8 ) )
for x in reversed(
if x%10 == 0 and y%10 == 0:
while 1:
sys.exit( )
sys. exit()
for event in pygame.event.get():
if event.type == pygame.KEYDOWN:
if event.key== pygame.K_ESCAPE:
if event.type == pygame.QUIT:
GLCommon. doTasks( ) ------- ------- ------- ------- ------- -
-------