[gd_scene load_steps=7 format=2] [ext_resource path="res://image/ball.png" type="Texture" id=1] [ext_resource path="res://image/brik.png" type="Texture" id=2] [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( 0, 0, 40, 0, 40, 20, 0, 20 ) [sub_resource type="TileSet" id=2] 0/name = "brik.png 0" 0/texture = ExtResource( 2 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) 0/region = Rect2( 0, 0, 40, 20 ) 0/tile_mode = 0 0/occluder_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 ) 0/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 ) } ] 0/z_index = 0 [sub_resource type="PhysicsMaterial" id=4] friction = 0.0 bounce = 1.0 [sub_resource type="CircleShape2D" id=3] [node name="Node2D" type="Node2D"] [node name="Grid" type="TileMap" parent="."] mode = 2 tile_set = SubResource( 2 ) cell_size = Vector2( 40, 20 ) cell_custom_transform = Transform2D( 40, 0, 0, 20, 0, 0 ) format = 1 tile_data = PoolIntArray( 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 65536, 0, 0, 65545, 0, 0, 131072, 0, 0, 131081, 0, 0, 196608, 0, 0, 196617, 0, 0, 262144, 0, 0, 262153, 0, 0, 327680, 0, 0, 327689, 0, 0, 393216, 0, 0, 393225, 0, 0, 458752, 0, 0, 458761, 0, 0, 524288, 0, 0, 524297, 0, 0, 589824, 0, 0, 589833, 0, 0, 655360, 0, 0, 655369, 0, 0, 720896, 0, 0, 720905, 0, 0, 786432, 0, 0, 786441, 0, 0, 851968, 0, 0, 851977, 0, 0, 917504, 0, 0, 917513, 0, 0, 983040, 0, 0, 983049, 0, 0, 1048576, 0, 0, 1048585, 0, 0, 1114112, 0, 0, 1114121, 0, 0, 1179648, 0, 0, 1179657, 0, 0, 1245184, 0, 0, 1245185, 0, 0, 1245186, 0, 0, 1245187, 0, 0, 1245188, 0, 0, 1245189, 0, 0, 1245190, 0, 0, 1245191, 0, 0, 1245192, 0, 0, 1245193, 0, 0 ) [node name="Ball" type="RigidBody2D" parent="."] mode = 2 physics_material_override = SubResource( 4 ) gravity_scale = 0.0 linear_velocity = Vector2( 100, 100 ) linear_damp = 0.0 [node name="Circle" type="CollisionShape2D" parent="Ball"] position = Vector2( 180.82, 302.182 ) shape = SubResource( 3 ) [node name="Sprite" type="Sprite" parent="Ball"] position = Vector2( 180.82, 302.182 ) texture = ExtResource( 1 )