Hi all,
After a few days' break I've returned to modifying the xpenguins source to
run in a window of my choosing (e.g. terminal).
I've finally (partially) resolved the problem of restoring the background
behind the penguins (so they don't leave trails where they've walked over
icons and such)
Can anyone think of a nice way to handle this? The only thing I can think
of is to do some sort of collision/overlapping detection and then be careful
about the bits of background that gets copied between the penguins in
question.
Or accumulate all your updates then merge them and do them
Sounds like a very fun X benchmark in the making -- Hey Eric, I get
20K xpenguin per second on this build!
... a Grug theme for xpenguins
Can you provide a link to that idea? My Google search had some odd results.
On Mon, Jun 6, 2011 at 1:32 AM, Amy C mathematical.cof...@gmail.com wrote:
On 2011-06-06 02:32, Amy C wrote:
Can anyone think of a nice way to handle this?
Create one window per penguin, using the SHAPE extension. The server
will handle this (and most of the rest of the things you mention above)
so you don't have to.
A related question -- do you think it's viable to
On Mon, Jun 6, 2011 at 2:10 AM, Alan Cox a...@lxorguk.ukuu.org.uk wrote:
However I'm not a computer scientist and the only way that makes sense for
me to implement this is lots of inefficient loops to check every penguin
against every other penguin.
That's a beginners game writing question
Thanks all for your suggestions, they're much appreciated!
I'm going to try the collision detection as an exercise since it seems
like a classic problem and I have an easy case (2D rectangles).
I'll also look into the SHAPE extension and have a tinker.
Pat - the Grug books by Ted Prior were