Skip to content

Commit fbdeb01

Browse files
committed
Commit for Tutorial 02
1 parent 69bba1c commit fbdeb01

File tree

7 files changed

+259
-0
lines changed

7 files changed

+259
-0
lines changed

project/.fscache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
::res://::1422079995
2+
icon.png::ImageTexture::1421696246::
3+
level_01.xml::PackedScene::1422079995::
4+
::res://textures::1421696903
5+
blue_square.png::ImageTexture::1421696711::
6+
red_square.png::ImageTexture::1421696676::

project/engine.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[application]
2+
3+
name="Godot Tutorial"
4+
main_scene="res://level_01.xml"
5+
icon="icon.png"
6+
7+
[input]
8+
9+
btn_right=[key(Right)]
10+
btn_left=[key(Left)]

project/icon.png

3.55 KB
Loading

project/icon.png.flags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gen_mipmaps=false

project/level_01.xml

Lines changed: 242 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,242 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<resource_file type="PackedScene" subresource_count="5" version="1.0" version_name="Godot Engine v1.0.stable.custom_build">
3+
<ext_resource path="res://textures/blue_square.png" type="Texture"></ext_resource>
4+
<ext_resource path="res://textures/red_square.png" type="Texture"></ext_resource>
5+
<resource type="RectangleShape2D" path="local://1">
6+
<real name="custom_solver_bias"> 0 </real>
7+
<vector2 name="extents"> 32, 32 </vector2>
8+
9+
</resource>
10+
<resource type="RectangleShape2D" path="local://2">
11+
<real name="custom_solver_bias"> 0 </real>
12+
<vector2 name="extents"> 400, 32 </vector2>
13+
14+
</resource>
15+
<main_resource>
16+
<dictionary name="_bundled" shared="false">
17+
<string> "names" </string>
18+
<string_array len="56">
19+
<string> "world" </string>
20+
<string> "Node2D" </string>
21+
<string> "_import_path" </string>
22+
<string> "visibility/visible" </string>
23+
<string> "visibility/opacity" </string>
24+
<string> "visibility/self_opacity" </string>
25+
<string> "transform/pos" </string>
26+
<string> "transform/rot" </string>
27+
<string> "transform/scale" </string>
28+
<string> "z/z" </string>
29+
<string> "z/relative" </string>
30+
<string> "__meta__" </string>
31+
<string> "player" </string>
32+
<string> "RigidBody2D" </string>
33+
<string> "shape_count" </string>
34+
<string> "shapes/0/shape" </string>
35+
<string> "shapes/0/transform" </string>
36+
<string> "shapes/0/trigger" </string>
37+
<string> "layers" </string>
38+
<string> "mode" </string>
39+
<string> "mass" </string>
40+
<string> "friction" </string>
41+
<string> "bounce" </string>
42+
<string> "gravity_scale" </string>
43+
<string> "custom_integrator" </string>
44+
<string> "continuous_cd" </string>
45+
<string> "contacts_reported" </string>
46+
<string> "contact_monitor" </string>
47+
<string> "sleeping" </string>
48+
<string> "can_sleep" </string>
49+
<string> "velocity/linear" </string>
50+
<string> "velocity/angular" </string>
51+
<string> "damp_override/linear" </string>
52+
<string> "damp_override/angular" </string>
53+
<string> "player_sprite" </string>
54+
<string> "Sprite" </string>
55+
<string> "shader/use_parent" </string>
56+
<string> "texture" </string>
57+
<string> "centered" </string>
58+
<string> "offset" </string>
59+
<string> "flip_h" </string>
60+
<string> "flip_v" </string>
61+
<string> "vframes" </string>
62+
<string> "hframes" </string>
63+
<string> "frame" </string>
64+
<string> "modulate" </string>
65+
<string> "region" </string>
66+
<string> "region_rect" </string>
67+
<string> "CollisionShape2D" </string>
68+
<string> "shape" </string>
69+
<string> "trigger" </string>
70+
<string> "ground" </string>
71+
<string> "StaticBody2D" </string>
72+
<string> "constant_linear_velocity" </string>
73+
<string> "constant_angular_velocity" </string>
74+
<string> "ground_texture" </string>
75+
</string_array>
76+
<string> "version" </string>
77+
<int> 1 </int>
78+
<string> "conn_count" </string>
79+
<int> 0 </int>
80+
<string> "node_count" </string>
81+
<int> 7 </int>
82+
<string> "variants" </string>
83+
<array len="26" shared="false">
84+
<node_path> "" </node_path>
85+
<bool> True </bool>
86+
<real> 1 </real>
87+
<vector2> 0, 0 </vector2>
88+
<real> 0 </real>
89+
<vector2> 1, 1 </vector2>
90+
<int> 0 </int>
91+
<dictionary shared="false">
92+
<string> "__editor_plugin_states__" </string>
93+
<dictionary shared="false">
94+
<string> "2D" </string>
95+
<dictionary shared="false">
96+
<string> "pixel_snap" </string>
97+
<bool> False </bool>
98+
<string> "zoom" </string>
99+
<real> 1.108033 </real>
100+
<string> "use_snap" </string>
101+
<bool> False </bool>
102+
<string> "ofs" </string>
103+
<vector2> -234.514, -185.908 </vector2>
104+
<string> "snap" </string>
105+
<int> 10 </int>
106+
</dictionary>
107+
<string> "3D" </string>
108+
<dictionary shared="false">
109+
<string> "deflight_rot_y" </string>
110+
<real> 0.628319 </real>
111+
<string> "zfar" </string>
112+
<real> 500 </real>
113+
<string> "fov" </string>
114+
<real> 45 </real>
115+
<string> "viewports" </string>
116+
<array len="4" shared="false">
117+
<dictionary shared="false">
118+
<string> "distance" </string>
119+
<real> 16.261637 </real>
120+
<string> "x_rot" </string>
121+
<real> 0.3 </real>
122+
<string> "y_rot" </string>
123+
<real> 0.7 </real>
124+
<string> "listener" </string>
125+
<bool> True </bool>
126+
<string> "use_environment" </string>
127+
<bool> False </bool>
128+
<string> "use_orthogonal" </string>
129+
<bool> False </bool>
130+
<string> "pos" </string>
131+
<vector3> 0, 0, 0 </vector3>
132+
</dictionary>
133+
<dictionary shared="false">
134+
<string> "distance" </string>
135+
<real> 4 </real>
136+
<string> "x_rot" </string>
137+
<real> 0 </real>
138+
<string> "y_rot" </string>
139+
<real> 0 </real>
140+
<string> "listener" </string>
141+
<bool> False </bool>
142+
<string> "use_environment" </string>
143+
<bool> False </bool>
144+
<string> "use_orthogonal" </string>
145+
<bool> False </bool>
146+
<string> "pos" </string>
147+
<vector3> 0, 0, 0 </vector3>
148+
</dictionary>
149+
<dictionary shared="false">
150+
<string> "distance" </string>
151+
<real> 4 </real>
152+
<string> "x_rot" </string>
153+
<real> 0 </real>
154+
<string> "y_rot" </string>
155+
<real> 0 </real>
156+
<string> "listener" </string>
157+
<bool> False </bool>
158+
<string> "use_environment" </string>
159+
<bool> False </bool>
160+
<string> "use_orthogonal" </string>
161+
<bool> False </bool>
162+
<string> "pos" </string>
163+
<vector3> 0, 0, 0 </vector3>
164+
</dictionary>
165+
<dictionary shared="false">
166+
<string> "distance" </string>
167+
<real> 4 </real>
168+
<string> "x_rot" </string>
169+
<real> 0 </real>
170+
<string> "y_rot" </string>
171+
<real> 0 </real>
172+
<string> "listener" </string>
173+
<bool> False </bool>
174+
<string> "use_environment" </string>
175+
<bool> False </bool>
176+
<string> "use_orthogonal" </string>
177+
<bool> False </bool>
178+
<string> "pos" </string>
179+
<vector3> 0, 0, 0 </vector3>
180+
</dictionary>
181+
</array>
182+
<string> "viewport_mode" </string>
183+
<int> 1 </int>
184+
<string> "default_light" </string>
185+
<bool> True </bool>
186+
<string> "ambient_light_color" </string>
187+
<color> 0.15, 0.15, 0.15, 1 </color>
188+
<string> "show_grid" </string>
189+
<bool> True </bool>
190+
<string> "show_origin" </string>
191+
<bool> True </bool>
192+
<string> "znear" </string>
193+
<real> 0.1 </real>
194+
<string> "default_srgb" </string>
195+
<bool> False </bool>
196+
<string> "deflight_rot_x" </string>
197+
<real> 0.942478 </real>
198+
</dictionary>
199+
</dictionary>
200+
<string> "__editor_run_settings__" </string>
201+
<dictionary shared="false">
202+
<string> "custom_args" </string>
203+
<string> "-l $scene" </string>
204+
<string> "run_mode" </string>
205+
<int> 0 </int>
206+
</dictionary>
207+
<string> "__editor_plugin_screen__" </string>
208+
<string> "2D" </string>
209+
</dictionary>
210+
<vector2> 297, 95 </vector2>
211+
<int> 1 </int>
212+
<resource resource_type="Shape2D" path="local://1"> </resource>
213+
<matrix32> 1, -0, 0, 1, 4.41074e-06, -0.270176 </matrix32>
214+
<bool> False </bool>
215+
<int> 2 </int>
216+
<real> -1 </real>
217+
<dictionary shared="false">
218+
<string> "_editor_collapsed" </string>
219+
<bool> True </bool>
220+
</dictionary>
221+
<resource resource_type="Texture" path="res://textures/blue_square.png"> </resource>
222+
<color> 1, 1, 1, 1 </color>
223+
<rect2> 0, 0, 0, 0 </rect2>
224+
<vector2> 4.41074e-06, -0.270176 </vector2>
225+
<vector2> 399, 487 </vector2>
226+
<resource resource_type="Shape2D" path="local://2"> </resource>
227+
<matrix32> 1, -0, 0, 1, 0, 0 </matrix32>
228+
<dictionary shared="false">
229+
<string> "_editor_collapsed" </string>
230+
<bool> True </bool>
231+
</dictionary>
232+
<vector2> 11.8125, 1 </vector2>
233+
<resource resource_type="Texture" path="res://textures/red_square.png"> </resource>
234+
</array>
235+
<string> "nodes" </string>
236+
<int_array len="293"> -1, -1, 1, 0, -1, 10, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 1, 11, 7, 0, 0, 0, 13, 12, -1, 30, 2, 0, 3, 1, 4, 2, 5, 2, 6, 8, 7, 4, 8, 5, 9, 6, 10, 1, 14, 9, 15, 10, 16, 11, 17, 12, 18, 9, 19, 13, 20, 2, 21, 4, 22, 4, 23, 2, 24, 12, 25, 6, 26, 6, 27, 12, 28, 12, 29, 1, 30, 3, 31, 4, 32, 14, 33, 14, 11, 15, 0, 1, 0, 35, 34, -1, 21, 2, 0, 3, 1, 4, 2, 5, 2, 36, 1, 6, 3, 7, 4, 8, 5, 9, 6, 10, 1, 37, 16, 38, 1, 39, 3, 40, 12, 41, 12, 42, 9, 43, 9, 44, 6, 45, 17, 46, 12, 47, 18, 0, 1, 0, 48, 48, -1, 11, 2, 0, 3, 1, 4, 2, 5, 2, 6, 19, 7, 4, 8, 5, 9, 6, 10, 1, 49, 10, 50, 12, 0, 0, 0, 52, 51, -1, 19, 2, 0, 3, 1, 4, 2, 5, 2, 6, 20, 7, 4, 8, 5, 9, 6, 10, 1, 14, 9, 15, 21, 16, 22, 17, 12, 18, 9, 53, 3, 54, 4, 21, 2, 22, 4, 11, 23, 0, 4, 0, 35, 55, -1, 20, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 24, 9, 6, 10, 1, 37, 25, 38, 1, 39, 3, 40, 12, 41, 12, 42, 9, 43, 9, 44, 6, 45, 17, 46, 12, 47, 18, 0, 4, 0, 48, 48, -1, 11, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 1, 49, 21, 50, 12, 0 </int_array>
237+
<string> "conns" </string>
238+
<int_array len="0"> </int_array>
239+
</dictionary>
240+
241+
</main_resource>
242+
</resource_file>

project/textures/blue_square.png

574 Bytes
Loading

project/textures/red_square.png

690 Bytes
Loading

0 commit comments

Comments
 (0)