The KarelScripter inherits from GraphicsScripter which allows you to use such
drawing methods,
eg:
TurnOn
Move
DrawString "Hello", X, Y
TurnLeft
Move
However, anything drawn using GraphicsScripter calls is erased by the next step
as the complete
background world is redrawn.
What is needed is some plane for the GraphicsScripter logic to draw to which is
retained but still
allows the KarelScripter objects to be drawn on top. Given relatively low
priority because, whilst a
neat thing to do, this is not a significant feature for initial rbKarel users.
==Thoughts==
* Use a Backdrop picture whilst the KarelScripter is running and the direct Graphics of the
Canvas whilst the KarelWorld script is running.
* Require user to explicitly switch to a UseBackground option which might be useful to teach
them about flipping planes (or just confusing)
Original issue reported on code.google.com by dentaroo@gmail.com on 28 Apr 2009 at 2:26
Original issue reported on code.google.com by
dentaroo@gmail.com
on 28 Apr 2009 at 2:26