Skip to content

Commit d5b6e3d

Browse files
committed
Cleaned up move forward example
1 parent ce36698 commit d5b6e3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+8
-164
lines changed
Binary file not shown.
Binary file not shown.
-43.2 KB
Binary file not shown.
-42.9 KB
Binary file not shown.
-43.2 KB
Binary file not shown.
-42.8 KB
Binary file not shown.
Binary file not shown.
-42.6 KB
Binary file not shown.
-42.9 KB
Binary file not shown.
-42.7 KB
Binary file not shown.
-42.8 KB
Binary file not shown.
-42.6 KB
Binary file not shown.
-42.2 KB
Binary file not shown.
-42.2 KB
Binary file not shown.
-42.4 KB
Binary file not shown.
-42.4 KB
Binary file not shown.
-42.6 KB
Binary file not shown.
-42.4 KB
Binary file not shown.
-42.5 KB
Binary file not shown.
-42.2 KB
Binary file not shown.
-42.6 KB
Binary file not shown.
-42.1 KB
Binary file not shown.
-42.8 KB
Binary file not shown.
-42.4 KB
Binary file not shown.
Binary file not shown.
-42.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1.35 KB
Binary file not shown.
-2.74 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-787 Bytes
Binary file not shown.
Binary file not shown.
-191 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-699 Bytes
Binary file not shown.
Binary file not shown.
-57.2 KB
Binary file not shown.
-97.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-89.6 KB
Binary file not shown.
-311 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-402 Bytes
Binary file not shown.
-4.01 KB
Binary file not shown.
Binary file not shown.
-89
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,4 @@
1-
images {
2-
image: "/assets/images/spinner.png"
3-
}
4-
images {
5-
image: "/assets/images/elementStone019.png"
6-
}
7-
images {
8-
image: "/assets/images/elementStone023.png"
9-
}
10-
images {
11-
image: "/assets/images/bunny1_ready.png"
12-
}
13-
images {
14-
image: "/assets/images/bunny2_ready.png"
15-
}
16-
images {
17-
image: "/assets/images/carrot.png"
18-
}
19-
images {
20-
image: "/assets/images/red_button12.png"
21-
}
22-
images {
23-
image: "/assets/images/flame.png"
24-
}
25-
images {
26-
image: "/assets/images/smoke.png"
27-
}
28-
images {
29-
image: "/assets/images/rainbow.png"
30-
}
31-
images {
32-
image: "/assets/images/enemyFloating_1.png"
33-
}
34-
images {
35-
image: "/assets/images/logo-color.png"
36-
}
37-
images {
38-
image: "/assets/images/shipGreen_manned.png"
39-
}
40-
images {
41-
image: "/assets/images/elementMetal001.png"
42-
}
43-
images {
44-
image: "/assets/images/plank_slice.png"
45-
}
46-
images {
47-
image: "/assets/images/hitman1_machine.png"
48-
}
49-
images {
50-
image: "/assets/images/green_button03.png"
51-
}
521
images {
532
image: "/assets/images/playerShip1_red.png"
543
}
55-
images {
56-
image: "/assets/images/enemyBlack1.png"
57-
}
58-
images {
59-
image: "/assets/images/lighting_blue.png"
60-
}
61-
images {
62-
image: "/assets/images/particle_brown.png"
63-
}
64-
images {
65-
image: "/assets/images/crosshair010.png"
66-
}
67-
images {
68-
image: "/assets/images/bar_round_large_grey.png"
69-
}
70-
images {
71-
image: "/assets/images/bar_round_large_red.png"
72-
}
73-
animations {
74-
id: "coin"
75-
images {
76-
image: "/assets/images/coin/dcoin_1.png"
77-
}
78-
images {
79-
image: "/assets/images/coin/dcoin_2.png"
80-
}
81-
images {
82-
image: "/assets/images/coin/dcoin_3.png"
83-
}
84-
images {
85-
image: "/assets/images/coin/dcoin_4.png"
86-
}
87-
images {
88-
image: "/assets/images/coin/dcoin_5.png"
89-
}
90-
playback: PLAYBACK_LOOP_FORWARD
91-
fps: 8
92-
}
934
extrude_borders: 2

movement/move_forward/example/move_forward.collection

