04f1cbd380089914f822a46349da6972e64b3433
7 def _get_launch_image() :
8 imagePath
= os
.path
.abspath(__file__
).split(os
.path
.sep
)[:-1]
9 imagePath
.extend(['data', 'accueil.png'])
10 return os
.path
.sep
.join(imagePath
)
13 imagePath
= LaunchScreen
._get
_launch
_image
()
14 self
.image
= pygame
.image
.load(imagePath
)
15 size
= self
.image
.get_size()
16 pygame
.display
.set_mode(size
, pygame
.NOFRAME
)
17 screen
= pygame
.display
.get_surface()
18 screen
.blit(self
.image
, (0,0))