예제 #1
0
def Historia():
	cena1 = Cena (img = "https://i.imgur.com/0mwf17P.png")
	gato = Elemento (img = transparente,
                      tit="Robinson Crusoe",
                      style=dict(left=150, top=60, width=60, height=200))
	gato.entra(cena1)
	txtGato = Texto (cena1, "The dream of Robinson Crusoe's life was to get out of the city into the sea. But he was dissatisfied with this.Then he saw a friend that the father had a ship and so I decided to sail to London with them. During the trip there was a storm and the RC was very sickly thinking about giving up, but the next day was calm and went on a trip to London. He spent a period in London and made a trip to Africa, but a Turkish pirate ship took ours and made us slaves. For more information, visit our Turkish scanning page.")
	gato.vai = txtGato.vai
	cena1.vai()
예제 #2
0
파일: main.py 프로젝트: kwarwp/eva
def Historia():
	cena3 = Cena (img = "https://i.imgur.com/I2u7XCz.png")
	moana = Elemento (img = transparente, 
                       tit="Robinson Crusoe",
                       style=dict(left=10, top=60,  Width=60, height=50))
	moana.entra(cena3)                       
	txtmoana = Texto (cena3, "For two years I lived a slave life, until I managed to escape using a fishing boat. But I was still in Africa, afraid of animals and the dangers that could be there. He was drifting for a while until being rescued by a Portuguese ship that took him to Brazil.")
	moana.vai = txtmoana.vai
	cena3.vai ()
예제 #3
0
파일: main.py 프로젝트: kwarwp/lorinda
 def mostra_conteudo_pergaminho(self, *_):
     Texto(
         self.pergaminho,
         "UAU, você conseguiu passar a fase lembrar! Achei uma saída pela direita!"
     ).vai()
     #Texto(self.pergaminho, "parabéns, agora vamos ver para onde vamos!").vai()
     self.pergaminho.direita = Cena()
     self.pergaminho.direita.vai = self.mostra_biblioteca
     print("mostra_conteudo_pergaminho")
예제 #4
0
파일: main.py 프로젝트: kwarwp/eva
def Historia():
	cenaParque = Cena (img = "http://starkovtattoo.spb.ru/images/400/DSC100466834.jpg")
	mickey = Elemento (img = linkDoMickey,
                        tit="Mickey",
                        style=dict(left=20, top=60, width=150, height=500))
	mickey.entra(cenaParque)
	txtMickey = Texto (cenaParque, "Hello")
	mickey.vai = txtMickey.vai
	cenaParque.vai()
예제 #5
0
파일: main.py 프로젝트: kwarwp/mary_lou
def Historia():
    cenaHolmes = Cena(img=cena11)
    elem = Elemento(img=elemento,
                    tit="Story",
                    style=dict(left=150, top=60, width=120, hight=200))
    elem.entra(cenaHolmes)
    txtElem = Texto(cenaHolmes, "Hello")
    elem.vai = txtElem.vai
    cenaHolmes.vai()
예제 #6
0
def historia():
    cenaAMBIENTE3 = Cena(img="https://i.imgur.com/rkX57B2.png")
    pessoa = Elemento(img=linkpessoa,
                      tit="Pessoa",
                      style=dict(top=60, left=150, height=200, width=60))
    txtpessoa = Texto(cenaAMBIENTE3, "This is our digital environment.")
    pessoa.vai = txtpessoa.vai
    pessoa.entra(cenaAMBIENTE3)
    cenaAMBIENTE3.vai()
예제 #7
0
파일: main.py 프로젝트: kwarwp/eva
def Historia():
	cenaFeliz = Cena (img = "http://4.bp.blogspot.com/-Ys6mlN-qZaE/VXgmiaGmdyI/AAAAAAAAGoA/fIt-6VwUrdI/s1600/fundos-para-montagens-de-fotos-infantil%2B%25285%2529.jpg")
	faniquita = Elemento (img = linkFaniquita,
                           tit="Faniquita",
                           style=dict(left=70, top=60, width=100, height=60))
	faniquita.entra(cenaFeliz)
	txtfaniquita = Texto (cenaFeliz, "Hello")
	faniquita.vai = txtfaniquita.vai
	cenaFeliz.vai()
