diff --git a/2d/finite_state_machine/player/Player.tscn b/2d/finite_state_machine/player/Player.tscn index e336d9be..10f667c3 100644 --- a/2d/finite_state_machine/player/Player.tscn +++ b/2d/finite_state_machine/player/Player.tscn @@ -115,7 +115,7 @@ align = 1 valign = 1 uppercase = true script = ExtResource( 15 ) -[connection signal="state_changed" from="StateMachine" to="BodyPivot/WeaponPivot/Offset/Sword" method="_on_StateMachine_state_changed"] [connection signal="state_changed" from="StateMachine" to="StateNameDisplayer" method="_on_StateMachine_state_changed"] +[connection signal="state_changed" from="StateMachine" to="BodyPivot/WeaponPivot/Offset/Sword" method="_on_StateMachine_state_changed"] [connection signal="animation_finished" from="AnimationPlayer" to="StateMachine" method="_on_animation_finished"] [connection signal="attack_finished" from="BodyPivot/WeaponPivot/Offset/Sword" to="StateMachine/Attack" method="_on_Sword_attack_finished"] diff --git a/2d/finite_state_machine/project.godot b/2d/finite_state_machine/project.godot index 776715f9..9d499a45 100644 --- a/2d/finite_state_machine/project.godot +++ b/2d/finite_state_machine/project.godot @@ -97,4 +97,5 @@ attack={ [rendering] +quality/driver/driver_name="GLES2" environment/default_environment="res://default_env.tres" diff --git a/2d/gd_paint/Paint_root.tscn b/2d/gd_paint/Paint_root.tscn index a9714d62..d2ecdabe 100644 --- a/2d/gd_paint/Paint_root.tscn +++ b/2d/gd_paint/Paint_root.tscn @@ -10,19 +10,23 @@ bg_color = Color( 1, 1, 1, 1 ) [node name="PaintRoot" type="Control"] margin_right = 40.0 margin_bottom = 40.0 +__meta__ = { +"_edit_use_anchors_": false +} [node name="DrawingAreaBG" type="Panel" parent="."] margin_left = 350.0 margin_right = 1280.0 margin_bottom = 720.0 -custom_styles/panelf = SubResource( 1 ) custom_styles/panel = SubResource( 1 ) -custom_styles/panelnc = SubResource( 1 ) [node name="PaintControl" type="Control" parent="."] margin_right = 40.0 margin_bottom = 40.0 script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} [node name="TLPos" type="Position2D" parent="PaintControl"] position = Vector2( 350, 0 ) @@ -137,7 +141,6 @@ text = "Brush shape: Circle" align = 1 [node name="ButtonShapeBox" type="Button" parent="ToolsPanel/BrushSettings"] -editor/display_folded = true margin_left = 100.0 margin_top = 100.0 margin_right = 160.0 @@ -151,7 +154,6 @@ region_enabled = true region_rect = Rect2( 0, 16, 16, 16 ) [node name="ButtonShapeCircle" type="Button" parent="ToolsPanel/BrushSettings"] -editor/display_folded = true margin_left = 190.0 margin_top = 100.0 margin_right = 250.0 diff --git a/2d/gd_paint/project.godot b/2d/gd_paint/project.godot index 17547124..f6ee8098 100644 --- a/2d/gd_paint/project.godot +++ b/2d/gd_paint/project.godot @@ -32,4 +32,5 @@ singletons=[ ] [rendering] +quality/driver/driver_name="GLES2" environment/default_environment="res://default_env.tres" diff --git a/2d/grid_based_movement/pawns/Actor.tscn b/2d/grid_based_movement/pawns/Actor.tscn index ded5fad6..9ee3dee2 100644 --- a/2d/grid_based_movement/pawns/Actor.tscn +++ b/2d/grid_based_movement/pawns/Actor.tscn @@ -78,7 +78,6 @@ anims/walk = SubResource( 2 ) [node name="Pivot" type="Position2D" parent="."] [node name="Sprite" type="Sprite" parent="Pivot"] -position = Vector2( 1.43051e-06, -1.90735e-06 ) texture = ExtResource( 2 ) centered = false offset = Vector2( -32, -32 ) diff --git a/2d/grid_based_movement/project.godot b/2d/grid_based_movement/project.godot index ff85a1b5..1361f982 100644 --- a/2d/grid_based_movement/project.godot +++ b/2d/grid_based_movement/project.godot @@ -63,4 +63,5 @@ move_up={ [rendering] +quality/driver/driver_name="GLES2" environment/default_environment="res://default_env.tres" diff --git a/2d/hexagonal_map/project.godot b/2d/hexagonal_map/project.godot index fc22d7e0..2abba048 100644 --- a/2d/hexagonal_map/project.godot +++ b/2d/hexagonal_map/project.godot @@ -66,4 +66,5 @@ move_up={ [rendering] +quality/driver/driver_name="GLES2" environment/default_clear_color=Color( 0.172549, 0.219608, 0.129412, 1 ) diff --git a/2d/hexagonal_map/troll.gd b/2d/hexagonal_map/troll.gd index 27e31627..10b7e641 100644 --- a/2d/hexagonal_map/troll.gd +++ b/2d/hexagonal_map/troll.gd @@ -1,12 +1,12 @@ extends KinematicBody2D -const MOTION_SPEED = 160 # Pixels/second +const MOTION_SPEED = 160 # Pixels/second. func _physics_process(_delta): var motion = Vector2() motion.x = Input.get_action_strength("move_right") - Input.get_action_strength("move_left") motion.y = Input.get_action_strength("move_down") - Input.get_action_strength("move_up") - motion.y *= 0.5 + motion.y *= 0.57735056839 # tan(30 degrees). motion = motion.normalized() * MOTION_SPEED #warning-ignore:return_value_discarded move_and_slide(motion) diff --git a/2d/isometric/dungeon.tscn b/2d/isometric/dungeon.tscn index 40bd38d1..e4da1069 100644 --- a/2d/isometric/dungeon.tscn +++ b/2d/isometric/dungeon.tscn @@ -10,8 +10,9 @@ mode = 1 tile_set = ExtResource( 1 ) cell_size = Vector2( 128, 64 ) cell_tile_origin = 1 +centered_textures = true format = 1 -tile_data = PoolIntArray( -851956, 0, -1200553578, -851955, 0, -1200553578, -851954, 0, -1200553578, -786420, 1, -1200553578, -786419, 0, -1200553578, -786418, 0, -1200553578, -720884, 0, -1200553578, -720883, 0, -1200553578, -720882, 0, -1200553578, -655348, 1, -1200553578, -655347, 0, -1200553578, -655346, 0, -1200553578, -589812, 1, -1200553578, -589811, 0, -1200553578, -589810, 0, -1200553578, -524276, 0, -1200553578, -524275, 1, -1200553578, -524274, 0, -1200553578, -458740, 0, -1200553578, -458739, 0, -1200553578, -458738, 0, -1200553578, -393210, 0, -1200553578, -393209, 0, -1200553578, -393208, 0, -1200553578, -393207, 0, -1200553578, -393206, 0, -1200553578, -393205, 0, -1200553578, -393204, 0, -1200553578, -393203, 0, -1200553578, -393202, 0, -1200553578, -327674, 0, -1200553578, -327673, 0, -1200553578, -327672, 1, -1200553578, -327671, 1, -1200553578, -327670, 1, -1200553578, -327669, 1, -1200553578, -327668, 1, -1200553578, -327667, 0, -1200553578, -327666, 0, -1200553578, -262138, 0, -1200553578, -262137, 0, -1200553578, -262136, 0, -1200553578, -262135, 0, -1200553578, -262134, 0, -1200553578, -262133, 0, -1200553578, -262132, 0, -1200553578, -262131, 0, -1200553578, -262130, 0, -1200553578, -196602, 0, -1200553578, -196601, 0, -1200553578, -196600, 0, -1200553578, -196599, 0, -1200553578, -196598, 0, -1200553578, -196597, 0, -1200553578, -196596, 0, -1200553578, -196595, 0, -1200553578, -196594, 0, -1200553578, -131066, 0, -1200553578, -131065, 0, -1200553578, -131064, 0, -1200553578, -131063, 0, -1200553578, -65530, 0, -1200553578, -65529, 0, -1200553578, -65528, 0, -1200553578, -65527, 0, -1200553578, 6, 0, -1200553578, 7, 1, -1200553578, 8, 0, -1200553578, 9, 0, -1200553578, 65542, 0, -1200553578, 65543, 0, -1200553578, 65544, 0, -1200553578, 65545, 0, -1200553578, 131078, 0, -1200553578, 131079, 0, -1200553578, 131080, 0, -1200553578, 131081, 0, -1200553578, 196614, 0, -1200553578, 196615, 0, -1200553578, 196616, 0, -1200553578 ) +tile_data = PoolIntArray( -917493, 0, 0, -917492, 0, 0, -917491, 0, 0, -917490, 0, 0, -851957, 0, 0, -851956, 0, 0, -851955, 0, 0, -851954, 0, 0, -786421, 0, 0, -786420, 1, 0, -786419, 0, -1200553578, -786418, 0, 0, -720885, 0, 0, -720884, 0, 0, -720883, 0, -1200553578, -720882, 0, 0, -655349, 0, 0, -655348, 1, 0, -655347, 0, -1200553578, -655346, 0, 0, -589813, 0, 0, -589812, 1, 0, -589811, 0, -1200553578, -589810, 0, 0, -524277, 0, 0, -524276, 0, 0, -524275, 1, -1200553578, -524274, 0, 0, -458747, 0, 0, -458746, 0, 0, -458745, 0, 0, -458744, 0, 0, -458743, 0, 0, -458742, 0, 0, -458741, 0, 0, -458740, 0, 0, -458739, 0, -1200553578, -458738, 0, 0, -393211, 0, 0, -393210, 0, 0, -393209, 0, 0, -393208, 0, 0, -393207, 0, 0, -393206, 0, 0, -393205, 0, 0, -393204, 0, 0, -393203, 0, -1200553578, -393202, 0, 0, -327675, 0, 0, -327674, 0, 0, -327673, 0, -1200553578, -327672, 1, -1200553578, -327671, 1, -1200553578, -327670, 1, 0, -327669, 1, 0, -327668, 1, 0, -327667, 0, -1200553578, -327666, 0, 0, -262139, 0, 0, -262138, 0, 0, -262137, 0, -1200553578, -262136, 0, -1200553578, -262135, 0, -1200553578, -262134, 0, -1200553578, -262133, 0, -1200553578, -262132, 0, -1200553578, -262131, 0, -1200553578, -262130, 0, 0, -196603, 0, 0, -196602, 0, 0, -196601, 0, -1200553578, -196600, 0, -1200553578, -196599, 0, 0, -196598, 0, 0, -196597, 0, 0, -196596, 0, 0, -196595, 0, 0, -196594, 0, 0, -131067, 0, 0, -131066, 0, 0, -131065, 0, -1200553578, -131064, 0, -1200553578, -131063, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, -1200553578, -65528, 0, -1200553578, -65527, 0, 0, 5, 0, 0, 6, 0, 0, 7, 1, -1200553578, 8, 0, -1200553578, 9, 0, 0, 65541, 0, 0, 65542, 0, 0, 65543, 0, -1200553578, 65544, 0, -1200553578, 65545, 0, 0, 131077, 0, 0, 131078, 0, 0, 131079, 0, -1200553578, 131080, 0, -1200553578, 131081, 0, 0, 196613, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0 ) [node name="Walls" type="TileMap" parent="."] mode = 1 @@ -19,8 +20,9 @@ tile_set = ExtResource( 1 ) cell_size = Vector2( 128, 64 ) cell_tile_origin = 1 cell_y_sort = true +centered_textures = true format = 1 -tile_data = PoolIntArray( -917493, 2, -1200553578, -917492, 2, -1200553578, -917491, 2, -1200553578, -917490, 2, -1200553578, -917489, 2, -1200553578, -851957, 2, -1200553578, -851956, 3, -1200553578, -851954, 3, -1200553578, -851953, 2, -1200553578, -786421, 2, -1200553578, -786420, 3, -1200553578, -786418, 3, -1200553578, -786417, 2, -1200553578, -720885, 2, -1200553578, -720881, 2, -1200553578, -655349, 2, -1200553578, -655348, 2, -1200553578, -655346, 3, -1200553578, -655345, 2, -1200553578, -589813, 2, -1200553578, -589809, 2, -1200553578, -524277, 2, -1200553578, -524273, 2, -1200553578, -458747, 2, -1200553578, -458746, 2, -1200553578, -458745, 2, -1200553578, -458744, 536870916, -1200553578, -458743, 536870916, -1200553578, -458742, 2, -1200553578, -458741, 2, -1200553578, -458740, 2, -1200553578, -458738, 2, -1200553578, -458737, 2, -1200553578, -393211, 2, -1200553578, -393209, 3, -1200553578, -393205, 3, -1200553578, -393201, 2, -1200553578, -327675, 4, -1200553578, -327665, 2, -1200553578, -262139, 4, -1200553578, -262129, 2, -1200553578, -196603, 2, 0, -196601, 3, 0, -196593, 2, -1200553578, -131067, 2, 0, -131062, 2, -1200553578, -131061, 2, -1200553578, -131060, 2, -1200553578, -131059, 2, -1200553578, -131058, 2, -1200553578, -131057, 2, -1200553578, -65531, 2, 0, -65530, 2, 0, -65527, 2, -1200553578, -65526, 2, -1200553578, 5, 2, -1200553578, 10, 2, 0, 65541, 2, -1200553578, 65546, 2, 0, 131077, 2, -1200553578, 131081, 3, 0, 131082, 2, 0, 196613, 2, -1200553578, 196618, 2, 0, 262149, 2, -1200553578, 262150, 2, -1200553578, 262151, 2, -1200553578, 262152, 2, -1200553578, 262153, 2, -1200553578, 262154, 2, -1200553578 ) +tile_data = PoolIntArray( -917493, 2, -1200553578, -917492, 2, -1200553578, -917491, 2, -1200553578, -917490, 2, -1200553578, -917489, 2, -1200553578, -851957, 2, -1200553578, -851956, 3, -1200553578, -851954, 3, -1200553578, -851953, 2, -1200553578, -786421, 2, -1200553578, -786420, 3, -1200553578, -786418, 3, -1200553578, -786417, 2, -1200553578, -720885, 2, -1200553578, -720881, 2, -1200553578, -655349, 2, -1200553578, -655348, 2, -1200553578, -655346, 3, -1200553578, -655345, 2, -1200553578, -589813, 2, -1200553578, -589809, 2, -1200553578, -524277, 2, -1200553578, -524273, 2, -1200553578, -458747, 2, -1200553578, -458746, 2, -1200553578, -458745, 2, -1200553578, -458744, 536870916, -1200553578, -458743, 536870916, -1200553578, -458742, 2, 0, -458741, 2, 0, -458740, 2, 0, -458738, 2, 0, -458737, 2, -1200553578, -393211, 2, -1200553578, -393209, 3, -1200553578, -393201, 2, -1200553578, -327675, 4, -1200553578, -327665, 2, -1200553578, -262139, 4, -1200553578, -262129, 2, -1200553578, -196603, 2, 0, -196601, 3, 0, -196593, 2, -1200553578, -131067, 2, 0, -131062, 2, -1200553578, -131061, 2, -1200553578, -131060, 2, -1200553578, -131059, 2, -1200553578, -131058, 2, -1200553578, -131057, 2, -1200553578, -65531, 2, 0, -65530, 2, 0, -65527, 2, -1200553578, -65526, 2, -1200553578, 5, 2, -1200553578, 10, 2, 0, 65541, 2, -1200553578, 65546, 2, 0, 131077, 2, -1200553578, 131081, 3, 0, 131082, 2, 0, 196613, 2, -1200553578, 196618, 2, 0, 262149, 2, -1200553578, 262150, 2, -1200553578, 262151, 2, -1200553578, 262152, 2, 0, 262153, 2, 0, 262154, 2, 0 ) [node name="Troll" parent="Walls" instance=ExtResource( 2 )] position = Vector2( 368.142, 347.007 ) diff --git a/2d/isometric/project.godot b/2d/isometric/project.godot index c20e1b1e..c12ca26f 100644 --- a/2d/isometric/project.godot +++ b/2d/isometric/project.godot @@ -74,4 +74,5 @@ use_pixel_snap=true [rendering] +quality/driver/driver_name="GLES2" environment/default_clear_color=Color( 0.0784314, 0.105882, 0.145098, 1 ) diff --git a/2d/isometric/tileset.tres b/2d/isometric/tileset.tres index f82ce4ba..a94658f4 100644 --- a/2d/isometric/tileset.tres +++ b/2d/isometric/tileset.tres @@ -3,80 +3,80 @@ [ext_resource path="res://isotiles.png" type="Texture" id=1] [sub_resource type="ConvexPolygonShape2D" id=1] -points = PoolVector2Array( -4, -30, 60, 2, -4, 34, -68, 2 ) +points = PoolVector2Array( 0, -32, 64, 0, 0, 32, -64, 0 ) [sub_resource type="ConvexPolygonShape2D" id=2] -points = PoolVector2Array( -4, -22, 12, -22, 28, -6, 4, 10, -4, 10, -20, -6 ) +points = PoolVector2Array( -24, -12, -10, -22, 10, -22, 24, -12, 24, 2, 10, 12, -10, 12, -24, 2 ) [sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( -21.905, 23.3748, 50.095, -8.62516, 66.095, -0.62516, -5.90501, 31.3748 ) +points = PoolVector2Array( -40, 16, 24, -16, 40, -8, -24, 24 ) [resource] 0/name = "Base" 0/texture = ExtResource( 1 ) -0/tex_offset = Vector2( -66, -42 ) +0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 28, 92, 132, 84 ) +0/region = Rect2( 28, 75, 135, 105 ) 0/tile_mode = 0 -0/occluder_offset = Vector2( 0, 0 ) -0/navigation_offset = Vector2( 0, 0 ) +0/occluder_offset = Vector2( 67.5, 52.5 ) +0/navigation_offset = Vector2( 67.5, 52.5 ) 0/shapes = [ ] 0/z_index = 0 1/name = "Base2" 1/texture = ExtResource( 1 ) -1/tex_offset = Vector2( -66, -42 ) +1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) -1/region = Rect2( 220, 92, 132, 84 ) +1/region = Rect2( 221, 75, 135, 105 ) 1/tile_mode = 0 -1/occluder_offset = Vector2( 0, 0 ) -1/navigation_offset = Vector2( 0, 0 ) +1/occluder_offset = Vector2( 67.5, 52.5 ) +1/navigation_offset = Vector2( 67.5, 52.5 ) 1/shapes = [ ] 1/z_index = 0 2/name = "Wall" 2/texture = ExtResource( 1 ) -2/tex_offset = Vector2( -69.3109, -99.8051 ) +2/tex_offset = Vector2( 0, -32 ) 2/modulate = Color( 1, 1, 1, 1 ) -2/region = Rect2( 28, 220, 132, 136 ) +2/region = Rect2( 28, 220, 140, 140 ) 2/tile_mode = 0 -2/occluder_offset = Vector2( 0, 0 ) -2/navigation_offset = Vector2( 0, 0 ) +2/occluder_offset = Vector2( 70, 70 ) +2/navigation_offset = Vector2( 70, 70 ) 2/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 1 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +"shape_transform": Transform2D( 1, 0, 0, 1, 70, 70 ) } ] 2/z_index = 0 3/name = "Column" 3/texture = ExtResource( 1 ) -3/tex_offset = Vector2( -69.5632, -100.446 ) +3/tex_offset = Vector2( 0, -32 ) 3/modulate = Color( 1, 1, 1, 1 ) -3/region = Rect2( 220, 220, 132, 136 ) +3/region = Rect2( 259, 241, 55, 95 ) 3/tile_mode = 0 -3/occluder_offset = Vector2( 0, 0 ) -3/navigation_offset = Vector2( 0, 0 ) +3/occluder_offset = Vector2( 27.5, 47.5 ) +3/navigation_offset = Vector2( 27.5, 47.5 ) 3/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 2 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +"shape_transform": Transform2D( 1, 0, 0, 1, 29.5, 47.5 ) } ] 3/z_index = 0 4/name = "Door1" 4/texture = ExtResource( 1 ) -4/tex_offset = Vector2( -50.3623, -90.8164 ) +4/tex_offset = Vector2( 0, -25 ) 4/modulate = Color( 1, 1, 1, 1 ) -4/region = Rect2( 24, 408, 132, 136 ) +4/region = Rect2( 54, 426, 85, 110 ) 4/tile_mode = 0 -4/occluder_offset = Vector2( 0, 0 ) -4/navigation_offset = Vector2( 0, 0 ) +4/occluder_offset = Vector2( 42.5, 55 ) +4/navigation_offset = Vector2( 42.5, 55 ) 4/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +"shape_transform": Transform2D( 1, 0, 0, 1, 42.5, 55 ) } ] 4/z_index = 0 diff --git a/2d/isometric/tileset_edit.tscn b/2d/isometric/tileset_edit.tscn index 4ecdb885..8dd5199b 100644 --- a/2d/isometric/tileset_edit.tscn +++ b/2d/isometric/tileset_edit.tscn @@ -5,56 +5,49 @@ [node name="TilesetEdit" type="Node2D"] [node name="Base" type="Sprite" parent="."] -position = Vector2( 150.049, 61.1264 ) texture = ExtResource( 1 ) -centered = false -offset = Vector2( -66, -42 ) region_enabled = true -region_rect = Rect2( 28, 92, 132, 84 ) +region_rect = Rect2( 28, 75, 135, 105 ) [node name="Base2" type="Sprite" parent="."] -position = Vector2( 257.013, 124.86 ) +position = Vector2( 200, 0 ) texture = ExtResource( 1 ) -centered = false -offset = Vector2( -66, -42 ) region_enabled = true -region_rect = Rect2( 220, 92, 132, 84 ) +region_rect = Rect2( 221, 75, 135, 105 ) [node name="Wall" type="Sprite" parent="."] -position = Vector2( 421.311, 137.805 ) +position = Vector2( 400, 0 ) texture = ExtResource( 1 ) -centered = false -offset = Vector2( -69.3109, -99.8051 ) +offset = Vector2( 0, -32 ) region_enabled = true -region_rect = Rect2( 28, 220, 132, 136 ) +region_rect = Rect2( 28, 220, 140, 140 ) [node name="StaticBody2D" type="StaticBody2D" parent="Wall"] -[node name="collision" type="CollisionPolygon2D" parent="Wall/StaticBody2D"] -polygon = PoolVector2Array( -68, 2, -4, 34, 60, 2, -4, -30 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D"] +polygon = PoolVector2Array( -64, 0, 0, 32, 64, 0, 0, -32 ) [node name="Column" type="Sprite" parent="."] -position = Vector2( 359.563, 266.446 ) +position = Vector2( 600, 0 ) texture = ExtResource( 1 ) -centered = false -offset = Vector2( -69.5632, -100.446 ) +offset = Vector2( 0, -32 ) region_enabled = true -region_rect = Rect2( 220, 220, 132, 136 ) +region_rect = Rect2( 259, 241, 55, 95 ) -[node name="StaticBody" type="StaticBody2D" parent="Column"] +[node name="StaticBody2D" type="StaticBody2D" parent="Column"] -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Column/StaticBody"] -polygon = PoolVector2Array( -20, -6, -4, 10, 4, 10, 28, -6, 12, -22, -4, -22 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Column/StaticBody2D"] +position = Vector2( 2, 0 ) +polygon = PoolVector2Array( -24, 2, -10, 12, 10, 12, 24, 2, 24, -12, 10, -22, -10, -22, -24, -12 ) [node name="Door1" type="Sprite" parent="."] -position = Vector2( -24.1548, 142.216 ) +position = Vector2( 800, 0 ) texture = ExtResource( 1 ) -centered = false -offset = Vector2( -50.3623, -90.8164 ) +offset = Vector2( 0, -25 ) region_enabled = true -region_rect = Rect2( 24, 408, 132, 136 ) +region_rect = Rect2( 54, 426, 85, 110 ) [node name="StaticBody2D" type="StaticBody2D" parent="Door1"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Door1/StaticBody2D"] -polygon = PoolVector2Array( -5.90501, 31.3748, 66.095, -0.62516, 50.095, -8.62516, -21.905, 23.3748 ) +polygon = PoolVector2Array( -24, 24, 40, -8, 24, -16, -40, 16 ) diff --git a/2d/isometric/troll.gd b/2d/isometric/troll.gd index 27e31627..fa9f0704 100644 --- a/2d/isometric/troll.gd +++ b/2d/isometric/troll.gd @@ -1,6 +1,6 @@ extends KinematicBody2D -const MOTION_SPEED = 160 # Pixels/second +const MOTION_SPEED = 160 # Pixels/second. func _physics_process(_delta): var motion = Vector2() diff --git a/2d/isometric/troll.tscn b/2d/isometric/troll.tscn index 80d039f4..a7ccb88b 100644 --- a/2d/isometric/troll.tscn +++ b/2d/isometric/troll.tscn @@ -10,11 +10,10 @@ radius = 16.0 script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] -position = Vector2( -3.94334, -36.924 ) +position = Vector2( -4, -28 ) texture = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( -0.342697, -0.980721 ) shape = SubResource( 1 ) [node name="Camera2D" type="Camera2D" parent="."] diff --git a/2d/kinematic_character/project.godot b/2d/kinematic_character/project.godot index e88da30d..5d946096 100644 --- a/2d/kinematic_character/project.godot +++ b/2d/kinematic_character/project.godot @@ -71,4 +71,5 @@ multithread/thread_rid_pool_prealloc=60 [rendering] +quality/driver/driver_name="GLES2" environment/default_clear_color=Color( 0.156, 0.1325, 0.25, 1 ) diff --git a/2d/light2d_as_mask/project.godot b/2d/light2d_as_mask/project.godot index 57f97360..bfa9c149 100644 --- a/2d/light2d_as_mask/project.godot +++ b/2d/light2d_as_mask/project.godot @@ -31,3 +31,7 @@ singletons=[ ] [rasterizer] shadow_filter=3 + +[rendering] + +quality/driver/driver_name="GLES2" diff --git a/2d/lights_and_shadows/light_shadows.tscn b/2d/lights_and_shadows/light_shadows.tscn index d6ff6293..06b89493 100644 --- a/2d/lights_and_shadows/light_shadows.tscn +++ b/2d/lights_and_shadows/light_shadows.tscn @@ -186,6 +186,7 @@ occluder = SubResource( 1 ) position = Vector2( 159.289, 452.441 ) texture = ExtResource( 3 ) color = Color( 1, 0.446392, 0.0576646, 1 ) +energy = 0.95 shadow_enabled = true shadow_gradient_length = 1.3 shadow_filter = 3 @@ -204,6 +205,7 @@ anims/motion2 = SubResource( 4 ) position = Vector2( 753.756, 314.336 ) texture = ExtResource( 3 ) color = Color( 0.49247, 0.878537, 0.409146, 1 ) +energy = 0.95 shadow_enabled = true shadow_gradient_length = 1.2 shadow_filter = 3 @@ -222,6 +224,7 @@ anims/motion = SubResource( 3 ) position = Vector2( 692.078, 31.1773 ) texture = ExtResource( 3 ) color = Color( 0.396752, 0.446392, 0.929792, 1 ) +energy = 0.95 shadow_enabled = true shadow_gradient_length = 1.4 shadow_filter = 3 diff --git a/2d/lights_and_shadows/project.godot b/2d/lights_and_shadows/project.godot index bb144da3..037b3079 100644 --- a/2d/lights_and_shadows/project.godot +++ b/2d/lights_and_shadows/project.godot @@ -34,3 +34,7 @@ singletons=[ ] [rasterizer] shadow_filter=2 + +[rendering] + +quality/driver/driver_name="GLES2" diff --git a/2d/navigation/project.godot b/2d/navigation/project.godot index 2651056b..add40626 100644 --- a/2d/navigation/project.godot +++ b/2d/navigation/project.godot @@ -41,4 +41,5 @@ click={ [rendering] +quality/driver/driver_name="GLES2" environment/default_clear_color=Color( 0.160784, 0.172549, 0.278431, 1 ) diff --git a/2d/navigation_astar/project.godot b/2d/navigation_astar/project.godot index dd0e1ca2..b58c37cd 100644 --- a/2d/navigation_astar/project.godot +++ b/2d/navigation_astar/project.godot @@ -34,4 +34,5 @@ click={ [rendering] +quality/driver/driver_name="GLES2" environment/default_environment="res://default_env.tres" diff --git a/2d/physics_platformer/Stage.tscn b/2d/physics_platformer/Stage.tscn index 76071649..3ee3b8c1 100644 --- a/2d/physics_platformer/Stage.tscn +++ b/2d/physics_platformer/Stage.tscn @@ -14,7 +14,6 @@ friction = 0.0 [sub_resource type="PhysicsMaterial" id=2] -friction = 0.0 [sub_resource type="PhysicsMaterial" id=3] friction = 0.0 @@ -26,7 +25,6 @@ friction = 0.0 friction = 0.0 [sub_resource type="PhysicsMaterial" id=6] -friction = 0.0 [sub_resource type="PhysicsMaterial" id=7] friction = 0.0 @@ -53,7 +51,7 @@ tile_set = ExtResource( 1 ) cell_size = Vector2( 32, 32 ) cell_quadrant_size = 4 format = 1 -tile_data = PoolIntArray( 0, 2, 0, 70, 536870914, 0, 71, 10, 0, 72, 10, 0, 73, 10, 0, 74, 10, 0, 75, 10, 0, 76, 10, 0, 77, 10, 0, 78, 10, 0, 65536, 2, 0, 65606, 536870914, 0, 65607, 10, 0, 65608, 10, 0, 65609, 10, 0, 65610, 10, 0, 65611, 10, 0, 65612, 10, 0, 65613, 10, 0, 65614, 10, 0, 131072, 2, 0, 131142, 536870914, 0, 131143, 10, 0, 131144, 10, 0, 131145, 10, 0, 131146, 10, 0, 131147, 10, 0, 131148, 10, 0, 131149, 10, 0, 131150, 10, 0, 196608, 2, 0, 196626, 9, 0, 196678, 536870914, 0, 196679, 10, 0, 196680, 10, 0, 196681, 10, 0, 196682, 10, 0, 196683, 10, 0, 196684, 10, 0, 196685, 10, 0, 196686, 10, 0, 262144, 2, 0, 262162, 8, 0, 262214, 536870914, 0, 262215, 10, 0, 262216, 10, 0, 262217, 10, 0, 262218, 10, 0, 262219, 10, 0, 262220, 10, 0, 262221, 10, 0, 262222, 10, 0, 327680, 2, 0, 327697, 536870921, 0, 327698, 7, 0, 327733, 9, 0, 327750, 536870914, 0, 327751, 10, 0, 327752, 10, 0, 327753, 10, 0, 327754, 10, 0, 327755, 10, 0, 327756, 10, 0, 327757, 10, 0, 327758, 10, 0, 393216, 2, 0, 393233, 536870920, 0, 393234, 7, 0, 393257, 9, 0, 393269, 7, 0, 393286, 536870914, 0, 393287, 10, 0, 393288, 10, 0, 393289, 10, 0, 393290, 10, 0, 393291, 10, 0, 393292, 10, 0, 393293, 10, 0, 393294, 10, 0, 458752, 2, 0, 458769, 7, 0, 458770, 8, 0, 458790, 9, 0, 458793, 8, 0, 458805, 8, 0, 458822, 536870914, 0, 458823, 10, 0, 458824, 10, 0, 458825, 10, 0, 458826, 10, 0, 458827, 10, 0, 458828, 10, 0, 458829, 10, 0, 458830, 10, 0, 524288, 4, 0, 524289, 1, 0, 524304, 536870913, 0, 524305, 536870918, 0, 524306, 6, 0, 524307, 5, 0, 524308, 1, 0, 524326, 8, 0, 524329, 7, 0, 524341, 7, 0, 524358, 536870914, 0, 524359, 10, 0, 524360, 10, 0, 524361, 10, 0, 524362, 10, 0, 524363, 10, 0, 524364, 10, 0, 524365, 10, 0, 524366, 10, 0, 589824, 10, 0, 589825, 13, 0, 589840, 536870914, 0, 589841, 10, 0, 589842, 10, 0, 589843, 10, 0, 589844, 2, 0, 589862, 7, 0, 589865, 7, 0, 589876, 536870913, 0, 589877, 6, 0, 589878, 1, 0, 589894, 536870914, 0, 589895, 10, 0, 589896, 10, 0, 589897, 10, 0, 589898, 10, 0, 589899, 10, 0, 589900, 10, 0, 589901, 10, 0, 589902, 10, 0, 655360, 2, 0, 655376, 536870914, 0, 655377, 10, 0, 655378, 10, 0, 655379, 10, 0, 655380, 2, 0, 655398, 7, 0, 655401, 8, 0, 655412, 536870925, 0, 655413, 11, 0, 655414, 13, 0, 655430, 536870914, 0, 655431, 10, 0, 655432, 10, 0, 655433, 10, 0, 655434, 10, 0, 655435, 10, 0, 655436, 10, 0, 655437, 10, 0, 655438, 10, 0, 720896, 2, 0, 720912, 536870914, 0, 720913, 10, 0, 720914, 10, 0, 720915, 10, 0, 720916, 2, 0, 720934, 8, 0, 720937, 7, 0, 720958, 536870913, 0, 720959, 5, 0, 720960, 536870917, 0, 720961, 5, 0, 720962, 5, 0, 720963, 536870917, 0, 720964, 5, 0, 720965, 0, 0, 720966, 536870916, 0, 720967, 10, 0, 720968, 10, 0, 720969, 10, 0, 720970, 10, 0, 720971, 10, 0, 720972, 10, 0, 720973, 10, 0, 720974, 10, 0, 786432, 2, 0, 786437, 9, 0, 786448, 536870914, 0, 786449, 10, 0, 786450, 10, 0, 786451, 10, 0, 786452, 2, 0, 786464, 536870913, 0, 786465, 1, 0, 786470, 7, 0, 786473, 7, 0, 786474, 536870924, 0, 786475, 1, 0, 786494, 536870914, 0, 786495, 10, 0, 786496, 10, 0, 786497, 10, 0, 786498, 10, 0, 786499, 10, 0, 786500, 10, 0, 786501, 10, 0, 786502, 10, 0, 786503, 10, 0, 786504, 10, 0, 786505, 10, 0, 786506, 10, 0, 786507, 10, 0, 786508, 10, 0, 786509, 10, 0, 851968, 2, 0, 851973, 7, 0, 851984, 536870914, 0, 851985, 10, 0, 851986, 10, 0, 851987, 10, 0, 851988, 2, 0, 851996, 536870913, 0, 851997, 1, 0, 852000, 536870914, 0, 852001, 3, 0, 852006, 7, 0, 852009, 536870913, 0, 852011, 2, 0, 852030, 536870914, 0, 852031, 10, 0, 852032, 10, 0, 852033, 10, 0, 852034, 10, 0, 852035, 10, 0, 852036, 10, 0, 852037, 10, 0, 852038, 10, 0, 852039, 10, 0, 852040, 10, 0, 852041, 10, 0, 852042, 10, 0, 852043, 10, 0, 852044, 10, 0, 852045, 10, 0, 917504, 2, 0, 917506, 9, 0, 917509, 7, 0, 917512, 536870921, 0, 917520, 536870925, 0, 917521, 11, 0, 917522, 11, 0, 917523, 11, 0, 917524, 13, 0, 917532, 536870925, 0, 917533, 13, 0, 917536, 536870914, 0, 917537, 4, 0, 917538, 1, 0, 917540, 536870913, 0, 917541, 0, 0, 917542, 1, 0, 917545, 536870914, 0, 917546, 10, 0, 917547, 4, 0, 917548, 1, 0, 917566, 536870914, 0, 917567, 10, 0, 917568, 10, 0, 917569, 10, 0, 917570, 10, 0, 917571, 10, 0, 917572, 10, 0, 917573, 10, 0, 917574, 10, 0, 917575, 10, 0, 917576, 10, 0, 917577, 10, 0, 917578, 10, 0, 917579, 10, 0, 917580, 10, 0, 917581, 10, 0, 983040, 2, 0, 983042, 7, 0, 983045, 7, 0, 983048, 536870920, 0, 983050, 536870913, 0, 983051, 0, 0, 983052, 1, 0, 983064, 536870913, 0, 983065, 1, 0, 983072, 536870914, 0, 983073, 10, 0, 983074, 4, 0, 983075, 0, 0, 983076, 536870916, 0, 983077, 10, 0, 983078, 4, 0, 983079, 536870912, 0, 983080, 536870912, 0, 983081, 536870916, 0, 983082, 10, 0, 983083, 10, 0, 983084, 2, 0, 983095, 9, 0, 983102, 536870914, 0, 983103, 10, 0, 983104, 10, 0, 983105, 10, 0, 983106, 10, 0, 983107, 10, 0, 983108, 10, 0, 983109, 10, 0, 983110, 10, 0, 983111, 10, 0, 983112, 10, 0, 983113, 10, 0, 983114, 10, 0, 983115, 10, 0, 983116, 10, 0, 983117, 10, 0, 1048576, 2, 0, 1048578, 8, 0, 1048581, 8, 0, 1048584, 536870919, 0, 1048586, 536870914, 0, 1048587, 536870922, 0, 1048588, 2, 0, 1048600, 536870925, 0, 1048601, 13, 0, 1048604, 9, 0, 1048608, 536870925, 0, 1048609, 536870923, 0, 1048610, 536870923, 0, 1048611, 536870923, 0, 1048612, 10, 0, 1048613, 10, 0, 1048614, 10, 0, 1048615, 10, 0, 1048616, 10, 0, 1048617, 10, 0, 1048618, 10, 0, 1048619, 10, 0, 1048620, 4, 0, 1048621, 1, 0, 1048630, 536870921, 0, 1048631, 8, 0, 1048638, 536870914, 0, 1048639, 10, 0, 1048640, 10, 0, 1048641, 10, 0, 1048642, 10, 0, 1048643, 10, 0, 1048644, 10, 0, 1048645, 10, 0, 1048646, 10, 0, 1048647, 10, 0, 1048648, 10, 0, 1048649, 10, 0, 1048650, 10, 0, 1048651, 10, 0, 1048652, 10, 0, 1048653, 10, 0, 1114112, 4, 0, 1114113, 0, 0, 1114114, 6, 0, 1114115, 0, 0, 1114116, 0, 0, 1114117, 6, 0, 1114118, 1, 0, 1114120, 536870920, 0, 1114122, 536870925, 0, 1114123, 11, 0, 1114124, 13, 0, 1114128, 536870913, 0, 1114129, 5, 0, 1114130, 536870917, 0, 1114131, 5, 0, 1114132, 0, 0, 1114133, 1, 0, 1114140, 7, 0, 1114141, 536870921, 0, 1114148, 536870914, 0, 1114149, 10, 0, 1114150, 10, 0, 1114151, 10, 0, 1114152, 10, 0, 1114153, 10, 0, 1114154, 10, 0, 1114155, 10, 0, 1114156, 10, 0, 1114157, 2, 0, 1114166, 536870920, 0, 1114167, 8, 0, 1114174, 536870914, 0, 1114175, 10, 0, 1114176, 10, 0, 1114177, 10, 0, 1114178, 10, 0, 1114179, 10, 0, 1114180, 10, 0, 1114181, 10, 0, 1114182, 10, 0, 1114183, 10, 0, 1114184, 10, 0, 1114185, 10, 0, 1114186, 10, 0, 1114187, 10, 0, 1114188, 10, 0, 1179648, 10, 0, 1179649, 10, 0, 1179650, 10, 0, 1179651, 10, 0, 1179652, 10, 0, 1179653, 10, 0, 1179654, 2, 0, 1179656, 536870919, 0, 1179664, 536870915, 0, 1179665, 10, 0, 1179666, 10, 0, 1179667, 10, 0, 1179668, 10, 0, 1179669, 4, 0, 1179670, 12, 0, 1179675, 9, 0, 1179676, 8, 0, 1179677, 8, 0, 1179684, 536870914, 0, 1179685, 10, 0, 1179686, 10, 0, 1179687, 10, 0, 1179688, 10, 0, 1179689, 10, 0, 1179690, 10, 0, 1179691, 10, 0, 1179692, 10, 0, 1179693, 4, 0, 1179694, 1, 0, 1179701, 9, 0, 1179702, 536870919, 0, 1179703, 7, 0, 1179710, 536870914, 0, 1179711, 10, 0, 1179712, 10, 0, 1179713, 10, 0, 1179714, 10, 0, 1179715, 10, 0, 1179716, 10, 0, 1179717, 10, 0, 1179718, 10, 0, 1179719, 10, 0, 1179720, 10, 0, 1179721, 10, 0, 1179722, 10, 0, 1245184, 10, 0, 1245185, 10, 0, 1245186, 10, 0, 1245187, 10, 0, 1245188, 10, 0, 1245189, 10, 0, 1245190, 2, 0, 1245192, 536870919, 0, 1245199, 536870913, 0, 1245200, 536870916, 0, 1245201, 10, 0, 1245202, 10, 0, 1245203, 10, 0, 1245204, 10, 0, 1245205, 10, 0, 1245207, 1, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 536870920, 0, 1245220, 536870914, 0, 1245221, 10, 0, 1245222, 10, 0, 1245223, 10, 0, 1245224, 10, 0, 1245225, 10, 0, 1245226, 10, 0, 1245227, 10, 0, 1245228, 10, 0, 1245229, 10, 0, 1245230, 2, 0, 1245237, 8, 0, 1245238, 536870919, 0, 1245239, 8, 0, 1245240, 536870921, 0, 1245246, 536870914, 0, 1245247, 10, 0, 1245248, 10, 0, 1245249, 10, 0, 1245250, 10, 0, 1245251, 10, 0, 1245252, 10, 0, 1245253, 10, 0, 1245254, 10, 0, 1245255, 10, 0, 1245256, 10, 0, 1245257, 10, 0, 1245258, 10, 0, 1310720, 10, 0, 1310721, 10, 0, 1310722, 10, 0, 1310723, 10, 0, 1310724, 10, 0, 1310725, 10, 0, 1310726, 2, 0, 1310728, 536870920, 0, 1310730, 536870913, 0, 1310731, 1, 0, 1310734, 536870913, 0, 1310735, 536870916, 0, 1310736, 10, 0, 1310737, 10, 0, 1310738, 10, 0, 1310739, 10, 0, 1310740, 10, 0, 1310741, 10, 0, 1310742, 10, 0, 1310743, 4, 0, 1310744, 1, 0, 1310747, 8, 0, 1310748, 7, 0, 1310749, 536870919, 0, 1310756, 536870914, 0, 1310757, 10, 0, 1310758, 10, 0, 1310759, 10, 0, 1310760, 10, 0, 1310761, 10, 0, 1310762, 10, 0, 1310763, 10, 0, 1310764, 10, 0, 1310765, 10, 0, 1310766, 4, 0, 1310767, 5, 0, 1310768, 12, 0, 1310773, 7, 0, 1310774, 536870919, 0, 1310775, 7, 0, 1310776, 536870919, 0, 1310782, 536870914, 0, 1310783, 10, 0, 1310784, 10, 0, 1310785, 10, 0, 1310786, 10, 0, 1310787, 10, 0, 1310788, 10, 0, 1310789, 10, 0, 1310790, 10, 0, 1310791, 10, 0, 1310792, 10, 0, 1310793, 10, 0, 1376256, 10, 0, 1376257, 10, 0, 1376258, 10, 0, 1376259, 10, 0, 1376260, 10, 0, 1376261, 10, 0, 1376262, 4, 0, 1376263, 0, 0, 1376264, 0, 0, 1376265, 0, 0, 1376266, 536870916, 0, 1376267, 4, 0, 1376268, 0, 0, 1376269, 0, 0, 1376270, 536870916, 0, 1376271, 10, 0, 1376272, 10, 0, 1376273, 10, 0, 1376274, 10, 0, 1376275, 10, 0, 1376276, 10, 0, 1376277, 10, 0, 1376278, 10, 0, 1376279, 10, 0, 1376280, 4, 0, 1376281, 12, 0, 1376283, 8, 0, 1376284, 8, 0, 1376285, 536870920, 0, 1376287, 536870924, 0, 1376288, 0, 0, 1376289, 5, 0, 1376290, 536870917, 0, 1376291, 0, 0, 1376292, 536870916, 0, 1376293, 10, 0, 1376294, 10, 0, 1376295, 10, 0, 1376296, 10, 0, 1376297, 10, 0, 1376298, 10, 0, 1376299, 10, 0, 1376300, 10, 0, 1376301, 10, 0, 1376302, 10, 0, 1376303, 10, 0, 1376305, 12, 0, 1376309, 7, 0, 1376310, 536870920, 0, 1376311, 7, 0, 1376312, 536870920, 0, 1376318, 536870914, 0, 1376319, 10, 0, 1376320, 10, 0, 1376321, 10, 0, 1376322, 10, 0, 1376323, 10, 0, 1376324, 10, 0, 1376325, 10, 0, 1376326, 10, 0, 1376327, 10, 0, 1376328, 10, 0, 1441792, 10, 0, 1441793, 10, 0, 1441794, 10, 0, 1441795, 10, 0, 1441796, 10, 0, 1441797, 10, 0, 1441798, 10, 0, 1441799, 10, 0, 1441800, 10, 0, 1441801, 10, 0, 1441802, 10, 0, 1441803, 10, 0, 1441804, 10, 0, 1441805, 10, 0, 1441806, 10, 0, 1441807, 10, 0, 1441808, 10, 0, 1441809, 10, 0, 1441810, 10, 0, 1441811, 10, 0, 1441812, 10, 0, 1441813, 10, 0, 1441814, 10, 0, 1441815, 10, 0, 1441816, 10, 0, 1441818, 0, 0, 1441819, 6, 0, 1441820, 6, 0, 1441821, 536870918, 0, 1441822, 5, 0, 1441824, 10, 0, 1441825, 10, 0, 1441826, 10, 0, 1441827, 10, 0, 1441828, 10, 0, 1441829, 10, 0, 1441830, 10, 0, 1441831, 10, 0, 1441832, 10, 0, 1441833, 10, 0, 1441834, 10, 0, 1441835, 10, 0, 1441836, 10, 0, 1441837, 10, 0, 1441838, 10, 0, 1441839, 10, 0, 1441840, 10, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 6, 0, 1441846, 536870918, 0, 1441847, 6, 0, 1441848, 536870918, 0, 1441849, 0, 0, 1441850, 5, 0, 1441851, 536870917, 0, 1441852, 5, 0, 1441853, 0, 0, 1441854, 536870916, 0, 1441855, 10, 0, 1441856, 10, 0, 1441857, 10, 0, 1441858, 10, 0, 1441859, 10, 0, 1441860, 10, 0, 1441861, 10, 0, 1441862, 10, 0, 1441863, 10, 0, 1507328, 10, 0, 1507329, 10, 0, 1507330, 10, 0, 1507331, 10, 0, 1507332, 10, 0, 1507333, 10, 0, 1507334, 10, 0, 1507335, 10, 0, 1507336, 10, 0, 1507337, 10, 0, 1507338, 10, 0, 1507339, 10, 0, 1507340, 10, 0, 1507341, 10, 0, 1507342, 10, 0, 1507343, 10, 0, 1507344, 10, 0, 1507345, 10, 0, 1507346, 10, 0, 1507347, 10, 0, 1507348, 10, 0, 1507349, 10, 0, 1507350, 10, 0, 1507351, 10, 0, 1507352, 10, 0, 1507353, 10, 0, 1507354, 10, 0, 1507355, 10, 0, 1507356, 10, 0, 1507357, 10, 0, 1507358, 10, 0, 1507359, 10, 0, 1507360, 10, 0, 1507361, 10, 0, 1507362, 10, 0, 1507363, 10, 0, 1507364, 10, 0, 1507365, 10, 0, 1507366, 10, 0, 1507367, 10, 0, 1507368, 10, 0, 1507369, 10, 0, 1507370, 10, 0, 1507371, 10, 0, 1507372, 10, 0, 1507373, 10, 0, 1507374, 10, 0, 1507375, 10, 0, 1507376, 10, 0, 1507377, 10, 0, 1507378, 10, 0, 1507379, 10, 0, 1507380, 10, 0, 1507381, 10, 0, 1507382, 10, 0, 1507383, 10, 0, 1507384, 10, 0, 1507385, 10, 0, 1507386, 10, 0, 1507387, 10, 0, 1507388, 10, 0, 1507389, 10, 0, 1507390, 10, 0, 1507391, 10, 0, 1507392, 10, 0, 1507393, 10, 0, 1507394, 10, 0, 1507395, 10, 0, 1507396, 10, 0, 1507397, 10, 0, 1507398, 10, 0, 1507399, 10, 0, 1572864, 10, 0, 1572865, 10, 0, 1572866, 10, 0, 1572867, 10, 0, 1572868, 10, 0, 1572869, 10, 0, 1572870, 10, 0, 1572871, 10, 0, 1572872, 10, 0, 1572873, 10, 0, 1572874, 10, 0, 1572875, 10, 0, 1572876, 10, 0, 1572877, 10, 0, 1572878, 10, 0, 1572879, 10, 0, 1572880, 10, 0, 1572881, 10, 0, 1572882, 10, 0, 1572883, 10, 0, 1572884, 10, 0, 1572885, 10, 0, 1572886, 10, 0, 1572887, 10, 0, 1572888, 10, 0, 1572889, 10, 0, 1572890, 10, 0, 1572891, 10, 0, 1572892, 10, 0, 1572893, 10, 0, 1572894, 10, 0, 1572895, 10, 0, 1572896, 10, 0, 1572897, 10, 0, 1572898, 10, 0, 1572899, 10, 0, 1572900, 10, 0, 1572901, 10, 0, 1572902, 10, 0, 1572903, 10, 0, 1572904, 10, 0, 1572905, 10, 0, 1572906, 10, 0, 1572907, 10, 0, 1572908, 10, 0, 1572909, 10, 0, 1572910, 10, 0, 1572911, 10, 0, 1572912, 10, 0, 1572913, 10, 0, 1572914, 10, 0, 1572915, 10, 0, 1572916, 10, 0, 1572917, 10, 0, 1572918, 10, 0, 1572919, 10, 0, 1572920, 10, 0, 1572921, 10, 0, 1572922, 10, 0, 1572923, 10, 0, 1572924, 10, 0, 1572925, 10, 0, 1572926, 10, 0, 1572927, 10, 0, 1572928, 10, 0, 1572929, 10, 0, 1572930, 10, 0, 1572931, 10, 0, 1572932, 10, 0, 1572933, 10, 0, 1572934, 10, 0, 1572935, 10, 0, 1638400, 10, 0, 1638401, 10, 0, 1638402, 10, 0, 1638403, 10, 0, 1638404, 10, 0, 1638405, 10, 0, 1638406, 10, 0, 1638407, 10, 0, 1638408, 10, 0, 1638409, 10, 0, 1638410, 10, 0, 1638411, 10, 0, 1638412, 10, 0, 1638413, 10, 0, 1638414, 10, 0, 1638415, 10, 0, 1638416, 10, 0, 1638417, 10, 0, 1638418, 10, 0, 1638419, 10, 0, 1638420, 10, 0, 1638421, 10, 0, 1638422, 10, 0, 1638423, 10, 0, 1638424, 10, 0, 1638425, 10, 0, 1638426, 10, 0, 1638427, 10, 0, 1638428, 10, 0, 1638429, 10, 0, 1638430, 10, 0, 1638431, 10, 0, 1638432, 10, 0, 1638433, 10, 0, 1638434, 10, 0, 1638435, 10, 0, 1638436, 10, 0, 1638437, 10, 0, 1638438, 10, 0, 1638439, 10, 0, 1638440, 10, 0, 1638441, 10, 0, 1638442, 10, 0, 1638443, 10, 0, 1638444, 10, 0, 1638445, 10, 0, 1638446, 10, 0, 1638447, 10, 0, 1638448, 10, 0, 1638449, 10, 0, 1638450, 10, 0, 1638451, 10, 0, 1638452, 10, 0, 1638453, 10, 0, 1638454, 10, 0, 1638455, 10, 0, 1638456, 10, 0, 1638457, 10, 0, 1638458, 10, 0, 1638459, 10, 0, 1638460, 10, 0, 1638461, 10, 0, 1638462, 10, 0, 1638463, 10, 0, 1638464, 10, 0, 1638465, 10, 0, 1638466, 10, 0, 1638467, 10, 0, 1638468, 10, 0, 1638469, 10, 0, 1638470, 10, 0, 1638471, 10, 0, 1703952, 10, 0, 1703953, 10, 0, 1703954, 10, 0, 1703955, 10, 0, 1703956, 10, 0, 1703957, 10, 0, 1703958, 10, 0, 1703959, 10, 0, 1703960, 10, 0, 1703961, 10, 0, 1703962, 10, 0, 1703963, 10, 0, 1703964, 10, 0, 1703965, 10, 0, 1703966, 10, 0, 1703967, 10, 0, 1703968, 10, 0, 1703969, 10, 0, 1703970, 10, 0, 1703971, 10, 0, 1703972, 10, 0, 1703973, 10, 0, 1703974, 10, 0, 1703975, 10, 0, 1703976, 10, 0, 1703977, 10, 0, 1703978, 10, 0, 1703979, 10, 0, 1703980, 10, 0, 1703981, 10, 0, 1703982, 10, 0, 1703983, 10, 0, 1703984, 10, 0, 1703985, 10, 0, 1703986, 10, 0, 1703987, 10, 0, 1703988, 10, 0, 1703989, 10, 0, 1703990, 10, 0, 1703991, 10, 0, 1703992, 10, 0, 1703993, 10, 0, 1703994, 10, 0, 1703995, 10, 0, 1703996, 10, 0, 1703997, 10, 0, 1703998, 10, 0, 1703999, 10, 0, 1704000, 10, 0, 1704001, 10, 0, 1704002, 10, 0, 1704003, 10, 0, 1704004, 10, 0, 1704005, 10, 0, 1704006, 10, 0, 1704007, 10, 0, 1769488, 10, 0, 1769489, 10, 0, 1769490, 10, 0, 1769491, 10, 0, 1769492, 10, 0, 1769493, 10, 0, 1769494, 10, 0, 1769495, 10, 0, 1769496, 10, 0, 1769497, 10, 0, 1769498, 10, 0, 1769499, 10, 0, 1769500, 10, 0, 1769501, 10, 0, 1769502, 10, 0, 1769503, 10, 0, 1769504, 10, 0, 1769505, 10, 0, 1769506, 10, 0, 1769507, 10, 0, 1769508, 10, 0, 1769509, 10, 0, 1769510, 10, 0, 1769511, 10, 0, 1769512, 10, 0, 1769513, 10, 0, 1769514, 10, 0, 1769515, 10, 0, 1769516, 10, 0, 1769517, 10, 0, 1769518, 10, 0, 1769519, 10, 0, 1769520, 10, 0, 1769521, 10, 0, 1769522, 10, 0, 1769523, 10, 0, 1769524, 10, 0, 1769525, 10, 0, 1769526, 10, 0, 1769527, 10, 0, 1769528, 10, 0, 1769529, 10, 0, 1769530, 10, 0, 1769531, 10, 0, 1769532, 10, 0, 1769533, 10, 0, 1769534, 10, 0, 1769535, 10, 0, 1769536, 10, 0, 1769537, 10, 0, 1769538, 10, 0, 1769539, 10, 0, 1769540, 10, 0, 1769541, 10, 0 ) +tile_data = PoolIntArray( 0, 2, 0, 70, 536870914, 0, 71, 10, 0, 72, 10, 0, 73, 10, 0, 74, 10, 0, 75, 10, 0, 76, 10, 0, 77, 10, 0, 78, 10, 0, 65536, 2, 0, 65606, 536870914, 0, 65607, 10, 0, 65608, 10, 0, 65609, 10, 0, 65610, 10, 0, 65611, 10, 0, 65612, 10, 0, 65613, 10, 0, 65614, 10, 0, 131072, 2, 0, 131142, 536870914, 0, 131143, 10, 0, 131144, 10, 0, 131145, 10, 0, 131146, 10, 0, 131147, 10, 0, 131148, 10, 0, 131149, 10, 0, 131150, 10, 0, 196608, 2, 0, 196626, 9, 0, 196678, 536870914, 0, 196679, 10, 0, 196680, 10, 0, 196681, 10, 0, 196682, 10, 0, 196683, 10, 0, 196684, 10, 0, 196685, 10, 0, 196686, 10, 0, 262144, 2, 0, 262162, 8, 0, 262214, 536870914, 0, 262215, 10, 0, 262216, 10, 0, 262217, 10, 0, 262218, 10, 0, 262219, 10, 0, 262220, 10, 0, 262221, 10, 0, 262222, 10, 0, 327680, 2, 0, 327697, 536870921, 0, 327698, 7, 0, 327733, 9, 0, 327750, 536870914, 0, 327751, 10, 0, 327752, 10, 0, 327753, 10, 0, 327754, 10, 0, 327755, 10, 0, 327756, 10, 0, 327757, 10, 0, 327758, 10, 0, 393216, 2, 0, 393233, 536870920, 0, 393234, 7, 0, 393257, 9, 0, 393269, 7, 0, 393286, 536870914, 0, 393287, 10, 0, 393288, 10, 0, 393289, 10, 0, 393290, 10, 0, 393291, 10, 0, 393292, 10, 0, 393293, 10, 0, 393294, 10, 0, 458752, 2, 0, 458769, 7, 0, 458770, 8, 0, 458790, 9, 0, 458793, 8, 0, 458805, 8, 0, 458822, 536870914, 0, 458823, 10, 0, 458824, 10, 0, 458825, 10, 0, 458826, 10, 0, 458827, 10, 0, 458828, 10, 0, 458829, 10, 0, 458830, 10, 0, 524288, 4, 0, 524289, 1, 0, 524304, 536870913, 0, 524305, 536870918, 0, 524306, 6, 0, 524307, 5, 0, 524308, 1, 0, 524326, 8, 0, 524329, 7, 0, 524341, 7, 0, 524358, 536870914, 0, 524359, 10, 0, 524360, 10, 0, 524361, 10, 0, 524362, 10, 0, 524363, 10, 0, 524364, 10, 0, 524365, 10, 0, 524366, 10, 0, 589824, 10, 0, 589825, 13, 0, 589840, 536870914, 0, 589841, 10, 0, 589842, 10, 0, 589843, 10, 0, 589844, 2, 0, 589862, 7, 0, 589865, 7, 0, 589876, 536870913, 0, 589877, 6, 0, 589878, 1, 0, 589894, 536870914, 0, 589895, 10, 0, 589896, 10, 0, 589897, 10, 0, 589898, 10, 0, 589899, 10, 0, 589900, 10, 0, 589901, 10, 0, 589902, 10, 0, 655360, 2, 0, 655376, 536870914, 0, 655377, 10, 0, 655378, 10, 0, 655379, 10, 0, 655380, 2, 0, 655398, 7, 0, 655401, 8, 0, 655412, 536870925, 0, 655413, 11, 0, 655414, 13, 0, 655430, 536870914, 0, 655431, 10, 0, 655432, 10, 0, 655433, 10, 0, 655434, 10, 0, 655435, 10, 0, 655436, 10, 0, 655437, 10, 0, 655438, 10, 0, 720896, 2, 0, 720912, 536870914, 0, 720913, 10, 0, 720914, 10, 0, 720915, 10, 0, 720916, 2, 0, 720934, 8, 0, 720937, 7, 0, 720958, 536870913, 0, 720959, 5, 0, 720960, 536870917, 0, 720961, 5, 0, 720962, 5, 0, 720963, 536870917, 0, 720964, 5, 0, 720965, 0, 0, 720966, 536870916, 0, 720967, 10, 0, 720968, 10, 0, 720969, 10, 0, 720970, 10, 0, 720971, 10, 0, 720972, 10, 0, 720973, 10, 0, 720974, 10, 0, 786432, 2, 0, 786437, 9, 0, 786448, 536870914, 0, 786449, 10, 0, 786450, 10, 0, 786451, 10, 0, 786452, 2, 0, 786464, 536870913, 0, 786465, 1, 0, 786470, 7, 0, 786473, 7, 0, 786474, 536870924, 0, 786475, 1, 0, 786494, 536870914, 0, 786495, 10, 0, 786496, 10, 0, 786497, 10, 0, 786498, 10, 0, 786499, 10, 0, 786500, 10, 0, 786501, 10, 0, 786502, 10, 0, 786503, 10, 0, 786504, 10, 0, 786505, 10, 0, 786506, 10, 0, 786507, 10, 0, 786508, 10, 0, 786509, 10, 0, 851968, 2, 0, 851973, 7, 0, 851984, 536870914, 0, 851985, 10, 0, 851986, 10, 0, 851987, 10, 0, 851988, 2, 0, 851996, 536870913, 0, 851997, 1, 0, 852000, 536870914, 0, 852001, 3, 0, 852006, 7, 0, 852009, 536870913, 0, 852011, 2, 0, 852030, 536870914, 0, 852031, 10, 0, 852032, 10, 0, 852033, 10, 0, 852034, 10, 0, 852035, 10, 0, 852036, 10, 0, 852037, 10, 0, 852038, 10, 0, 852039, 10, 0, 852040, 10, 0, 852041, 10, 0, 852042, 10, 0, 852043, 10, 0, 852044, 10, 0, 852045, 10, 0, 917504, 2, 0, 917506, 9, 0, 917509, 7, 0, 917512, 536870921, 0, 917520, 536870925, 0, 917521, 11, 0, 917522, 11, 0, 917523, 11, 0, 917524, 13, 0, 917532, 536870925, 0, 917533, 13, 0, 917536, 536870914, 0, 917537, 4, 0, 917538, 1, 0, 917540, 536870913, 0, 917541, 0, 0, 917542, 1, 0, 917545, 536870914, 0, 917546, 10, 0, 917547, 4, 0, 917548, 1, 0, 917566, 536870914, 0, 917567, 10, 0, 917568, 10, 0, 917569, 10, 0, 917570, 10, 0, 917571, 10, 0, 917572, 10, 0, 917573, 10, 0, 917574, 10, 0, 917575, 10, 0, 917576, 10, 0, 917577, 10, 0, 917578, 10, 0, 917579, 10, 0, 917580, 10, 0, 917581, 10, 0, 983040, 2, 0, 983042, 7, 0, 983045, 7, 0, 983048, 536870920, 0, 983050, 536870913, 0, 983051, 0, 0, 983052, 1, 0, 983064, 536870913, 0, 983065, 1, 0, 983072, 536870914, 0, 983073, 10, 0, 983074, 4, 0, 983075, 0, 0, 983076, 536870916, 0, 983077, 10, 0, 983078, 4, 0, 983079, 536870912, 0, 983080, 536870912, 0, 983081, 536870916, 0, 983082, 10, 0, 983083, 10, 0, 983084, 2, 0, 983095, 9, 0, 983102, 536870914, 0, 983103, 10, 0, 983104, 10, 0, 983105, 10, 0, 983106, 10, 0, 983107, 10, 0, 983108, 10, 0, 983109, 10, 0, 983110, 10, 0, 983111, 10, 0, 983112, 10, 0, 983113, 10, 0, 983114, 10, 0, 983115, 10, 0, 983116, 10, 0, 983117, 10, 0, 1048576, 2, 0, 1048578, 8, 0, 1048581, 8, 0, 1048584, 536870919, 0, 1048586, 536870914, 0, 1048587, 536870922, 0, 1048588, 2, 0, 1048600, 536870925, 0, 1048601, 13, 0, 1048604, 9, 0, 1048608, 536870925, 0, 1048609, 536870923, 0, 1048610, 536870923, 0, 1048611, 536870923, 0, 1048612, 10, 0, 1048613, 10, 0, 1048614, 10, 0, 1048615, 10, 0, 1048616, 10, 0, 1048617, 10, 0, 1048618, 10, 0, 1048619, 10, 0, 1048620, 4, 0, 1048621, 1, 0, 1048630, 536870921, 0, 1048631, 8, 0, 1048638, 536870914, 0, 1048639, 10, 0, 1048640, 10, 0, 1048641, 10, 0, 1048642, 10, 0, 1048643, 10, 0, 1048644, 10, 0, 1048645, 10, 0, 1048646, 10, 0, 1048647, 10, 0, 1048648, 10, 0, 1048649, 10, 0, 1048650, 10, 0, 1048651, 10, 0, 1048652, 10, 0, 1048653, 10, 0, 1114112, 4, 0, 1114113, 0, 0, 1114114, 6, 0, 1114115, 0, 0, 1114116, 0, 0, 1114117, 6, 0, 1114118, 1, 0, 1114120, 536870920, 0, 1114122, 536870925, 0, 1114123, 11, 0, 1114124, 13, 0, 1114128, 536870913, 0, 1114129, 5, 0, 1114130, 536870917, 0, 1114131, 5, 0, 1114132, 0, 0, 1114133, 1, 0, 1114140, 7, 0, 1114141, 536870921, 0, 1114148, 536870914, 0, 1114149, 10, 0, 1114150, 10, 0, 1114151, 10, 0, 1114152, 10, 0, 1114153, 10, 0, 1114154, 10, 0, 1114155, 10, 0, 1114156, 10, 0, 1114157, 2, 0, 1114166, 536870920, 0, 1114167, 8, 0, 1114174, 536870914, 0, 1114175, 10, 0, 1114176, 10, 0, 1114177, 10, 0, 1114178, 10, 0, 1114179, 10, 0, 1114180, 10, 0, 1114181, 10, 0, 1114182, 10, 0, 1114183, 10, 0, 1114184, 10, 0, 1114185, 10, 0, 1114186, 10, 0, 1114187, 10, 0, 1114188, 10, 0, 1179648, 10, 0, 1179649, 10, 0, 1179650, 10, 0, 1179651, 10, 0, 1179652, 10, 0, 1179653, 10, 0, 1179654, 2, 0, 1179656, 536870919, 0, 1179664, 536870914, 0, 1179665, 10, 0, 1179666, 10, 0, 1179667, 10, 0, 1179668, 10, 0, 1179669, 4, 0, 1179670, 12, 0, 1179675, 9, 0, 1179676, 8, 0, 1179677, 8, 0, 1179684, 536870914, 0, 1179685, 10, 0, 1179686, 10, 0, 1179687, 10, 0, 1179688, 10, 0, 1179689, 10, 0, 1179690, 10, 0, 1179691, 10, 0, 1179692, 10, 0, 1179693, 4, 0, 1179694, 1, 0, 1179701, 9, 0, 1179702, 536870919, 0, 1179703, 7, 0, 1179710, 536870914, 0, 1179711, 10, 0, 1179712, 10, 0, 1179713, 10, 0, 1179714, 10, 0, 1179715, 10, 0, 1179716, 10, 0, 1179717, 10, 0, 1179718, 10, 0, 1179719, 10, 0, 1179720, 10, 0, 1179721, 10, 0, 1179722, 10, 0, 1245184, 10, 0, 1245185, 10, 0, 1245186, 10, 0, 1245187, 10, 0, 1245188, 10, 0, 1245189, 10, 0, 1245190, 2, 0, 1245192, 536870919, 0, 1245199, 536870913, 0, 1245200, 536870916, 0, 1245201, 10, 0, 1245202, 10, 0, 1245203, 10, 0, 1245204, 10, 0, 1245205, 10, 0, 1245207, 1, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 536870920, 0, 1245220, 536870914, 0, 1245221, 10, 0, 1245222, 10, 0, 1245223, 10, 0, 1245224, 10, 0, 1245225, 10, 0, 1245226, 10, 0, 1245227, 10, 0, 1245228, 10, 0, 1245229, 10, 0, 1245230, 2, 0, 1245237, 8, 0, 1245238, 536870919, 0, 1245239, 8, 0, 1245240, 536870921, 0, 1245246, 536870914, 0, 1245247, 10, 0, 1245248, 10, 0, 1245249, 10, 0, 1245250, 10, 0, 1245251, 10, 0, 1245252, 10, 0, 1245253, 10, 0, 1245254, 10, 0, 1245255, 10, 0, 1245256, 10, 0, 1245257, 10, 0, 1245258, 10, 0, 1310720, 10, 0, 1310721, 10, 0, 1310722, 10, 0, 1310723, 10, 0, 1310724, 10, 0, 1310725, 10, 0, 1310726, 2, 0, 1310728, 536870920, 0, 1310730, 536870913, 0, 1310731, 1, 0, 1310734, 536870913, 0, 1310735, 536870916, 0, 1310736, 10, 0, 1310737, 10, 0, 1310738, 10, 0, 1310739, 10, 0, 1310740, 10, 0, 1310741, 10, 0, 1310742, 10, 0, 1310743, 4, 0, 1310744, 1, 0, 1310747, 8, 0, 1310748, 7, 0, 1310749, 536870919, 0, 1310756, 536870914, 0, 1310757, 10, 0, 1310758, 10, 0, 1310759, 10, 0, 1310760, 10, 0, 1310761, 10, 0, 1310762, 10, 0, 1310763, 10, 0, 1310764, 10, 0, 1310765, 10, 0, 1310766, 4, 0, 1310767, 5, 0, 1310768, 12, 0, 1310773, 7, 0, 1310774, 536870919, 0, 1310775, 7, 0, 1310776, 536870919, 0, 1310782, 536870914, 0, 1310783, 10, 0, 1310784, 10, 0, 1310785, 10, 0, 1310786, 10, 0, 1310787, 10, 0, 1310788, 10, 0, 1310789, 10, 0, 1310790, 10, 0, 1310791, 10, 0, 1310792, 10, 0, 1310793, 10, 0, 1376256, 10, 0, 1376257, 10, 0, 1376258, 10, 0, 1376259, 10, 0, 1376260, 10, 0, 1376261, 10, 0, 1376262, 4, 0, 1376263, 0, 0, 1376264, 0, 0, 1376265, 0, 0, 1376266, 536870916, 0, 1376267, 4, 0, 1376268, 0, 0, 1376269, 0, 0, 1376270, 536870916, 0, 1376271, 10, 0, 1376272, 10, 0, 1376273, 10, 0, 1376274, 10, 0, 1376275, 10, 0, 1376276, 10, 0, 1376277, 10, 0, 1376278, 10, 0, 1376279, 10, 0, 1376280, 4, 0, 1376281, 12, 0, 1376283, 8, 0, 1376284, 8, 0, 1376285, 536870920, 0, 1376287, 536870924, 0, 1376288, 0, 0, 1376289, 5, 0, 1376290, 536870917, 0, 1376291, 0, 0, 1376292, 536870916, 0, 1376293, 10, 0, 1376294, 10, 0, 1376295, 10, 0, 1376296, 10, 0, 1376297, 10, 0, 1376298, 10, 0, 1376299, 10, 0, 1376300, 10, 0, 1376301, 10, 0, 1376302, 10, 0, 1376303, 10, 0, 1376305, 12, 0, 1376309, 7, 0, 1376310, 536870920, 0, 1376311, 7, 0, 1376312, 536870920, 0, 1376318, 536870914, 0, 1376319, 10, 0, 1376320, 10, 0, 1376321, 10, 0, 1376322, 10, 0, 1376323, 10, 0, 1376324, 10, 0, 1376325, 10, 0, 1376326, 10, 0, 1376327, 10, 0, 1376328, 10, 0, 1441792, 10, 0, 1441793, 10, 0, 1441794, 10, 0, 1441795, 10, 0, 1441796, 10, 0, 1441797, 10, 0, 1441798, 10, 0, 1441799, 10, 0, 1441800, 10, 0, 1441801, 10, 0, 1441802, 10, 0, 1441803, 10, 0, 1441804, 10, 0, 1441805, 10, 0, 1441806, 10, 0, 1441807, 10, 0, 1441808, 10, 0, 1441809, 10, 0, 1441810, 10, 0, 1441811, 10, 0, 1441812, 10, 0, 1441813, 10, 0, 1441814, 10, 0, 1441815, 10, 0, 1441816, 10, 0, 1441818, 0, 0, 1441819, 6, 0, 1441820, 6, 0, 1441821, 536870918, 0, 1441822, 5, 0, 1441824, 10, 0, 1441825, 10, 0, 1441826, 10, 0, 1441827, 10, 0, 1441828, 10, 0, 1441829, 10, 0, 1441830, 10, 0, 1441831, 10, 0, 1441832, 10, 0, 1441833, 10, 0, 1441834, 10, 0, 1441835, 10, 0, 1441836, 10, 0, 1441837, 10, 0, 1441838, 10, 0, 1441839, 10, 0, 1441840, 10, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 6, 0, 1441846, 536870918, 0, 1441847, 6, 0, 1441848, 536870918, 0, 1441849, 0, 0, 1441850, 5, 0, 1441851, 536870917, 0, 1441852, 5, 0, 1441853, 0, 0, 1441854, 536870916, 0, 1441855, 10, 0, 1441856, 10, 0, 1441857, 10, 0, 1441858, 10, 0, 1441859, 10, 0, 1441860, 10, 0, 1441861, 10, 0, 1441862, 10, 0, 1441863, 10, 0, 1507328, 10, 0, 1507329, 10, 0, 1507330, 10, 0, 1507331, 10, 0, 1507332, 10, 0, 1507333, 10, 0, 1507334, 10, 0, 1507335, 10, 0, 1507336, 10, 0, 1507337, 10, 0, 1507338, 10, 0, 1507339, 10, 0, 1507340, 10, 0, 1507341, 10, 0, 1507342, 10, 0, 1507343, 10, 0, 1507344, 10, 0, 1507345, 10, 0, 1507346, 10, 0, 1507347, 10, 0, 1507348, 10, 0, 1507349, 10, 0, 1507350, 10, 0, 1507351, 10, 0, 1507352, 10, 0, 1507353, 10, 0, 1507354, 10, 0, 1507355, 10, 0, 1507356, 10, 0, 1507357, 10, 0, 1507358, 10, 0, 1507359, 10, 0, 1507360, 10, 0, 1507361, 10, 0, 1507362, 10, 0, 1507363, 10, 0, 1507364, 10, 0, 1507365, 10, 0, 1507366, 10, 0, 1507367, 10, 0, 1507368, 10, 0, 1507369, 10, 0, 1507370, 10, 0, 1507371, 10, 0, 1507372, 10, 0, 1507373, 10, 0, 1507374, 10, 0, 1507375, 10, 0, 1507376, 10, 0, 1507377, 10, 0, 1507378, 10, 0, 1507379, 10, 0, 1507380, 10, 0, 1507381, 10, 0, 1507382, 10, 0, 1507383, 10, 0, 1507384, 10, 0, 1507385, 10, 0, 1507386, 10, 0, 1507387, 10, 0, 1507388, 10, 0, 1507389, 10, 0, 1507390, 10, 0, 1507391, 10, 0, 1507392, 10, 0, 1507393, 10, 0, 1507394, 10, 0, 1507395, 10, 0, 1507396, 10, 0, 1507397, 10, 0, 1507398, 10, 0, 1507399, 10, 0, 1572864, 10, 0, 1572865, 10, 0, 1572866, 10, 0, 1572867, 10, 0, 1572868, 10, 0, 1572869, 10, 0, 1572870, 10, 0, 1572871, 10, 0, 1572872, 10, 0, 1572873, 10, 0, 1572874, 10, 0, 1572875, 10, 0, 1572876, 10, 0, 1572877, 10, 0, 1572878, 10, 0, 1572879, 10, 0, 1572880, 10, 0, 1572881, 10, 0, 1572882, 10, 0, 1572883, 10, 0, 1572884, 10, 0, 1572885, 10, 0, 1572886, 10, 0, 1572887, 10, 0, 1572888, 10, 0, 1572889, 10, 0, 1572890, 10, 0, 1572891, 10, 0, 1572892, 10, 0, 1572893, 10, 0, 1572894, 10, 0, 1572895, 10, 0, 1572896, 10, 0, 1572897, 10, 0, 1572898, 10, 0, 1572899, 10, 0, 1572900, 10, 0, 1572901, 10, 0, 1572902, 10, 0, 1572903, 10, 0, 1572904, 10, 0, 1572905, 10, 0, 1572906, 10, 0, 1572907, 10, 0, 1572908, 10, 0, 1572909, 10, 0, 1572910, 10, 0, 1572911, 10, 0, 1572912, 10, 0, 1572913, 10, 0, 1572914, 10, 0, 1572915, 10, 0, 1572916, 10, 0, 1572917, 10, 0, 1572918, 10, 0, 1572919, 10, 0, 1572920, 10, 0, 1572921, 10, 0, 1572922, 10, 0, 1572923, 10, 0, 1572924, 10, 0, 1572925, 10, 0, 1572926, 10, 0, 1572927, 10, 0, 1572928, 10, 0, 1572929, 10, 0, 1572930, 10, 0, 1572931, 10, 0, 1572932, 10, 0, 1572933, 10, 0, 1572934, 10, 0, 1572935, 10, 0, 1638400, 10, 0, 1638401, 10, 0, 1638402, 10, 0, 1638403, 10, 0, 1638404, 10, 0, 1638405, 10, 0, 1638406, 10, 0, 1638407, 10, 0, 1638408, 10, 0, 1638409, 10, 0, 1638410, 10, 0, 1638411, 10, 0, 1638412, 10, 0, 1638413, 10, 0, 1638414, 10, 0, 1638415, 10, 0, 1638416, 10, 0, 1638417, 10, 0, 1638418, 10, 0, 1638419, 10, 0, 1638420, 10, 0, 1638421, 10, 0, 1638422, 10, 0, 1638423, 10, 0, 1638424, 10, 0, 1638425, 10, 0, 1638426, 10, 0, 1638427, 10, 0, 1638428, 10, 0, 1638429, 10, 0, 1638430, 10, 0, 1638431, 10, 0, 1638432, 10, 0, 1638433, 10, 0, 1638434, 10, 0, 1638435, 10, 0, 1638436, 10, 0, 1638437, 10, 0, 1638438, 10, 0, 1638439, 10, 0, 1638440, 10, 0, 1638441, 10, 0, 1638442, 10, 0, 1638443, 10, 0, 1638444, 10, 0, 1638445, 10, 0, 1638446, 10, 0, 1638447, 10, 0, 1638448, 10, 0, 1638449, 10, 0, 1638450, 10, 0, 1638451, 10, 0, 1638452, 10, 0, 1638453, 10, 0, 1638454, 10, 0, 1638455, 10, 0, 1638456, 10, 0, 1638457, 10, 0, 1638458, 10, 0, 1638459, 10, 0, 1638460, 10, 0, 1638461, 10, 0, 1638462, 10, 0, 1638463, 10, 0, 1638464, 10, 0, 1638465, 10, 0, 1638466, 10, 0, 1638467, 10, 0, 1638468, 10, 0, 1638469, 10, 0, 1638470, 10, 0, 1638471, 10, 0, 1703952, 10, 0, 1703953, 10, 0, 1703954, 10, 0, 1703955, 10, 0, 1703956, 10, 0, 1703957, 10, 0, 1703958, 10, 0, 1703959, 10, 0, 1703960, 10, 0, 1703961, 10, 0, 1703962, 10, 0, 1703963, 10, 0, 1703964, 10, 0, 1703965, 10, 0, 1703966, 10, 0, 1703967, 10, 0, 1703968, 10, 0, 1703969, 10, 0, 1703970, 10, 0, 1703971, 10, 0, 1703972, 10, 0, 1703973, 10, 0, 1703974, 10, 0, 1703975, 10, 0, 1703976, 10, 0, 1703977, 10, 0, 1703978, 10, 0, 1703979, 10, 0, 1703980, 10, 0, 1703981, 10, 0, 1703982, 10, 0, 1703983, 10, 0, 1703984, 10, 0, 1703985, 10, 0, 1703986, 10, 0, 1703987, 10, 0, 1703988, 10, 0, 1703989, 10, 0, 1703990, 10, 0, 1703991, 10, 0, 1703992, 10, 0, 1703993, 10, 0, 1703994, 10, 0, 1703995, 10, 0, 1703996, 10, 0, 1703997, 10, 0, 1703998, 10, 0, 1703999, 10, 0, 1704000, 10, 0, 1704001, 10, 0, 1704002, 10, 0, 1704003, 10, 0, 1704004, 10, 0, 1704005, 10, 0, 1704006, 10, 0, 1704007, 10, 0, 1769488, 10, 0, 1769489, 10, 0, 1769490, 10, 0, 1769491, 10, 0, 1769492, 10, 0, 1769493, 10, 0, 1769494, 10, 0, 1769495, 10, 0, 1769496, 10, 0, 1769497, 10, 0, 1769498, 10, 0, 1769499, 10, 0, 1769500, 10, 0, 1769501, 10, 0, 1769502, 10, 0, 1769503, 10, 0, 1769504, 10, 0, 1769505, 10, 0, 1769506, 10, 0, 1769507, 10, 0, 1769508, 10, 0, 1769509, 10, 0, 1769510, 10, 0, 1769511, 10, 0, 1769512, 10, 0, 1769513, 10, 0, 1769514, 10, 0, 1769515, 10, 0, 1769516, 10, 0, 1769517, 10, 0, 1769518, 10, 0, 1769519, 10, 0, 1769520, 10, 0, 1769521, 10, 0, 1769522, 10, 0, 1769523, 10, 0, 1769524, 10, 0, 1769525, 10, 0, 1769526, 10, 0, 1769527, 10, 0, 1769528, 10, 0, 1769529, 10, 0, 1769530, 10, 0, 1769531, 10, 0, 1769532, 10, 0, 1769533, 10, 0, 1769534, 10, 0, 1769535, 10, 0, 1769536, 10, 0, 1769537, 10, 0, 1769538, 10, 0, 1769539, 10, 0, 1769540, 10, 0, 1769541, 10, 0 ) __meta__ = { "_edit_lock_": true } diff --git a/2d/physics_platformer/background/ParallaxBg.tscn b/2d/physics_platformer/background/ParallaxBg.tscn index 3b88ab4c..9c9eab15 100644 --- a/2d/physics_platformer/background/ParallaxBg.tscn +++ b/2d/physics_platformer/background/ParallaxBg.tscn @@ -14,9 +14,10 @@ scroll_base_scale = Vector2( 0.7, 0 ) motion_mirroring = Vector2( 400, 0 ) [node name="Sprite" type="Sprite" parent="Sky"] -scale = Vector2( 32, 0.94 ) +scale = Vector2( 1000, 0.94 ) texture = ExtResource( 1 ) centered = false +offset = Vector2( -15, 0 ) [node name="Clouds" type="ParallaxLayer" parent="."] motion_scale = Vector2( 0.1, 1 ) diff --git a/2d/physics_platformer/enemy/Enemy.tscn b/2d/physics_platformer/enemy/Enemy.tscn index 7c27ebaa..b9fa6f55 100644 --- a/2d/physics_platformer/enemy/Enemy.tscn +++ b/2d/physics_platformer/enemy/Enemy.tscn @@ -7,7 +7,6 @@ [ext_resource path="res://audio/sound_explode.wav" type="AudioStream" id=5] [sub_resource type="PhysicsMaterial" id=1] -friction = 0.0 [sub_resource type="Animation" id=2] length = 6.0 diff --git a/2d/physics_platformer/enemy/enemy.gd b/2d/physics_platformer/enemy/enemy.gd index a4a3b1e0..2cc27ba6 100644 --- a/2d/physics_platformer/enemy/enemy.gd +++ b/2d/physics_platformer/enemy/enemy.gd @@ -83,6 +83,6 @@ func _bullet_collider(cc, s, dp): state = State.DYING s.set_angular_velocity(sign(dp.x) * 33.0) - set_friction(1) + physics_material_override.friction = 1 cc.disable() ($SoundHit as AudioStreamPlayer2D).play() diff --git a/2d/pong/project.godot b/2d/pong/project.godot index db7ac6d9..532e2a49 100644 --- a/2d/pong/project.godot +++ b/2d/pong/project.godot @@ -66,5 +66,6 @@ right_move_up={ [rendering] +quality/driver/driver_name="GLES2" quality/2d/use_pixel_snap=true viewport/default_clear_color=Color( 0, 0, 0, 1 ) diff --git a/2d/role_playing_game/dialogue/interface/Interface.tscn b/2d/role_playing_game/dialogue/interface/Interface.tscn index d8fbe40a..a9ed918d 100644 --- a/2d/role_playing_game/dialogue/interface/Interface.tscn +++ b/2d/role_playing_game/dialogue/interface/Interface.tscn @@ -9,6 +9,9 @@ margin_right = 1280.0 margin_bottom = 720.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} [node name="Name" type="RichTextLabel" parent="."] margin_left = 40.0 diff --git a/2d/role_playing_game/project.godot b/2d/role_playing_game/project.godot index e848f4db..ebcb4eea 100644 --- a/2d/role_playing_game/project.godot +++ b/2d/role_playing_game/project.godot @@ -63,4 +63,5 @@ ui_down={ [rendering] +quality/driver/driver_name="GLES2" environment/default_environment="res://default_env.tres" diff --git a/2d/role_playing_game/screens/combat/Combat.tscn b/2d/role_playing_game/screens/combat/Combat.tscn index 716ea237..913e8036 100644 --- a/2d/role_playing_game/screens/combat/Combat.tscn +++ b/2d/role_playing_game/screens/combat/Combat.tscn @@ -29,6 +29,9 @@ margin_right = 1280.0 margin_bottom = 720.0 theme = ExtResource( 3 ) script = ExtResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} combatants_node = NodePath("../Combatants") info_scene = ExtResource( 5 ) @@ -55,7 +58,7 @@ columns = 2 [node name="Attack" type="Button" parent="UI/Buttons/GridContainer"] margin_right = 468.0 -margin_bottom = 121.0 +margin_bottom = 119.0 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Attack" @@ -63,15 +66,15 @@ text = "Attack" [node name="Defend" type="Button" parent="UI/Buttons/GridContainer"] margin_left = 472.0 margin_right = 940.0 -margin_bottom = 121.0 +margin_bottom = 119.0 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Defend" [node name="Flee" type="Button" parent="UI/Buttons/GridContainer"] -margin_top = 125.0 +margin_top = 123.0 margin_right = 468.0 -margin_bottom = 246.0 +margin_bottom = 242.0 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Flee" diff --git a/2d/screen_space_shaders/project.godot b/2d/screen_space_shaders/project.godot index 522de544..8605ae8c 100644 --- a/2d/screen_space_shaders/project.godot +++ b/2d/screen_space_shaders/project.godot @@ -30,3 +30,7 @@ stretch/mode="2d" [gdnative] singletons=[ ] + +[rendering] + +quality/driver/driver_name="GLES2" diff --git a/2d/screen_space_shaders/screen_shaders.tscn b/2d/screen_space_shaders/screen_shaders.tscn index 8c4b2180..ca18d236 100644 --- a/2d/screen_space_shaders/screen_shaders.tscn +++ b/2d/screen_space_shaders/screen_shaders.tscn @@ -83,6 +83,9 @@ anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 2 size_flags_vertical = 2 +__meta__ = { +"_edit_use_anchors_": false +} [node name="Burano" type="TextureRect" parent="Pictures"] margin_right = 40.0 diff --git a/2d/sdf_font/sdf_font_demo.tscn b/2d/sdf_font/sdf_font_demo.tscn index e29d7b1b..ff0b6234 100644 --- a/2d/sdf_font/sdf_font_demo.tscn +++ b/2d/sdf_font/sdf_font_demo.tscn @@ -59,6 +59,9 @@ custom_colors/font_color_shadow = Color( 0.56592, 0.454525, 0.518426, 1 ) text = "Signed Distance Field Font!!" align = 1 +__meta__ = { +"_edit_use_anchors_": false +} [node name="Camera2D" type="Camera2D" parent="."] offset = Vector2( 512, 300 ) diff --git a/2d/sprite_shaders/project.godot b/2d/sprite_shaders/project.godot index 824989d8..37963e8b 100644 --- a/2d/sprite_shaders/project.godot +++ b/2d/sprite_shaders/project.godot @@ -26,4 +26,5 @@ window/stretch/aspect="expand" [rendering] +quality/driver/driver_name="GLES2" environment/default_environment="res://default_env.tres" diff --git a/2d/sprite_shaders/shaders/glow.shader b/2d/sprite_shaders/shaders/glow.shader index 8485b10d..4a036e50 100644 --- a/2d/sprite_shaders/shaders/glow.shader +++ b/2d/sprite_shaders/shaders/glow.shader @@ -1,8 +1,8 @@ shader_type canvas_item; render_mode blend_premul_alpha; -uniform float radius = 2.0; -uniform float amount = 0.6; +uniform float radius = 5.0; +uniform float amount = 0.25; void fragment() { float r = radius; diff --git a/2d/sprite_shaders/sprite_shaders.tscn b/2d/sprite_shaders/sprite_shaders.tscn index a7a53400..2e6aad69 100644 --- a/2d/sprite_shaders/sprite_shaders.tscn +++ b/2d/sprite_shaders/sprite_shaders.tscn @@ -52,8 +52,8 @@ shader_param/modulate = Color( 1, 0.0234375, 0.481201, 0.596706 ) [sub_resource type="ShaderMaterial" id=10] shader = ExtResource( 9 ) -shader_param/radius = 12.0 -shader_param/amount = 0.5 +shader_param/radius = 5.0 +shader_param/amount = 0.25 [sub_resource type="ShaderMaterial" id=11] shader = ExtResource( 10 )