Skip to content

Commit

Permalink
Change anchor settings due to Control changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Bradfield committed Sep 25, 2017
1 parent 72d8c62 commit 5ae62e4
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 21 deletions.
43 changes: 22 additions & 21 deletions HUD.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ script = ExtResource( 1 )

[node name="ScoreLabel" type="Label" parent="."]

anchor_left = 2
anchor_right = 2
margin_left = 240.0
margin_right = -240.0
anchor_left = 0.5
anchor_top = 0.0
anchor_right = 0.5
anchor_bottom = 0.0
margin_left = -25.0
margin_right = 25.0
margin_bottom = 100.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
Expand All @@ -57,14 +59,13 @@ _sections_unfolded = [ "Anchor", "Margin", "custom_fonts" ]

[node name="MessageLabel" type="Label" parent="."]

anchor_left = 2
anchor_top = 2
anchor_right = 2
anchor_bottom = 2
margin_left = 240.0
margin_top = 260.0
margin_right = -240.0
margin_bottom = -60.0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -200.0
margin_top = -150.0
margin_right = 200.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
Expand All @@ -89,14 +90,14 @@ autostart = false

[node name="StartButton" type="Button" parent="."]

anchor_left = 2
anchor_top = 2
anchor_right = 2
anchor_bottom = 2
margin_left = 60.0
margin_top = -70.0
margin_right = -60.0
margin_bottom = -150.0
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -100.0
margin_top = -200.0
margin_right = 100.0
margin_bottom = -100.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
Expand All @@ -109,7 +110,7 @@ shortcut = null
group = null
text = "Start"
flat = false
_sections_unfolded = [ "Visibility", "custom_fonts" ]
_sections_unfolded = [ "Anchor", "Margin", "Visibility", "custom_fonts" ]

[connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"]

Expand Down
4 changes: 4 additions & 0 deletions Main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Mob = ExtResource( 2 )

[node name="ColorRect" type="ColorRect" parent="."]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 486.0
margin_bottom = 734.0
rect_pivot_offset = Vector2( 0, 0 )
Expand Down
1 change: 1 addition & 0 deletions art/House In a Forest Loop.ogg.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ path="res://.import/House In a Forest Loop.ogg-1a6a72ae843ad792b7039931227e8d50.
[params]

loop=true
loop_offset=0
1 change: 1 addition & 0 deletions art/enemyFlyingAlt_1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/enemyFlyingAlt_2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/enemySwimming_1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/enemySwimming_2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/enemyWalking_1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/enemyWalking_2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/playerGrey_up1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/playerGrey_up2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/playerGrey_walk1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions art/playerGrey_walk2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
1 change: 1 addition & 0 deletions art/set3_tiles.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
1 change: 1 addition & 0 deletions icon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
12 changes: 12 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=3

[application]
Expand All @@ -16,6 +24,10 @@ window/size/width=480
window/size/height=720
window/size/resizable=false

[gdnative]

singletons=[ ]

[rendering]

environment/default_environment="res://default_env.tres"

0 comments on commit 5ae62e4

Please sign in to comment.