예제 #8
0
    def entrou_2(self, *_):
        def resposta(optou):
            respondeu = dict(
                A=Texto(self.roma, "Parabéns! Você acertou", foi=self.entrou_3),
                B=Texto(self.roma, "Essa grave doença veio depois."),
                C=Texto(self.roma, "O sonho aconteceu em Roma"),
            )
            respondeu[optou].vai()

        self.ft_p.vai()
        self.padre.entra(self.ft_p)
        acontecimento = Texto(self.roma, "Após qual acontecimento ele foi para Roma estudar?",
                               foi=resposta, A="A morte de seus pais", B="Uma grave doença", C="Um sonho")
        self.ft_p.vai()
        self.padre.entra(self.roma)
        self.padre.vai = Texto(self.roma,
                               "Após a morte de seus pais, Jerônimo foi para Roma estudar e durante sua permanencia teve um sonho muito importante para sua conversão."
                               , foi=acontecimento.vai).vai
        self.roma.vai()
예제 #9
0
    def entrou_12(self, *_):
        def resposta(optou):
            respondeu = dict(
                A=Texto(self.frase, "O autor desta frase é João Paulo II"),
                B=Texto(self.frase, "Esta frase é pensamento de Santa Teresinha"),
                C=Texto(self.frase, "Correto!!",foi=self.sagrada),
            )
            respondeu[optou].vai()

        
        self.padre.vai = Texto(self.frase, "Qual destas é uma frase de São Jerônimo",
                               foi=resposta,
                               A="Depositemos sempre a nossa confiança no Espírito Santo, para descobrirmos em cada situação nova uma ocasião para alargar o amor redentor de Cristo.",
                               B="O bom Deus, que conhece as recompensas que Ele reserva a seus amigos, gosta, muitas vezes, de fazê-los ganhar seus tesouros por meio de sacrifícios",
                               C="Ignorar as Escrituras Sagradas é ignorar a Cristo.").vai
        self.padre.entra(self.frase)
        self.sagrada = Texto(self.frase,
                               "A frase mais conhecida de nosso padroeiro é:  Ignorar as Escrituras Sagradas é ignorar a Cristo", foi=self.entrou_final).vai
        self.frase.vai()
예제 #10
0
def Historia():
	cenaHolmes = Cena( img = cena3)
	elem = Elemento  (img = elemento,
                       tit="Story",
                       style=dict(left=150, top=60, width=60, hight=200))
	elem.entra(cenaHolmes)
	txtElem = Texto (cenaHolmes,
    			 "Holmes is looking at a hat. Deduct who owns it.")
	elem.vai = txtElem.vai
	cenaHolmes.vai()
예제 #11
0
class FlorestaMacaco:
    def __init__(self, floresta_inicio=0, vida=3):
        floresta_faca = CenaProxy()
        floresta_inicio = Cena(FLORESTA, direita=floresta_faca)
        self.floresta_inicio = floresta_inicio
        self.fala = Texto(self.floresta_inicio, TEXTO_MACACO)
        self.macaco = Elemento(MACACO,
                               style=dict(left="700px",
                                          top="400px",
                                          width="100px"))
        self.macaco.entra(floresta_inicio)
        self.macaco.vai = self.falamacaco
        #floresta_inicio.vai()

    def vai(self):
        self.floresta_inicio.vai()

    def falamacaco(self, _):
        self.fala.vai()
예제 #12
0
파일: main.py 프로젝트: kwarwp/joan
def Historia():
    cenaFloresta = Cena(img = linkFloresta)
    fairy = Elemento(img = linkFairy,
                     tit = "Trixy",
                     style = dict(left=150, top=150, width=60, height=100))
    fairy.entra(cenaFloresta)
    txt1 = Texto(cenaFloresta,
                 "I love my forest!")
    fairy.vai = txt1.vai             
    cenaFloresta.vai()
