minor aesthetic changes, line up sun with squares more
This commit is contained in:
parent
52c15ebd8b
commit
cd68c57c9b
2 changed files with 2 additions and 2 deletions
2
board.gd
2
board.gd
|
|
@ -10,7 +10,7 @@ func _ready():
|
||||||
|
|
||||||
# for zooming out to see the whole puzzle
|
# for zooming out to see the whole puzzle
|
||||||
func top_left_aabb() -> AABB:
|
func top_left_aabb() -> AABB:
|
||||||
return AABB(position-Vector3(1,0,1), Vector3.ONE*0.1)
|
return AABB(position-Vector3(0,0,1), Vector3.ONE*0.1)
|
||||||
|
|
||||||
func bottom_right_aabb() -> AABB:
|
func bottom_right_aabb() -> AABB:
|
||||||
return AABB(position + Vector3(dims.x, 0, dims.y) + Vector3(1,0,2), Vector3.ONE*0.1)
|
return AABB(position + Vector3(dims.x, 0, dims.y) + Vector3(1,0,2), Vector3.ONE*0.1)
|
||||||
|
|
|
||||||
2
main.gd
2
main.gd
|
|
@ -27,7 +27,7 @@ var time := 0:
|
||||||
set(new_time):
|
set(new_time):
|
||||||
var tween := get_tree().create_tween()
|
var tween := get_tree().create_tween()
|
||||||
var anim_time = 1.0 if slowmo() else 0.1
|
var anim_time = 1.0 if slowmo() else 0.1
|
||||||
tween.tween_property($Sun, "rotation_degrees:y", -20*new_time, anim_time)
|
tween.tween_property($Sun, "rotation_degrees:y", -15*new_time, anim_time)
|
||||||
time = new_time
|
time = new_time
|
||||||
var advancing := false
|
var advancing := false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue