Beispiel #1
0
 def on_transition_in(self) -> None:
     from bastd.actor.tipstext import TipsText
     from bastd.actor.background import Background
     super().on_transition_in()
     self._background = Background(fade_time=0.5,
                                   start_faded=False,
                                   show_logo=True)
     if self._default_show_tips:
         self._tips_text = TipsText()
     setmusic(self.default_music)
Beispiel #2
0
 def on_transition_in(self) -> None:
     # pylint: disable=cyclic-import
     from bastd.actor.tipstext import TipsText
     from bastd.actor.background import Background
     super().on_transition_in()
     self._background = Background(fade_time=0.5,
                                   start_faded=True,
                                   show_logo=True)
     self._tips_text = TipsText()
     setmusic(MusicType.CHAR_SELECT)
     self._join_info = self.session.lobby.create_join_info()
     _ba.set_analytics_screen('Joining Screen')
Beispiel #3
0
 def _show_tips(self) -> None:
     from bastd.actor.tipstext import TipsText
     self._tips_text = TipsText(offs_y=70)