Skip to content

Commit 50554ab

Browse files
authored
Merge pull request #80 from endlessm/zero-gravity
Zero gravity
2 parents 240038a + f209aad commit 50554ab

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

addons/block_code/examples/pong_game/pong_game.tscn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,7 @@ block_script = SubResource("Resource_52r02")
10391039
[node name="Ball" parent="." instance=ExtResource("9_xrqll")]
10401040
modulate = Color(0.511, 0.362, 0.972, 1)
10411041
position = Vector2(960, 544)
1042+
gravity_scale = 0.0
10421043
linear_velocity = Vector2(353.553, 353.553)
10431044

10441045
[node name="BlockCode" type="Node" parent="Ball"]

project.godot

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ config/icon="res://icon.svg"
1919

2020
SignalManager="*res://addons/block_code/block_code_node/utilities/signal_manager.gd"
2121

22-
[display]
23-
24-
window/size/viewport_width=1920
25-
window/size/viewport_height=1080
26-
window/size/window_width_override=960
27-
window/size/window_height_override=540
28-
window/stretch/mode="canvas_items"
29-
3022
[editor_plugins]
3123

3224
enabled=PackedStringArray("res://addons/block_code/plugin.cfg", "res://addons/gut/plugin.cfg", "res://addons/plugin_refresher/plugin.cfg")
@@ -54,10 +46,6 @@ player_2_right={
5446
]
5547
}
5648

57-
[physics]
58-
59-
2d/default_gravity=0.0
60-
6149
[rendering]
6250

6351
renderer/rendering_method="gl_compatibility"

0 commit comments

Comments
 (0)