-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreview.py
More file actions
30 lines (28 loc) · 1.37 KB
/
preview.py
File metadata and controls
30 lines (28 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from game_core import *
@scene("preview")
class PreviewModule(Engine):
def start(self):
print("PreviewModule started")
# self.core.instantiate(SnowflakeEffectPrefab)
# self.core.instantiate(MagGenPrefab)
# self.core.instantiate(GeoDrawerPrefab)
# self.core.instantiate(DebugFpsPrefab)
# self.core.instantiate(ProjectionPrefab)
# self.core.instantiate(AiTownSpawnerPrefab)
# self.core.instantiate(AiSimulationSpawnerPrefab)
# self.core.instantiate(SpaceshipPrefab)
# self.core.instantiate(GridViewPrefab, grid_size=self.core.window_size)
# self.core.instantiate(GridNavigationPrefab, grid_size=self.core.window_size)
# self.core.instantiate(ScreenBlinkPrefab)
# self.core.instantiate(DrawSystemPrefab)
# self.core.instantiate(DrawSystemImagePrefab)
# self.core.instantiate(DrawSystemAnimationImagePrefab)
# self.core.instantiate(DrawSystemAnimationImageSlicedPrefab)
# self.core.instantiate(DrawSystemAnimationImageSlicedWithPaddingsPrefab)
# self.core.instantiate(DrawSystemDirectoryAnimationImageSlicedPrefab)
# self.core.instantiate(PowderSimulationPrefab, width=self.core.window_size[0], height=self.core.window_size[1])
# self.core.instantiate(PlatformCharacterPrefab)
Core(
background_color=(255, 255, 255, 0),
fps=60
)