예제 #13
0
def lavaardente():
    cenaVulcao = Cena (img = lavaArdente)
    #CHAMA O ELEMENTO FAUSTAO E O TEXTO 
    elementofaustao = Elemento(img = faustao, 
                     tit = "Faustão", 
                     style = dict (top = 400, left = 190, height = 100, width = 200))
    elementofaustao.entra(cenaVulcao)
    textofaustao = Texto(cenaVulcao,
                      "Tá pegando fogo bixo")
    elementofaustao.vai = textofaustao.vai
예제 #14
0
파일: main.py 프로젝트: kwarwp/mary_lou
def Historia  ():
	cenaHolmes = Cena(img = cena11)
	elem = Elemento( img = elemento, 
                     tit= "Story" ,
                     style=dict(left=150, top=60,width=120, hight=200))
	elem.entra(cenaHolmes)
	txtElem = Texto (cenaHolmes,
				"I'm Sherlock Holmes. I'm a detective who likes to follow clues and solve mysteries")
	elem.vai = txtElem.vai
	cenaHolmes.vai ()
예제 #15
0
파일: main.py 프로젝트: kwarwp/erna
def Historia():
    cenaFloresta = Cena(
        img="http://homeroreis.com/wp-content/uploads/2015/10/floresta.jpg")
    cacador = Elemento(img=CACADOR,
                       tit="Caçador",
                       style=dict(left=150, top=60, width=60, height=200))
    cacador.entra(cenaFloresta)
    txtcacador = Texto(cenaFloresta, "Hello")
    cacador.vai = txtcacador.vai
    cenaFloresta.vai()
예제 #16
0
파일: main.py 프로젝트: kwarwp/mary_lou
def Historia():
	cenaHolmes = Cena( img = cena9)
	elem = Elemento( img = elemento,
                     tit="Story",  
                     style=dict(left=150, top=60, width=60, hight=200))
	elem.entra(cenaHolmes)
	txtElem = Texto (cenaHolmes,
    			"Holmes gave an old newspaper")
	elem.vai = txtElem.vai
	cenaHolmes.vai()
예제 #17
0
def Historia():
    cenaHolmes = Cena(img=cena11)
    elem = Elemento(img=elemento,
                    tit="Story",
                    style=dict(left=150, top=60, width=60, hight=200))
    elem.entra(cenaHolmes)
    txtElem = Texto(cenaHolmes,
                    "The duchess is awaiting news of a possible pregnancy.")
    elem.vai = txtElem.vai
    cenaHolmes.vai()
예제 #18
0
def Historia():
	cenaHouse = Cena(img = "https://i.pinimg.com/originals/3f/36/7f/3f367f727042a6c6b03301167d113104.jpg")
	gato = Elemento (img = elemento_gato,
                      tit="Gato Laranja",
                      style = dict( left=150, top =60, width=60, height=200))
	gato.entra(cenaHouse)
	txtGato = Texto(cenaHouse,
                     "Tom gosta de se esconder da Tia que sempre reclama. Era sábado e a tia pediu para ele pintar a cerca como castigo. Enquanto pintava, Ben passou e pediu para ajudar Tom disse que só aceitaria ajuda se ele desse uma maçã. Tom foi para casa , no caminho encontrou uma linda garota no jardim. Era a Amy, ele se apaixonou na hora.")
	gato.vai = txtGato.vai                     
	cenaHouse.vai()
예제 #19
0
파일: main.py 프로젝트: kwarwp/joan
def Historia():
    cena1 = Cena(img=linkdofundo)
    detetive = Elemento(img=linkdodetetive,
                        tit="Detetive",
                        style=dict(left=150, top=60, width=150, height=200))
    detetive.entra(cena1)
    txtdetetive = Texto(
        cena1, "Acaba de acontecer um roubo aqui no museu do Van Gogh!")
    detetive.vai = txtdetetive.vai
    cena1.vai()
예제 #20
0
def Historia():
    cenaHolmes = Cena(img=cena2)
    elem = Elemento(img=elemento,
                    tit="Story",
                    style=dict(left=150, top=60, width=150, hight=200))
    elem.entra(cenaHolmes)
    txtElem = Texto(cenaHolmes,
                    "I entered the room and Holmes was analyzing a hat")
    elem.vai = txtElem.vai
    cenaHolmes.vai()
