June 2015
Intermediate to advanced
206 pages
4h 32m
English
You might realize from previous chapters that the Kivy language does more than simply transform its rules to Python instructions. For instance, you might see that when it creates properties, it also binds them.
When we do something common such as pos: self.parent.pos inside a layout, then the property of the parent is bound to its child. The child always moves to the parent position when the parent moves.
This is usually desirable but not all the time. Think about solo_attack of the invader. We need it to break formation and follow a free trajectory on the screen. While this happens, the whole formation of invaders continues moving from right to left and vice versa. This means that the invader will ...
Read now
Unlock full access