Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-10 Thread Ian Mallett
The largest surface my laptop can handle is 16383x16383

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-10 Thread RB[0]
The biggest problem with that is that pygame limits the size of any one surface - at least for me. I can't remember what it was but somewhere around 16k x 16k pixels? On Wed, Mar 10, 2010 at 7:19 AM, Nikhil Murthy wrote: > This is not in the least meant to be a serious solution for super surface

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-10 Thread Nikhil Murthy
This is not in the least meant to be a serious solution for super surfaces, it is just an idea I had and tried out for the fun of it. import pygame def supersurface(*surfaces): """*(surface, rect) -> supersurface, *subsurfaces Takes surfaces with their rectangles and forms a surface made

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-09 Thread René Dudfield
On Sun, Mar 7, 2010 at 6:47 PM, B W wrote: > > > On Sat, Mar 6, 2010 at 11:44 AM, Kris Schnee wrote: >> >> On 3/5/2010 10:40 AM, René Dudfield wrote: >>> >>> However, sometimes we would like to operate on a whole bunch of >>> smaller surfaces stuck together. >> >> I've done several projects using

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-09 Thread René Dudfield
On Sat, Mar 6, 2010 at 7:44 PM, Kris Schnee wrote: > On 3/5/2010 10:40 AM, René Dudfield wrote: >> >> Hello, > >> pygame already has a subsurface, which is part of a larger surface. >> It refers to the same pixels as the surface it comes from. >> >> However, sometimes we would like to operate on a

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-07 Thread Kris Schnee
On 3/7/2010 1:47 PM, B W wrote: [Me:] I've done several projects using a full-screen scrolling tilemap. That is, sprites walking around on a blanket of 2D tiles drawn from an array as big as 1000x1000 referencing a set of 50x50 tiles. I did something very similar with Gummworld. Th

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-07 Thread B W
On Sat, Mar 6, 2010 at 11:44 AM, Kris Schnee wrote: > On 3/5/2010 10:40 AM, René Dudfield wrote: > >> However, sometimes we would like to operate on a whole bunch of >> smaller surfaces stuck together. >> > > I've done several projects using a full-screen scrolling tilemap. That is, > sprites wal

Re: [pygame] super surface... a surface made up of many smaller surfaces

2010-03-06 Thread Kris Schnee
On 3/5/2010 10:40 AM, René Dudfield wrote: Hello, pygame already has a subsurface, which is part of a larger surface. It refers to the same pixels as the surface it comes from. However, sometimes we would like to operate on a whole bunch of smaller surfaces stuck together. I've done several

[pygame] super surface... a surface made up of many smaller surfaces

2010-03-05 Thread René Dudfield
Hello, pygame already has a subsurface, which is part of a larger surface. It refers to the same pixels as the surface it comes from. However, sometimes we would like to operate on a whole bunch of smaller surfaces stuck together. Unfortunately it's a lot harder to code compared to a subsurface