예제 #21
0
def Historia():
    cenaKonohagurake = Cena(img=linkKonohagurake)

    naruto = Elemento(img=linkDoNaruto,
                      tit="naruto",
                      style=dict(left=75, top=60, width=150, height=200))
    naruto.entra(cenaKonohagurake)
    txtNaruto = Texto(cenaKonohagurake, "I need to practice to defeat Hanzõ! ")
    naruto.vai = txtNaruto.vai
    cenaKonohagurake.vai()
예제 #22
0
파일: main.py 프로젝트: cetoli/lorinda
    def texto_tres_leste(self, *_):
        self.tres.leste.vai()
        Texto(
            self.tres.leste,
            "Olá, parábens! Você conseguiu desvendar o código de iniciação que é a: Metíonina. Nessa fase cada porta possui uma sequência de codons, mas apenas uma irá se abrir. Para poder abrir a porta, você precisará levar o código de iniciação para a sequência certa"
        ).vai()
        foco_sul = Elemento(
            img=" https://i.imgur.com/6e096Va.png",
            x=100,
            y=100,
            w=150,
            h=200,
            drop=dropper,
            style={"opacity": 0},
            cena=self.tres.leste,
            vai=self.texto_quatro_leste,
            tit=
            "DNA: CCG ATC GAT ACG RNAm GGC TAG CTA UGC -> RNAm: UGA CGG UAC UGC -> Aminoácido PROT SER PRO TIR CIS"
        )
        foco_oeste = Elemento(
            img="https://i.imgur.com/6e096Va.png",
            x=350,
            y=100,
            w=150,
            h=200,
            drop=dropper,
            style={"opacity": 0},
            cena=self.tres.leste,
            vai=self.texto_quatro_sul,
            tit=
            " DNA: TTT TTC TCT TTT -> RNAm: UAA UAG UGA UAA -> Aminoácido: SER VAL ALA MET"
        )
        foco_norte = Elemento(
            img="https://i.imgur.com/6e096Va.png",
            x=650,
            y=100,
            w=150,
            h=200,
            drop=dropper,
            style={"opacity": 0},
            cena=self.tres.leste,
            vai=self.texto_cinco_leste,
            tit=
            "DNA: ACT GCC ATC AGG -> RNAm: UGA CGG UAC UGC -> Aminoácido: PROT SER PRO TIR CIS"
        )

        codon_iniciacao = Elemento(img="https://i.imgur.com/foWxout.png",
                                   x=250,
                                   y=350,
                                   w=650,
                                   h=200,
                                   cena=self.tres.leste)

        #foco_leste= Elemento (img= "https://i.imgur.com/6e096Va.png", x=940, y=100, w=150, h=200, style={"opacity": 0}, cena = self.tres.leste, vai = self.texto_cinco_sul)
        '''quando a porta se abrir:'''
예제 #23
0
파일: main.py 프로젝트: kwarwp/ida
def criarcenas():
    floresta = Cena(img=FLORESTA)
    mesa = Cena(img=MESA)
    pantano = Cena(img=PANTANO)
    castelo = Cena(img=CASTELO)
    floresta.direita = mesa
    mesa.direita = pantano
    pantano.direita = castelo
    castelo.esquerda = pantano
    pantano.esquerda = mesa
    mesa.esquerda = floresta

    tarzan = Elemento(img=TARZAN1, tit="Tarzan", style=dict(left=150, top=150))
    tarzan.entra(floresta)
    tarzan.vai
    homem_aranha = Elemento(img=HOMEM_ARANHA,
                            tit="Homem_Aranha",
                            style=dict(left=150, top=150, width=60,
                                       heigth=200))
    homem_aranha.entra(mesa)
    barbie = Elemento(img=BARBIE1,
                      tit="Barbie",
                      style=dict(left=150, top=150, width=60, heigth=200))
    barbie.entra(pantano)
    falabarbie = Texto(pantano, "Socorro!Socorro!Estou na areia movediça!!")
    barbie.vai = falabarbie.vai
    tarzan = Elemento(img=TARZAN2,
                      tit="Tarzan",
                      style=dict(left=100, top=100, width=190, height=100))
    tarzan.entra(castelo)
    tarzan.vai
    barbie = Elemento(img=BARBIE2,
                      tit="Barbie",
                      style=dict(left=150, top=150, width=60, heigth=200))
    barbie.entra(castelo)
    falabarbie = Texto(castelo, "Vamos para uma refeição!!")
    barbie.vai = falabarbie.vai

    def andatarzan(evento):
        tarzan.elt.style.left = 50

    floresta.vai()
