Open GoogleCodeExporter opened 9 years ago
this is why the pause layer could not make the sublayers draw the boxes. so, i
know
why now.
i dont know we should/could fix this. the pausescene method we are using is
actually
too expensive. we could just grab a texture of the last frame and paste that.
no need
to actually render everything every frame. this could be done with a "grab
screen"
action, that gets the texture and automatically calls a function with the
texture as
parameter.
but i dont know if there are other uses form calling visit/on_draw at something
that
is not on stage.
Original comment by lucio.to...@gmail.com
on 26 Apr 2008 at 9:14
grab screen is a nice solution.
Original comment by ricardoq...@gmail.com
on 26 Apr 2008 at 9:24
fixed using grab screen. internal change only! but not an action, just a call to
pyglet to read the color buffer. (that is, we dont render to texture first)
Original comment by lucio.to...@gmail.com
on 30 Apr 2008 at 8:13
Original issue reported on code.google.com by
ricardoq...@gmail.com
on 26 Apr 2008 at 2:28