From fffddf38d5bd20b9f6e5bee49775e41e81fe5aa7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 7 Apr 2021 19:24:25 +0200 Subject: [PATCH] moving to assets folder --- {images => assets/images}/Batiment.png | 0 {images => assets/images}/Fond.png | 0 {images => assets/images}/Lumière.png | 0 {images => assets/images}/balle.png | 0 {images => assets/images}/joueur.png | 0 {images => assets/images}/mechant.png | 0 scenes/Balle.tscn | 3 ++- scenes/Ennemi.tscn | 3 ++- scenes/Monde.tscn | 6 +++--- scenes/mur.tres | 3 ++- scenes/mur.tscn | 3 ++- 11 files changed, 11 insertions(+), 7 deletions(-) rename {images => assets/images}/Batiment.png (100%) rename {images => assets/images}/Fond.png (100%) rename {images => assets/images}/Lumière.png (100%) rename {images => assets/images}/balle.png (100%) rename {images => assets/images}/joueur.png (100%) rename {images => assets/images}/mechant.png (100%) diff --git a/images/Batiment.png b/assets/images/Batiment.png similarity index 100% rename from images/Batiment.png rename to assets/images/Batiment.png diff --git a/images/Fond.png b/assets/images/Fond.png similarity index 100% rename from images/Fond.png rename to assets/images/Fond.png diff --git a/images/Lumière.png b/assets/images/Lumière.png similarity index 100% rename from images/Lumière.png rename to assets/images/Lumière.png diff --git a/images/balle.png b/assets/images/balle.png similarity index 100% rename from images/balle.png rename to assets/images/balle.png diff --git a/images/joueur.png b/assets/images/joueur.png similarity index 100% rename from images/joueur.png rename to assets/images/joueur.png diff --git a/images/mechant.png b/assets/images/mechant.png similarity index 100% rename from images/mechant.png rename to assets/images/mechant.png diff --git a/scenes/Balle.tscn b/scenes/Balle.tscn index 2d50348..96d4d60 100644 --- a/scenes/Balle.tscn +++ b/scenes/Balle.tscn @@ -1,8 +1,9 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://images/balle.png" type="Texture" id=1] +[ext_resource path="res://assets/images/balle.png" type="Texture" id=1] [ext_resource path="res://scripts/Balle.gd" type="Script" id=2] + [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 4, 1.5 ) diff --git a/scenes/Ennemi.tscn b/scenes/Ennemi.tscn index 9440357..eb2a5c5 100644 --- a/scenes/Ennemi.tscn +++ b/scenes/Ennemi.tscn @@ -1,8 +1,9 @@ [gd_scene load_steps=5 format=2] -[ext_resource path="res://images/mechant.png" type="Texture" id=1] +[ext_resource path="res://assets/images/mechant.png" type="Texture" id=1] [ext_resource path="res://scripts/Ennemi.gd" type="Script" id=2] + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 6.5, 6.5 ) diff --git a/scenes/Monde.tscn b/scenes/Monde.tscn index 496e22c..2b5c331 100644 --- a/scenes/Monde.tscn +++ b/scenes/Monde.tscn @@ -1,11 +1,11 @@ [gd_scene load_steps=10 format=2] -[ext_resource path="res://images/joueur.png" type="Texture" id=1] +[ext_resource path="res://assets/images/joueur.png" type="Texture" id=1] [ext_resource path="res://scripts/Joueur.gd" type="Script" id=2] [ext_resource path="res://scenes/Ennemi.tscn" type="PackedScene" id=3] -[ext_resource path="res://images/Fond.png" type="Texture" id=4] +[ext_resource path="res://assets/images/Fond.png" type="Texture" id=4] [ext_resource path="res://scenes/mur.tres" type="TileSet" id=5] -[ext_resource path="res://images/Lumière.png" type="Texture" id=6] +[ext_resource path="res://assets/images/Lumière.png" type="Texture" id=6] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 8, 8 ) diff --git a/scenes/mur.tres b/scenes/mur.tres index 020b420..0df6201 100644 --- a/scenes/mur.tres +++ b/scenes/mur.tres @@ -1,6 +1,7 @@ [gd_resource type="TileSet" load_steps=4 format=2] -[ext_resource path="res://images/Batiment.png" type="Texture" id=1] +[ext_resource path="res://assets/images/Batiment.png" type="Texture" id=1] + [sub_resource type="OccluderPolygon2D" id=1] polygon = PoolVector2Array( -8.00226, -7.97379, -7.99188, 7.99426, 8.00321, 7.99426, 8.01305, -8.00083 ) diff --git a/scenes/mur.tscn b/scenes/mur.tscn index 9ff6f60..f4f0f37 100644 --- a/scenes/mur.tscn +++ b/scenes/mur.tscn @@ -1,6 +1,7 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://images/Batiment.png" type="Texture" id=1] +[ext_resource path="res://assets/images/Batiment.png" type="Texture" id=1] + [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 8, 8 )