[OLPC-Games] Problems with svgsprite

Cory Lueninghoener cluening at gmail.com
Sun Feb 3 22:05:19 EST 2008


I've been playing with olpcgames this weekend, but I can't seem to get
past a problem (or maybe it's a feature?) that's exhibited in the
svgsprite demo: no matter what I do, I can't get both the fill and the
stroke of the svg to display correctly.  In the case of the svgsprite
example the hammer sprite ends up with transparent stroke, and in my
own bits of code my strokes and fills end up in weird colors and/or
being weirdly transparent.  Is this a known issue, a "feature", or
something new?

For context, my final goal is to draw an svg sprite on a gameboard
with the user's chosen stroke/fill.  At the moment I don't see an easy
way to make that happen either, but I'm taking things one step at a
time.  If there's a better way to do this, I'd love to hear it.

System stats: G1G1 laptop and QEMU virtual machine (both act the
same), build 650, olpcgames 1.4 and 1.5.

-- 
Cory Lueninghoener
Perl, C, & Linux Hacker
http://www.wirelesscouch.net/~cluening/


More information about the Games mailing list