-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgloworld.kv
123 lines (111 loc) · 3.69 KB
/
gloworld.kv
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#:kivy 1.9.0
#:import path os.path
#:import dirname os.path.dirname
#:import main __main__
TestGame:
<TestGame>:
gameworld: gameworld
app: app
GameWorld:
id: gameworld
gamescreenmanager: gamescreenmanager
size_of_gameworld: 100*1024
system_count: 14
zones: {'general': 10000, 'touch': 100, 'particles': 10000}
PositionSystem2D:
system_id: 'position'
gameworld: gameworld
zones: ['general', 'touch', 'particles']
ScaleSystem2D:
system_id: 'scale'
gameworld: gameworld
zones: ['general', 'particles']
ColorSystem:
id: 'color'
gameworld: gameworld
zones: ['general', 'particles']
RotateSystem2D:
system_id: 'rotate'
gameworld: gameworld
zones: ['general', 'particles']
RotateColorScaleRenderer:
system_id: 'rotate_color_scale_renderertop'
gameworld: gameworld
zones: ['general']
shader_source: 'positioncolorrotateshader.glsl'
system_names: ['rotate_color_scale_renderertop', 'position', 'rotate', 'color', 'scale']
gameview: 'camera1'
RotateColorScaleRenderer:
system_id: 'rotate_color_scale_renderer'
gameworld: gameworld
zones: ['general']
shader_source: 'positioncolorrotateshader.glsl'
system_names: ['rotate_color_scale_renderer', 'position', 'rotate', 'color', 'scale']
gameview: 'camera1'
RotateColorScaleRenderer:
system_id: 'rotate_color_scale_renderer2'
gameworld: gameworld
zones: ['general']
shader_source: 'positioncolorrotateshader.glsl'
system_names: ['rotate_color_scale_renderer2', 'position', 'rotate', 'color', 'scale']
gameview: 'camera1'
GameView:
system_id: 'camera1'
gameworld: gameworld
size: root.size
window_size: root.size
pos: root.pos
do_scroll: False
updateable: True
camera_scale: 1
render_system_order: ['rotate_color_scale_renderertop', 'rotate_color_scale_renderer', 'particle_renderer','rotate_color_scale_renderer2',]
CymunkPhysics:
gameworld: root.gameworld
zones: ['general']
CymunkTouchSystem:
gameworld: root.gameworld
zones: ['touch']
zone_to_use: 'touch'
physics_system: 'cymunk_physics'
touch_radius: 30
ParticleSystem:
id: particles
gameworld: gameworld
zones: ['particles']
renderer_name: 'particle_renderer'
particle_zone: 'particles'
system_names: ['particles', 'position', 'rotate', 'scale', 'color']
ParticleRenderer:
gameworld: gameworld
zones: ['particles']
shader_source: 'positionrotatecolorscale.glsl'
frame_count: 3
updateable: True
gameview: 'camera1'
EmitterSystem:
id: emitter
gameworld: gameworld
zones: ['general']
particle_system: particles.__self__
BoundarySystem:
system_id: 'boundary'
gameworld: gameworld
updateable: True
zones: ['general']
update_time: .1
RotationSystem:
system_id: 'rotation'
gameworld: gameworld
updateable: True
zones: ['general']
update_time: .5
GameScreenManager:
id: gamescreenmanager
size: root.size
pos: root.pos
gameworld: gameworld
<GameScreenManager>:
MainScreen:
id: main_screen
<MainScreen@GameScreen>:
name: 'main'