Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(3)  |  Derive(1)  |  Import(4)

src/f/l/Flappy-0.3.7/samples/text.py   Flappy(Download)
import flappy
from flappy.display import Sprite
from flappy.text import TextField, TextFormat, TextFieldAutoSize, Font
 
WIDTH = 800
    def __init__(self):
        super(TextExample, self).__init__()
 
        def_format = TextFormat(size=24, font='_serif')
        txt = TextField()

src/f/l/Flappy-0.3.7/samples/mouse.py   Flappy(Download)
from flappy.display import Sprite
from flappy.events import Event, MouseEvent
from flappy.text import TextField, TextFieldAutoSize
from flappy.ui import Mouse
 
        gfx.endFill()
 
        self.txt = TextField()
        self.txt.selectable = False
        self.txt.autoSize = TextFieldAutoSize.LEFT

src/f/l/Flappy-0.3.7/samples/hello_world.py   Flappy(Download)
import flappy
from flappy.display import Sprite
from flappy.text import TextField
 
 
class HelloWorld(Sprite):
 
    def __init__(self):
        super(HelloWorld, self).__init__()
        txt = TextField()

src/f/l/Flappy-0.3.7/flappy/display/fps.py   Flappy(Download)
 
from flappy.text import TextField, TextFormat, TextFieldAutoSize
from flappy.events import Event
import time
 
class FPS(TextField):