Browse Source

Modifie les dimensions

Pour coller a la grille alphabounce de 14 x 25 briques.
DricomDragon 11 months ago
parent
commit
3878bad3fe
3 changed files with 47 additions and 47 deletions
  1. 3 3
      godot/composants/objets/arene/arene.tscn
  2. 42 42
      godot/exec/niveaux/carre_simple.tscn
  3. 2 2
      godot/project.godot

+ 3 - 3
godot/composants/objets/arene/arene.tscn

@@ -3,7 +3,7 @@
 [ext_resource type="PhysicsMaterial" uid="uid://c6bddricwmcxx" path="res://commun/materiaux/metal.tres" id="1_jdr4h"]
 
 [sub_resource type="RectangleShape2D" id="RectangleShape2D_cjamf"]
-size = Vector2(1600, 200)
+size = Vector2(820, 200)
 
 [sub_resource type="RectangleShape2D" id="RectangleShape2D_d3hv4"]
 size = Vector2(200, 1200)
@@ -12,11 +12,11 @@ size = Vector2(200, 1200)
 physics_material_override = ExtResource("1_jdr4h")
 
 [node name="Haut" type="CollisionShape2D" parent="."]
-position = Vector2(600.5, -100)
+position = Vector2(210, -100)
 shape = SubResource("RectangleShape2D_cjamf")
 
 [node name="Droite" type="CollisionShape2D" parent="."]
-position = Vector2(1300, 400)
+position = Vector2(520, 400)
 shape = SubResource("RectangleShape2D_d3hv4")
 
 [node name="Gauche" type="CollisionShape2D" parent="."]

+ 42 - 42
godot/exec/niveaux/carre_simple.tscn

@@ -8,131 +8,131 @@
 [node name="CarreSimple" type="Node2D"]
 
 [node name="Raquette" parent="." instance=ExtResource("1_dbta1")]
-position = Vector2(600, 720)
+position = Vector2(210, 400)
 
 [node name="Lanceur" parent="." instance=ExtResource("2_s5baa")]
-position = Vector2(600, 384)
+position = Vector2(210, 144)
 
 [node name="Briques" type="Node2D" parent="."]
 
 [node name="Brique1" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(300, 128)
 
 [node name="Brique2" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(330, 128)
+position = Vector2(30, 0)
 
 [node name="Brique3" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(360, 128)
+position = Vector2(60, 0)
 
 [node name="Brique4" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(390, 128)
+position = Vector2(90, 0)
 
 [node name="Brique5" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(420, 128)
+position = Vector2(120, 0)
 
 [node name="Brique6" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(450, 128)
+position = Vector2(150, 0)
 
 [node name="Brique7" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(480, 128)
+position = Vector2(180, 0)
 
 [node name="Brique8" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(510, 128)
+position = Vector2(210, 0)
 
 [node name="Brique9" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(540, 128)
+position = Vector2(240, 0)
 
 [node name="Brique10" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(570, 128)
+position = Vector2(270, 0)
 
 [node name="Brique11" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(600, 128)
+position = Vector2(300, 0)
 
 [node name="Brique12" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(630, 128)
+position = Vector2(330, 0)
 
 [node name="Brique13" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(660, 128)
+position = Vector2(360, 0)
 
 [node name="Brique14" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(690, 128)
+position = Vector2(390, 0)
 
 [node name="Brique15" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(720, 128)
+position = Vector2(120, 96)
 
 [node name="Brique16" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(750, 128)
+position = Vector2(150, 96)
 
 [node name="Brique17" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(780, 128)
+position = Vector2(180, 96)
 
 [node name="Brique18" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(810, 128)
+position = Vector2(210, 96)
 
 [node name="Brique19" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(840, 128)
+position = Vector2(240, 96)
 
 [node name="Brique20" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(870, 128)
+position = Vector2(270, 96)
 
 [node name="Brique21" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(300, 144)
+position = Vector2(0, 16)
 
 [node name="Brique22" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(330, 144)
+position = Vector2(30, 16)
 
 [node name="Brique23" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(360, 144)
+position = Vector2(60, 16)
 
 [node name="Brique24" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(390, 144)
+position = Vector2(90, 16)
 
 [node name="Brique25" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(420, 144)
+position = Vector2(120, 16)
 
 [node name="Brique26" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(450, 144)
+position = Vector2(150, 16)
 
 [node name="Brique27" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(480, 144)
+position = Vector2(180, 16)
 
 [node name="Brique28" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(510, 144)
+position = Vector2(210, 16)
 
 [node name="Brique29" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(540, 144)
+position = Vector2(240, 16)
 
 [node name="Brique30" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(570, 144)
+position = Vector2(270, 16)
 
 [node name="Brique31" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(600, 144)
+position = Vector2(300, 16)
 
 [node name="Brique32" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(630, 144)
+position = Vector2(330, 16)
 
 [node name="Brique33" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(660, 144)
+position = Vector2(360, 16)
 
 [node name="Brique34" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(690, 144)
+position = Vector2(390, 16)
 
 [node name="Brique35" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(720, 144)
+position = Vector2(120, 112)
 
 [node name="Brique36" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(750, 144)
+position = Vector2(150, 112)
 
 [node name="Brique37" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(780, 144)
+position = Vector2(180, 112)
 
 [node name="Brique38" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(810, 144)
+position = Vector2(210, 112)
 
 [node name="Brique39" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(840, 144)
+position = Vector2(240, 112)
 
 [node name="Brique40" parent="Briques" instance=ExtResource("2_j0emn")]
-position = Vector2(870, 144)
+position = Vector2(270, 112)
 
 [node name="Arene" parent="." instance=ExtResource("4_imfht")]
+metadata/_edit_lock_ = true

+ 2 - 2
godot/project.godot

@@ -18,8 +18,8 @@ config/icon="res://icon.svg"
 
 [display]
 
-window/size/viewport_width=1200
-window/size/viewport_height=768
+window/size/viewport_width=420
+window/size/viewport_height=420
 window/size/resizable=false
 
 [input]