예제 #1
0
    def text(self):
        osl.setTextColor(osl.RGBA(0, 0, 0, 255))
        osl.setBkColor(osl.RGBA(0, 0, 0, 0))

        osl.printxy(1, 5, 'OSLib sprite sample')
        osl.printxy(1, 25, 'Joypad to move Mickey')
        osl.printxy(1, 35, 'Joystick to deform Mickey')
        osl.printxy(1, 45, '[] & () to zoom Mickey')
        osl.printxy(2, 55, 'X & ^ to smooth')
        osl.printxy(1, 65, 'L & R to rotate Mickey')
        osl.printxy(1, 75, 'Start to quit')
예제 #2
0
    def text(self):
        osl.setTextColor(osl.RGBA(0, 0, 0, 255))
        osl.setBkColor(osl.RGBA(0, 0, 0, 0))

        osl.printxy(1, 5, "OSLib Maps & Sound sample")
        osl.printxy(1, 25, "Left/right: display maps")
        osl.printxy(1, 35, "Up/down: more/less maps")
        osl.printxy(1, 45, "Joystick: scroll maps")
        osl.printxy(1, 55, "R: play music")
        osl.printxy(1, 65, "[]: pause music")
        osl.printxy(1, 75, "^: stop music")
        osl.printxy(1, 85, "X & (): play sounds")
        osl.printxy(1, 105, "Start: quit")
예제 #3
0
    def text(self):
        osl.setTextColor(osl.RGBA(0, 0, 0, 255));
        osl.setBkColor(osl.RGBA(0, 0, 0, 0));

        osl.printxy(1, 5, 'OSLib Maps & Sound sample');
        osl.printxy(1, 25, 'Left/right: display maps');
        osl.printxy(1, 35, 'Up/down: more/less maps');
        osl.printxy(1, 45, 'Joystick: scroll maps');
        osl.printxy(1, 55, 'R: play music');
        osl.printxy(1, 65, '[]: pause music');
        osl.printxy(1, 75, '^: stop music');
        osl.printxy(1, 85, 'X & (): play sounds');
        osl.printxy(1, 105, 'Start: quit');