+8-75
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,22 @@ embedded_instances {
55
data: "components {\n"
66
" id: \"move_forward\"\n"
77
" component: \"/example/move_forward.script\"\n"
8-
" position {\n"
9-
" x: 0.0\n"
10-
" y: 0.0\n"
11-
" z: 0.0\n"
12-
" }\n"
13-
" rotation {\n"
14-
" x: 0.0\n"
15-
" y: 0.0\n"
16-
" z: 0.0\n"
17-
" w: 1.0\n"
18-
" }\n"
198
"}\n"
209
"embedded_components {\n"
2110
" id: \"sprite\"\n"
2211
" type: \"sprite\"\n"
23-
" data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
24-
"default_animation: \\\"flame\\\"\\n"
12+
" data: \"default_animation: \\\"playerShip1_red\\\"\\n"
2513
"material: \\\"/builtins/materials/sprite.material\\\"\\n"
26-
"blend_mode: BLEND_MODE_ALPHA\\n"
14+
"textures {\\n"
15+
" sampler: \\\"texture_sampler\\\"\\n"
16+
" texture: \\\"/assets/sprites.atlas\\\"\\n"
17+
"}\\n"
2718
"\"\n"
28-
" position {\n"
29-
" x: 0.0\n"
30-
" y: 0.0\n"
31-
" z: 0.0\n"
32-
" }\n"
33-
" rotation {\n"
34-
" x: 0.0\n"
35-
" y: 0.0\n"
36-
" z: 0.0\n"
37-
" w: 1.0\n"
38-
" }\n"
3919
"}\n"
4020
""
4121
position {
4222
x: 350.0
4323
y: 350.0
44-
z: 0.0
45-
}
46-
rotation {
47-
x: 0.0
48-
y: 0.0
49-
z: 0.0
50-
w: 1.0
51-
}
52-
scale3 {
53-
x: 1.0
54-
y: 1.0
55-
z: 1.0
5624
}
5725
}
5826
embedded_instances {
@@ -63,69 +31,34 @@ embedded_instances {
6331
" data: \"size {\\n"
6432
" x: 128.0\\n"
6533
" y: 32.0\\n"
66-
" z: 0.0\\n"
67-
" w: 0.0\\n"
68-
"}\\n"
69-
"scale {\\n"
70-
" x: 0.5\\n"
71-
" y: 0.5\\n"
72-
" z: 1.0\\n"
73-
" w: 0.0\\n"
7434
"}\\n"
7535
"color {\\n"
7636
" x: 0.0\\n"
7737
" y: 0.5647059\\n"
7838
" z: 0.99215686\\n"
79-
" w: 1.0\\n"
8039
"}\\n"
8140
"outline {\\n"
8241
" x: 1.0\\n"
8342
" y: 1.0\\n"
8443
" z: 1.0\\n"
85-
" w: 1.0\\n"
8644
"}\\n"
8745
"shadow {\\n"
8846
" x: 1.0\\n"
8947
" y: 1.0\\n"
9048
" z: 1.0\\n"
91-
" w: 1.0\\n"
9249
"}\\n"
93-
"leading: 1.0\\n"
94-
"tracking: 0.0\\n"
95-
"pivot: PIVOT_CENTER\\n"
96-
"blend_mode: BLEND_MODE_ALPHA\\n"
97-
"line_break: false\\n"
9850
"text: \\\"Move with arrow keys (left+right = rotate, up = forward)\\\"\\n"
9951
"font: \\\"/assets/text48.font\\\"\\n"
10052
"material: \\\"/builtins/fonts/label.material\\\"\\n"
10153
"\"\n"
102-
" position {\n"
103-
" x: 0.0\n"
104-
" y: 0.0\n"
105-
" z: 0.0\n"
106-
" }\n"
107-
" rotation {\n"
108-
" x: 0.0\n"
109-
" y: 0.0\n"
110-
" z: 0.0\n"
111-
" w: 1.0\n"
54+
" scale {\n"
55+
" x: 0.5\n"
56+
" y: 0.5\n"
11257
" }\n"
11358
"}\n"
11459
""
11560
position {
11661
x: 350.0
11762
y: 38.0
118-
z: 0.0
119-
}
120-
rotation {
121-
x: 0.0
122-
y: 0.0
123-
z: 0.0
124-
w: 1.0
125-
}
126-
scale3 {
127-
x: 1.0
128-
y: 1.0
129-
z: 1.0
13063
}
13164
}

0 commit comments

Comments
 (0)