Initial commit

This commit is contained in:
Crizomb 2025-04-01 03:38:03 +02:00
commit cf7ad3446b
26 changed files with 514 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://colf2egr7qaim"
path="res://.godot/imported/SpriteSheet.png-b57f0c24384f7a632d0e320745b5b85e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://noisebased/2D/SpriteSheet.png"
dest_files=["res://.godot/imported/SpriteSheet.png-b57f0c24384f7a632d0e320745b5b85e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

24
noisebased/2D/main2d.tscn Normal file
View file

@ -0,0 +1,24 @@
[gd_scene load_steps=5 format=3 uid="uid://dec38suo3xt5j"]
[ext_resource type="Texture2D" uid="uid://colf2egr7qaim" path="res://noisebased/2D/SpriteSheet.png" id="1_067u0"]
[ext_resource type="Script" uid="uid://c1j2itgknxbv6" path="res://noisebased/2D/noise_gen_tile_map_layer.gd" id="2_c4myh"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_c4myh"]
texture = ExtResource("1_067u0")
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
4:0/0 = 0
5:0/0 = 0
6:0/0 = 0
7:0/0 = 0
[sub_resource type="TileSet" id="TileSet_rguwg"]
sources/0 = SubResource("TileSetAtlasSource_c4myh")
[node name="Main2d" type="Node2D"]
[node name="TileMapLayer" type="TileMapLayer" parent="."]
tile_set = SubResource("TileSet_rguwg")
script = ExtResource("2_c4myh")

View file

@ -0,0 +1,16 @@
@tool
extends TileMapLayer
# ---------------------
# Definir les variables
# ---------------------
# largeur, longeur de la map
@export var WIDTH : int
@export var HEIGHT : int
# Les boutons
@export_tool_button("All") var all_action = generate_map
func generate_map():
return

View file

@ -0,0 +1 @@
uid://c1j2itgknxbv6