예제 #24
0
파일: main.py 프로젝트: kwarwp/lorinda
 def pergunta(self, ev=None):
     if self.acabou == 0:
         return
     self.acabou -= 1
     self.multi = Texto(self.organela,
                        "Qual o meu nome?",
                        foi=self.resposta,
                        A="Lisossomo",
                        B="Peroxissomo ",
                        C="Complexo de Golgi",
                        D="Ribossomo").vai()
예제 #25
0
파일: main.py 프로젝트: kwarwp/mary_lou
def Historia():
	cenaHolmes = Cena(img = cena8)
	elem = Elemento( img = elemento,
                       tit="story",
                       style=dict(left=150, top=60, width=120, hight=200)) 
	elem.entra(cenaHolmes)
	txtElem = Texto (cenaHolmes,
    			
 "He broke the glass with his cane")
	elem.vai = txtElem.vai
	cenaHolmes.vai()
예제 #26
0
파일: main.py 프로젝트: kwarwp/lorinda
 def pergunta(self, ev=None):
     if self.acabou == 0:
         return
     self.acabou -= 1
     self.multi = Texto(self.parede,
                        "Quais são os processos do DNA?",
                        foi=self.resposta,
                        A="Transcrição, tradução e proteína",
                        B="Fagocitose,tradução e proteína",
                        C="Pinocitose,tradução e proteína",
                        D="Fagocitose,transdução e proteína").vai()
예제 #27
0
파일: main.py 프로젝트: kwarwp/mary_lou
def Historia():
    cenaHolmes = Cena(img=cena11)
    elem = Elemento(img=elemento,
                    tit="Story",
                    style=dict(left=150, top=60, width=60, hight=200))
    elem.entra(cenaHolmes)
    txtElem = Texto(
        cenaHolmes,
        "The porter who works for the Holmes family found the duck.")
    elem.vai = txtElem.vai
    cenaHolmes.vai()
예제 #28
0
def geometria():
    fundogeo = Cena(img=fundo)

    square = Elemento(img=quadrado,
                      tit="Adivinhe quem eu sou?",
                      style=dict(top=300, left=300, hight=300, width=300))
    square.entra(fundogeo)
    textosquare = Texto(fundogeo, "RETÂNGULO")
    square.vai = textosquare.vai

    fundogeo.vai()

    log = Elemento(img=losango3d,
                   tit="Adivinhe quem eu sou?",
                   style=dict(top=100, left=500, hight=300, width=300))
    log.entra(fundogeo)
    textolog = Texto(fundogeo, "LOSANGO")
    log.vai = textolog.vai

    fundogeo.vai()
예제 #29
0
파일: main.py 프로젝트: kwarwp/erna
def historia():
    cenaambiente9 = Cena(img="https://i.imgur.com/38Sq4Jm.png")
    aviao = Elemento(img=linkaviao,
                     tit="Aviao",
                     style=dict(top=260, left=150, height=60, width=60))
    txtaviao = Texto(
        ambiente9, "Feel free to those a computer. The teacher is on her way")

    aviao.vai = txtaviao.vai
    aviao.entra(ambiente9)
    cenaambiente9.vai()
예제 #30
0
    def acertou(self):
        Texto(self.sala,
              "Deus seja louvado! Agora posso continuar escrevendo a Vulgata"
              ).vai()
        self.quartos2 = self.ajuda

        def quartos2(self, *_):
            # Figuras geométricas/Traços (simples, duplos, triplos)
            #Casamento cosanguineo/Quatro indivíduas/Dois com anomalias/Dois normais do sexo masculino
            #dar um motivo para fazer esse quebra cabeça
            self.quartos2.vai()