MCPcopy Index your code
hub / github.com/initialcommit-com/git-sim / show_outro

Method show_outro

src/git_sim/git_sim_base_command.py:219–241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

217 self.camera.frame.save_state()
218
219 def show_outro(self):
220 if settings.animate and settings.show_outro:
221 self.play(m.Restore(self.camera.frame))
222
223 self.play(self.logo.animate.scale(4).set_x(0).set_y(0))
224
225 outroTopText = m.Text(
226 settings.outro_top_text,
227 font=self.font,
228 font_size=36,
229 color=self.fontColor,
230 ).to_edge(m.UP, buff=1)
231 self.play(m.AddTextLetterByLetter(outroTopText))
232
233 outroBottomText = m.Text(
234 settings.outro_bottom_text,
235 font=self.font,
236 font_size=36,
237 color=self.fontColor,
238 ).to_edge(m.DOWN, buff=1)
239 self.play(m.AddTextLetterByLetter(outroBottomText))
240
241 self.wait(3)
242
243 def fadeout(self):
244 if settings.animate:

Callers 15

constructMethod · 0.95
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected