Talk:Spray Play: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: == Adding custom colored XOs == Currently, the X is a PNG with fixed colors, and the O is just a colored circle. One can key out a 3-color image (inner, outer, transparent) ball = pygame...)
 
(+?)
 
Line 8: Line 8:


-[[User:Bjordan|Bjordan]] 13:09, 10 June 2007 (EDT)
-[[User:Bjordan|Bjordan]] 13:09, 10 June 2007 (EDT)

== update for upcoming build? ==
I'd love to see a patched version in the next olpc build -- any chance of a round of feature requests and updates? [[User:Sj|Sj]] [[User talk:Sj|<font color="fc9"><small>talk</small></font>]] 20:09, 19 June 2007 (EDT)

Latest revision as of 00:09, 20 June 2007

Adding custom colored XOs

Currently, the X is a PNG with fixed colors, and the O is just a colored circle.

One can key out a 3-color image (inner, outer, transparent)

ball = pygame.image.load("test.png")
ball.set_palette([(255, 0, 0), (255, 0, 0), (0, 0, 0)])

-Bjordan 13:09, 10 June 2007 (EDT)

update for upcoming build?

I'd love to see a patched version in the next olpc build -- any chance of a round of feature requests and updates? Sj talk 20:09, 19 June 2007 (EDT)