• DBGE

    @omz
    Dear Omz,

    While I found your solution for Multiscene very elegant, I discovered that it does not work when calling variable such as size, bounds or dt.
    The reason is that these variables are apparently generate during run.

    A solution is to use the following definition

    def setup(self):
        #print 'bounds', self.bounds
        #print self.size
        self.active_scene.size = self.size
        self.active_scene.bounds = self.bounds
        self.active_scene.dt = self.dt
        self.active_scene.setup()
    def switch_scene(self, new_scene):
        self.active_scene = new_scene
        self.active_scene.size = self.size
        self.active_scene.bounds = self.bounds
        self.active_scene.dt = self.dt
        new_scene.setup()
    

    with this modification the Multiscene works properly even with the nice example of multilayers with the snake.

    Many thanks for all the work

    posted in Pythonista read more
  • DBGE

    @omz First of all, many thanks for all the good and useful work you have done. As I have an app with Bluetooth LE, I'll be happy to test the newest beta release.

    My AppleID is

    daniel.bertrand@hiqscreen.com

    Looking forward to hear from you.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!