Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Loops help
-
How to make that in a loop?:
<pre>
def touch_began(self, touch):
if touch.location in self.layer1.frame:
sound.play_effect('Click_1')
self.root_layer.add_layer(self.layer2)
self.root_layer.remove_layer(self.layer1)if touch.location in self.layer2.frame: sound.play_effect('Beep') self.root_layer.add_layer(self.layer1) self.root_layer.remove_layer(self.layer2) if touch.location in self.layer1.frame: sound.play_effect('Click_1') self.root_layer.add_layer(self.layer2) self.root_layer.remove_layer(self.layer1) ...</pre>