• a1ph4b3ta

    @cvp It works now. Thanks a lot!

    posted in Pythonista read more
  • a1ph4b3ta

    I have a scene.SpriteNode object with the plf:Tile_Spikes texture. I put it at the top of the scene so I want to make the spikes face downwards. How can I do it ?

    Screenshot: https://imgur.com/snJXH8Z

    The part of the code which creates spikes:

    class Game(scene.Scene):
    
        def make_spikes(self):
            x = 0
            while True:
                if x >= self.size.height:
                    break
                spike = scene.SpriteNode('plf:Tile_Spikes', position=(x, self.size.height))
                self.add_child(spike)
                self.spikes.append(spike)
                x += 64
    

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!