[OLPC-Games] Kuku: Don't reload images
Julius B. Lucks
julius at younglucks.com
Mon Aug 20 10:23:29 EDT 2007
Hey Chris,
There is something wrong with this patch. When I apply it, the game
does not recognize the correct answer anymore (i.e. pecking the
watermelon when the question is '1' registers the wrong answer). You
can see the code I am viewing by doing the following in git
git checkout master #make sure you are in the master branch
git pull # make sure you have up to date code
git checkout -b kuku_patch
git apply 0001-change-set_answer-to-only-load-images-if-they-aren-t.txt
Then execute the game. The second patch you sent works fine, but
when I apply both, I am not able to move on to the math questions -
it poses a math question in the upper left hand screen, but I still
see the fruit.
Can you verify these bugs? I'll commit the patches once they are
working.
Cheers,
J
------------------------------------------------------------------------
---------------
Please Reply to My Permanent Address: julius at younglucks.com
http://www.openwetware.org/wiki/User:Julius_B._Lucks
------------------------------------------------------------------------
----------------
On Aug 20, 2007, at 9:54 AM, Christopher Schmidt wrote:
> Two bugs, one fixed, one outstanding:
> * tile.py:draw() is called too often.
> * when draw() is called, and hence set_answer, it reloads the
> image, even
> if the image name is exactly the same.
>
> The first I haven't dug into yet, though I think I found out where it
> was earlier.
>
> The second is fixed by the attached patch.
>
> (Still figuring out git -- let me know if there's a better way to get
> this together?)
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> <0001-change-set_answer-to-only-load-images-if-they-aren-t.txt>
> _______________________________________________
> Games mailing list
> Games at lists.laptop.org
> http://lists.laptop.org/listinfo/games
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/games/attachments/20070820/4e66cd38/attachment.htm
More information about the Games
mailing list