random gen
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,207 @@
|
||||
extends TileMapLayer
|
||||
|
||||
@export var tile_map: TileMapLayer
|
||||
|
||||
@export_enum("Small", "medeam", "large") var map_size: int
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
|
||||
tile_map.clear()
|
||||
|
||||
var mane_size = Vector2i(randi_range(16,20), randi_range(12,16))
|
||||
if map_size == 1:
|
||||
mane_size = Vector2i(randi_range(20,26), randi_range(12,18))
|
||||
if map_size == 2:
|
||||
mane_size = Vector2i(randi_range(26,32), randi_range(18,24))
|
||||
|
||||
#mane_size = Vector2i(10, 10)
|
||||
|
||||
var walls = draw_room(mane_size)
|
||||
var next_room = Vector2i(randi_range(mane_size[0]/2,(mane_size[0]/3)*2), randi_range(mane_size[1]/2,(mane_size[1]/3)*2))
|
||||
|
||||
var good = []
|
||||
for x in range(mane_size[0]):
|
||||
for y in range(mane_size[1]):
|
||||
if test_pos(Vector2i(x, y), next_room, walls, mane_size):
|
||||
#tile_map.set_cell(Vector2i(x,y), 0, Vector2i(1,4))
|
||||
good.append([x,y])
|
||||
|
||||
if good.size()>0:
|
||||
for wall in draw_room(next_room, good.pick_random()):
|
||||
walls.append(wall)
|
||||
|
||||
|
||||
for i in range(8):
|
||||
|
||||
next_room = Vector2i(randi_range(mane_size[0]/(3+i),mane_size[0]/(2+i)), randi_range(mane_size[1]/(3+i), mane_size[1]/(2+i)))
|
||||
good = []
|
||||
if next_room[0]>4 and next_room[1]>4:
|
||||
for x in range(mane_size[0]):
|
||||
for y in range(mane_size[1]):
|
||||
if test_pos(Vector2i(x, y), next_room, walls, mane_size):
|
||||
#tile_map.set_cell(Vector2i(x,y), 0, Vector2i(5,3))
|
||||
good.append([x,y])
|
||||
|
||||
if good.size()>0:
|
||||
for wall in draw_room(next_room, good.pick_random()):
|
||||
walls.append(wall)
|
||||
|
||||
|
||||
|
||||
func overLap(pos1, len1, pos2, len2):
|
||||
#print("pos1: ", pos1, " len1: ", len1, " pos2: ", pos2, " len2: ", len2)
|
||||
if pos1 <= pos2 and pos1+len1 >= pos2: return true
|
||||
if pos2 <= pos1 and pos2+len2 >= pos1: return true
|
||||
return false
|
||||
|
||||
|
||||
func overLapWall(wall, pos, size):
|
||||
var totle = 0
|
||||
var wall_tiles = []
|
||||
for i in range(wall["len"]):
|
||||
if wall["der"][1] == 0:wall_tiles.append(wall["pos"]+Vector2i(i,0))
|
||||
else:wall_tiles.append(wall["pos"]+Vector2i(0,i))
|
||||
|
||||
for x in range(size[0]+1):
|
||||
for y in range(size[1]+1):
|
||||
if Vector2i(x+pos[0], y+pos[1]) in wall_tiles: totle+=1
|
||||
|
||||
return totle
|
||||
|
||||
func test_pos(pos, size, walls, mane_size):
|
||||
|
||||
if pos[0]+size[0] > mane_size[0]:return false
|
||||
if pos[1]+size[1] > mane_size[1]:return false
|
||||
|
||||
var overlap = 0
|
||||
for wall in walls:
|
||||
overlap += overLapWall(wall, pos, size)
|
||||
if wall["der"][1] == 0:#horisontal wall
|
||||
if overLap(wall["pos"][0], wall["len"], pos[0], size[0]):
|
||||
if wall["pos"][1]+1 == pos[1]: return false
|
||||
if wall["pos"][1]+2 == pos[1]: return false
|
||||
if wall["pos"][1]-1 == pos[1]: return false
|
||||
if wall["pos"][1]-2 == pos[1]: return false
|
||||
|
||||
if wall["pos"][1]+1 == pos[1]+size[1]: return false
|
||||
if wall["pos"][1]+2 == pos[1]+size[1]: return false
|
||||
if wall["pos"][1]-1 == pos[1]+size[1]: return false
|
||||
if wall["pos"][1]-2 == pos[1]+size[1]: return false
|
||||
|
||||
|
||||
else:#virtical wall
|
||||
if overLap(wall["pos"][1], wall["len"], pos[1], size[1]):
|
||||
if wall["pos"][0]+1 == pos[0]: return false
|
||||
if wall["pos"][0]+2 == pos[0]: return false
|
||||
if wall["pos"][0]-1 == pos[0]: return false
|
||||
if wall["pos"][0]-2 == pos[0]: return false
|
||||
|
||||
if wall["pos"][0]+1 == pos[0]+size[0]: return false
|
||||
if wall["pos"][0]+2 == pos[0]+size[0]: return false
|
||||
if wall["pos"][0]-1 == pos[0]+size[0]: return false
|
||||
if wall["pos"][0]-2 == pos[0]+size[0]: return false
|
||||
|
||||
#if pos[1]+size[1] > wall["len"]:return false
|
||||
|
||||
if overlap < 3: return false
|
||||
|
||||
|
||||
return true
|
||||
|
||||
|
||||
func get_next(size, walls):
|
||||
var offset = [-1,-1]
|
||||
|
||||
walls.shuffle()
|
||||
print(size)
|
||||
|
||||
for wall in walls:
|
||||
print(wall)
|
||||
if wall["der"][1] == 0:
|
||||
print("horisontal")
|
||||
if size[0]<wall["len"]-6:
|
||||
print("length 6 lees can go anywere")
|
||||
if wall["der"][0] == 1:offset[1] = wall["pos"][1]
|
||||
else: offset[1] = wall["pos"][1]-size[1]
|
||||
|
||||
offset[0] = randi_range(0, wall["len"]-size[0])
|
||||
if offset[0]>wall["pos"][0] and offset[0]<wall["pos"][0]+3:offset[0]=wall["pos"][0]+3
|
||||
if size[0]+offset[0]>wall["pos"][0]+wall["len"]-3:offset[0] = wall["len"]-(3+size[0])
|
||||
|
||||
elif size[0]<=wall["len"]-3:
|
||||
print("3 less needs to be on a corner")
|
||||
if wall["der"][0] == 1:offset[1] = wall["pos"][1]
|
||||
else: offset[1] = wall["pos"][1]-size[1]
|
||||
|
||||
if randi_range(0, 1):offset[0]=wall["pos"][0]+wall["len"]-size[0]
|
||||
else:offset[0] = wall["pos"][0]
|
||||
else:
|
||||
print("virtical")
|
||||
if size[1]<wall["len"]-6:
|
||||
print("length 6 lees can go anywere")
|
||||
if wall["der"][1] == 1:offset[0] = wall["pos"][0]
|
||||
else: offset[0] = wall["pos"][0]-size[0]
|
||||
|
||||
offset[1] = randi_range(0, wall["len"]-size[1])
|
||||
if offset[1]>wall["pos"][1] and offset[1]<wall["pos"][1]+3:offset[1]=wall["pos"][1]+3
|
||||
if size[1]+offset[1]>wall["len"]-3:offset[1] = wall["len"]-(3+size[1])
|
||||
|
||||
elif size[1]<=wall["len"]-3:
|
||||
print("3 less needs to be on a corner")
|
||||
if wall["der"][1] == 1:offset[0] = wall["pos"][0]
|
||||
else: offset[0] = wall["pos"][0]-size[0]
|
||||
print(offset)
|
||||
|
||||
if randi() % 2:offset[1]=wall["pos"][1]+wall["len"]-size[1]
|
||||
else:offset[1] = wall["pos"][1]
|
||||
|
||||
|
||||
if offset[0] != -1:break
|
||||
|
||||
return offset
|
||||
|
||||
|
||||
func draw_room(Size, offset=Vector2i(0, 0)):
|
||||
var walls = []
|
||||
offset = Vector2i(offset[0], offset[1])
|
||||
print("draw: ", Size, " offset: ", offset)
|
||||
|
||||
for i in range(Size[0]):
|
||||
tile_map.set_cell(Vector2i(i+offset[0],offset[1]), 0, Vector2i(1,1))
|
||||
walls.append({"pos": offset, "der":Vector2i(1, 0), "len":Size[0]})
|
||||
|
||||
for i in range(Size[0]):
|
||||
tile_map.set_cell(Vector2i(i+offset[0],Size[1]+offset[1]), 0, Vector2i(1,1))
|
||||
walls.append({"pos": Vector2i(offset[0],Size[1]+offset[1]), "der":Vector2i(-1, 0), "len":Size[0]})
|
||||
|
||||
for i in range(Size[1]):
|
||||
tile_map.set_cell(Vector2i(offset[0],i+offset[1]), 0, Vector2i(2,1))
|
||||
walls.append({"pos": offset, "der":Vector2i(0, 1), "len":Size[1]})
|
||||
|
||||
for i in range(Size[1]):
|
||||
tile_map.set_cell(Vector2i(Size[0]+offset[0],i+offset[1]), 0, Vector2i(2,1))
|
||||
walls.append({"pos": Vector2i(Size[0]+offset[0],offset[1]), "der":Vector2i(0, -1), "len":Size[1]})
|
||||
|
||||
for x in range(Size[0]-1):
|
||||
for y in range(Size[1]-1):
|
||||
tile_map.erase_cell(Vector2i(x+1+offset[0],y+1+offset[1]))
|
||||
|
||||
|
||||
|
||||
|
||||
tile_map.set_cell(Vector2i(offset[0],offset[1]), 0, Vector2i(5,1))
|
||||
tile_map.set_cell(Vector2i(Size[0]+offset[0],offset[1]), 0, Vector2i(6,1))
|
||||
tile_map.set_cell(Vector2i(offset[0],Size[1]+offset[1]), 0, Vector2i(4,1))
|
||||
tile_map.set_cell(Vector2i(Size[0]+offset[0],Size[1]+offset[1]), 0, Vector2i(3,1))
|
||||
return walls
|
||||
|
||||
|
||||
|
||||
func set_room(tile_pos, size, pos):
|
||||
for x in size[0]:
|
||||
for y in size[1]:
|
||||
tile_map.set_cell(Vector2i(x+pos[0],y+pos[1]), 0, tile_pos)
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://br7dvjpr0pmag
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://mmasxwqyqmib"
|
||||
path="res://.godot/imported/220175__gameaudio__pop-click.wav-6ef2d3317a82c347b715936ede79653a.sample"
|
||||
path="res://.godot/imported/220175__gameaudio__pop-click.wav-1330523e09eacb15d341a14b80e4481e.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220175__gameaudio__pop-click.wav"
|
||||
dest_files=["res://.godot/imported/220175__gameaudio__pop-click.wav-6ef2d3317a82c347b715936ede79653a.sample"]
|
||||
source_file="res://Sounds/220175__gameaudio__pop-click.wav"
|
||||
dest_files=["res://.godot/imported/220175__gameaudio__pop-click.wav-1330523e09eacb15d341a14b80e4481e.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ecva70pect61"
|
||||
path="res://.godot/imported/220178__gameaudio__click.wav-566ebf31c82573e187ff8a1db97a7861.sample"
|
||||
path="res://.godot/imported/220178__gameaudio__click.wav-ca46bf33c1c48e1e526f04c43ca7d450.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220178__gameaudio__click.wav"
|
||||
dest_files=["res://.godot/imported/220178__gameaudio__click.wav-566ebf31c82573e187ff8a1db97a7861.sample"]
|
||||
source_file="res://Sounds/220178__gameaudio__click.wav"
|
||||
dest_files=["res://.godot/imported/220178__gameaudio__click.wav-ca46bf33c1c48e1e526f04c43ca7d450.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b3wxawyrvuc6s"
|
||||
path="res://.godot/imported/220179__gameaudio__click-metal-ting.wav-82be282871110eef8fea8249619832d7.sample"
|
||||
path="res://.godot/imported/220179__gameaudio__click-metal-ting.wav-b01c457287fe42298a36c3de7c536c68.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220179__gameaudio__click-metal-ting.wav"
|
||||
dest_files=["res://.godot/imported/220179__gameaudio__click-metal-ting.wav-82be282871110eef8fea8249619832d7.sample"]
|
||||
source_file="res://Sounds/220179__gameaudio__click-metal-ting.wav"
|
||||
dest_files=["res://.godot/imported/220179__gameaudio__click-metal-ting.wav-b01c457287fe42298a36c3de7c536c68.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b7sr2sb1ks5en"
|
||||
path="res://.godot/imported/220180__gameaudio__click-pop.wav-32216325683d314fa3adc66d13e633f4.sample"
|
||||
path="res://.godot/imported/220180__gameaudio__click-pop.wav-9e467150046193d705dd830885c89cd1.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220180__gameaudio__click-pop.wav"
|
||||
dest_files=["res://.godot/imported/220180__gameaudio__click-pop.wav-32216325683d314fa3adc66d13e633f4.sample"]
|
||||
source_file="res://Sounds/220180__gameaudio__click-pop.wav"
|
||||
dest_files=["res://.godot/imported/220180__gameaudio__click-pop.wav-9e467150046193d705dd830885c89cd1.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://1ccsqbju32ey"
|
||||
path="res://.godot/imported/220187__gameaudio__loosedeny-casual-1.wav-2e7c1356ffec0a1e5b732b21f42e21a0.sample"
|
||||
path="res://.godot/imported/220187__gameaudio__loosedeny-casual-1.wav-cb0e560d42c6026ded2d2e240e614433.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220187__gameaudio__loosedeny-casual-1.wav"
|
||||
dest_files=["res://.godot/imported/220187__gameaudio__loosedeny-casual-1.wav-2e7c1356ffec0a1e5b732b21f42e21a0.sample"]
|
||||
source_file="res://Sounds/220187__gameaudio__loosedeny-casual-1.wav"
|
||||
dest_files=["res://.godot/imported/220187__gameaudio__loosedeny-casual-1.wav-cb0e560d42c6026ded2d2e240e614433.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bdnsgt7xt3261"
|
||||
path="res://.godot/imported/220194__gameaudio__click-heavy.wav-43269bff3c60e2451b470f929c6b6bb8.sample"
|
||||
path="res://.godot/imported/220194__gameaudio__click-heavy.wav-aca40ed286d93eb365d527a162fd3129.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220194__gameaudio__click-heavy.wav"
|
||||
dest_files=["res://.godot/imported/220194__gameaudio__click-heavy.wav-43269bff3c60e2451b470f929c6b6bb8.sample"]
|
||||
source_file="res://Sounds/220194__gameaudio__click-heavy.wav"
|
||||
dest_files=["res://.godot/imported/220194__gameaudio__click-heavy.wav-aca40ed286d93eb365d527a162fd3129.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://daiv8ubwdbidf"
|
||||
path="res://.godot/imported/220195__gameaudio__click-wooden-1.wav-f161e2c5a53d686c65d143b45f33acb1.sample"
|
||||
path="res://.godot/imported/220195__gameaudio__click-wooden-1.wav-9368ef861eabf2cf1d5bd0db33c616c8.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220195__gameaudio__click-wooden-1.wav"
|
||||
dest_files=["res://.godot/imported/220195__gameaudio__click-wooden-1.wav-f161e2c5a53d686c65d143b45f33acb1.sample"]
|
||||
source_file="res://Sounds/220195__gameaudio__click-wooden-1.wav"
|
||||
dest_files=["res://.godot/imported/220195__gameaudio__click-wooden-1.wav-9368ef861eabf2cf1d5bd0db33c616c8.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://qed775b4j1gg"
|
||||
path="res://.godot/imported/220196__gameaudio__click-wooden-2.wav-372f3d1af9c561baf2360e14b5b7050b.sample"
|
||||
path="res://.godot/imported/220196__gameaudio__click-wooden-2.wav-45bb63efefaf817b60155beec9343d74.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220196__gameaudio__click-wooden-2.wav"
|
||||
dest_files=["res://.godot/imported/220196__gameaudio__click-wooden-2.wav-372f3d1af9c561baf2360e14b5b7050b.sample"]
|
||||
source_file="res://Sounds/220196__gameaudio__click-wooden-2.wav"
|
||||
dest_files=["res://.godot/imported/220196__gameaudio__click-wooden-2.wav-45bb63efefaf817b60155beec9343d74.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bqtk1adk8umbx"
|
||||
path="res://.godot/imported/220197__gameaudio__click-basic.wav-61aa24994882b9ab5848ecead3d7aba9.sample"
|
||||
path="res://.godot/imported/220197__gameaudio__click-basic.wav-9f173e2b7206278e95710ab077d62c32.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220197__gameaudio__click-basic.wav"
|
||||
dest_files=["res://.godot/imported/220197__gameaudio__click-basic.wav-61aa24994882b9ab5848ecead3d7aba9.sample"]
|
||||
source_file="res://Sounds/220197__gameaudio__click-basic.wav"
|
||||
dest_files=["res://.godot/imported/220197__gameaudio__click-basic.wav-9f173e2b7206278e95710ab077d62c32.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ysgfx76jkx2q"
|
||||
path="res://.godot/imported/220198__gameaudio__click-with-two-parts.wav-23adbbdcc4d995994bf9700f6b6e244d.sample"
|
||||
path="res://.godot/imported/220198__gameaudio__click-with-two-parts.wav-089977567529b37b0fd9cd019eb7b3c2.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220198__gameaudio__click-with-two-parts.wav"
|
||||
dest_files=["res://.godot/imported/220198__gameaudio__click-with-two-parts.wav-23adbbdcc4d995994bf9700f6b6e244d.sample"]
|
||||
source_file="res://Sounds/220198__gameaudio__click-with-two-parts.wav"
|
||||
dest_files=["res://.godot/imported/220198__gameaudio__click-with-two-parts.wav-089977567529b37b0fd9cd019eb7b3c2.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dtyh22ccebiv5"
|
||||
path="res://.godot/imported/220199__gameaudio__click-higher.wav-0ea6f7a1d32e528aace111f0ce8b9631.sample"
|
||||
path="res://.godot/imported/220199__gameaudio__click-higher.wav-d1c1550d99a0cc873012c4010877005b.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220199__gameaudio__click-higher.wav"
|
||||
dest_files=["res://.godot/imported/220199__gameaudio__click-higher.wav-0ea6f7a1d32e528aace111f0ce8b9631.sample"]
|
||||
source_file="res://Sounds/220199__gameaudio__click-higher.wav"
|
||||
dest_files=["res://.godot/imported/220199__gameaudio__click-higher.wav-d1c1550d99a0cc873012c4010877005b.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://cywjbbeintjew"
|
||||
path="res://.godot/imported/220208__gameaudio__click-pop-two-part.wav-9e40de3d9bebd124d0fe54a4f4cc4db9.sample"
|
||||
path="res://.godot/imported/220208__gameaudio__click-pop-two-part.wav-04cb5eb3e0b3459771dbab42bbd24be9.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220208__gameaudio__click-pop-two-part.wav"
|
||||
dest_files=["res://.godot/imported/220208__gameaudio__click-pop-two-part.wav-9e40de3d9bebd124d0fe54a4f4cc4db9.sample"]
|
||||
source_file="res://Sounds/220208__gameaudio__click-pop-two-part.wav"
|
||||
dest_files=["res://.godot/imported/220208__gameaudio__click-pop-two-part.wav-04cb5eb3e0b3459771dbab42bbd24be9.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://claw3d2wnyr6a"
|
||||
path="res://.godot/imported/220212__gameaudio__ping-bing.wav-04a5460471fa8fe82fe5d9bc5d946bb0.sample"
|
||||
path="res://.godot/imported/220212__gameaudio__ping-bing.wav-2a1049829e71a0034c7e8d18745663f1.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/220212__gameaudio__ping-bing.wav"
|
||||
dest_files=["res://.godot/imported/220212__gameaudio__ping-bing.wav-04a5460471fa8fe82fe5d9bc5d946bb0.sample"]
|
||||
source_file="res://Sounds/220212__gameaudio__ping-bing.wav"
|
||||
dest_files=["res://.godot/imported/220212__gameaudio__ping-bing.wav-2a1049829e71a0034c7e8d18745663f1.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://clkjwcawdqvta"
|
||||
path="res://.godot/imported/money.mp3-e3eae11b0c1923c268268b900bde9157.mp3str"
|
||||
path="res://.godot/imported/money.mp3-95c717b8402507d80974f4f4287b0b63.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/money.mp3"
|
||||
dest_files=["res://.godot/imported/money.mp3-e3eae11b0c1923c268268b900bde9157.mp3str"]
|
||||
source_file="res://Sounds/money.mp3"
|
||||
dest_files=["res://.godot/imported/money.mp3-95c717b8402507d80974f4f4287b0b63.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cexxfyw03hr81"
|
||||
path.s3tc="res://.godot/imported/1.png-28d6e3d31e46c95f0dea1abf906c0f74.s3tc.ctex"
|
||||
path.s3tc="res://.godot/imported/1.png-1282cd758f0d245fa29065df8c6fe28d.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@@ -11,8 +11,8 @@ metadata={
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-28d6e3d31e46c95f0dea1abf906c0f74.s3tc.ctex"]
|
||||
source_file="res://Textures/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-1282cd758f0d245fa29065df8c6fe28d.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxsy4fi0iv1dx"
|
||||
path.s3tc="res://.godot/imported/2.png-3b4d648e04c4a84e8b8f6c622069553c.s3tc.ctex"
|
||||
path.s3tc="res://.godot/imported/2.png-58b544529b3c8efe890c8b21f147e810.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@@ -11,8 +11,8 @@ metadata={
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/2.png"
|
||||
dest_files=["res://.godot/imported/2.png-3b4d648e04c4a84e8b8f6c622069553c.s3tc.ctex"]
|
||||
source_file="res://Textures/2.png"
|
||||
dest_files=["res://.godot/imported/2.png-58b544529b3c8efe890c8b21f147e810.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://ds8145w3o6ml2"]
|
||||
|
||||
[resource]
|
||||
@@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxeeadx0c2ygg"
|
||||
path.s3tc="res://.godot/imported/3.png-ff3babb0d8b4fdc49e4a4961a679d180.s3tc.ctex"
|
||||
path.s3tc="res://.godot/imported/3.png-ea971c9bd22bfef88dcd66b7417b5707.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@@ -11,8 +11,8 @@ metadata={
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/3.png"
|
||||
dest_files=["res://.godot/imported/3.png-ff3babb0d8b4fdc49e4a4961a679d180.s3tc.ctex"]
|
||||
source_file="res://Textures/3.png"
|
||||
dest_files=["res://.godot/imported/3.png-ea971c9bd22bfef88dcd66b7417b5707.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dqan7pog3m3bb"
|
||||
path="res://.godot/imported/34ada903e409f375853dd34c62f9ceb531c152c6.png-0e01048fdc7cbaaa23e270d40208f9b2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/34ada903e409f375853dd34c62f9ceb531c152c6.png"
|
||||
dest_files=["res://.godot/imported/34ada903e409f375853dd34c62f9ceb531c152c6.png-0e01048fdc7cbaaa23e270d40208f9b2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
@@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://xpf60mxi3cf"
|
||||
path.s3tc="res://.godot/imported/4.png-7c86e7f37dd6d943dc49fdd7899e8cb6.s3tc.ctex"
|
||||
path.s3tc="res://.godot/imported/4.png-352134ccf44954619410b58ec193bd16.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@@ -11,8 +11,8 @@ metadata={
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/4.png"
|
||||
dest_files=["res://.godot/imported/4.png-7c86e7f37dd6d943dc49fdd7899e8cb6.s3tc.ctex"]
|
||||
source_file="res://Textures/4.png"
|
||||
dest_files=["res://.godot/imported/4.png-352134ccf44954619410b58ec193bd16.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b7n8d4krwbcvl"
|
||||
path.s3tc="res://.godot/imported/5.png-b386ff019a5e522d985ab44e8f6c88d9.s3tc.ctex"
|
||||
path.s3tc="res://.godot/imported/5.png-be0d39347a68c1d063c92edeb31b0a20.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@@ -11,8 +11,8 @@ metadata={
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/5.png"
|
||||
dest_files=["res://.godot/imported/5.png-b386ff019a5e522d985ab44e8f6c88d9.s3tc.ctex"]
|
||||
source_file="res://Textures/5.png"
|
||||
dest_files=["res://.godot/imported/5.png-be0d39347a68c1d063c92edeb31b0a20.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://eqp04wybmg"
|
||||
path="res://.godot/imported/devTex.svg-246e77b8f216572aac74f8f3d27707b4.ctex"
|
||||
path="res://.godot/imported/devTex.svg-7096dfe1fce7d6bfeb43d4ba1bd108ed.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/devTex.svg"
|
||||
dest_files=["res://.godot/imported/devTex.svg-246e77b8f216572aac74f8f3d27707b4.ctex"]
|
||||
source_file="res://Textures/devTex.svg"
|
||||
dest_files=["res://.godot/imported/devTex.svg-7096dfe1fce7d6bfeb43d4ba1bd108ed.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://cmia50cfqxxo4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://eqp04wybmg" path="res://textures/devTex.svg" id="1_3jxsn"]
|
||||
[ext_resource type="Texture2D" uid="uid://eqp04wybmg" path="res://Textures/devTex.svg" id="1_3jxsn"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0gbf8"]
|
||||
transparency = 1
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bmomecu0058xg"
|
||||
path="res://.godot/imported/burger_buns.png-1d188acf1114db952605e27ec3a22b7d.ctex"
|
||||
path="res://.godot/imported/burger_buns.png-eb99084f29b786b6fd1dc4a9421e18f4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/burger_buns.png"
|
||||
dest_files=["res://.godot/imported/burger_buns.png-1d188acf1114db952605e27ec3a22b7d.ctex"]
|
||||
source_file="res://Textures/shop/burger_buns.png"
|
||||
dest_files=["res://.godot/imported/burger_buns.png-eb99084f29b786b6fd1dc4a9421e18f4.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c0nd4nh4vja73"
|
||||
path="res://.godot/imported/counter.png-34b9e7d123a9cc4ef081254e27f4cf64.ctex"
|
||||
path="res://.godot/imported/counter.png-518cbb629fdf0be6542a516cbab3572a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/counter.png"
|
||||
dest_files=["res://.godot/imported/counter.png-34b9e7d123a9cc4ef081254e27f4cf64.ctex"]
|
||||
source_file="res://Textures/shop/counter.png"
|
||||
dest_files=["res://.godot/imported/counter.png-518cbb629fdf0be6542a516cbab3572a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ejby14dl1svr"
|
||||
path="res://.godot/imported/hob.png-d5f291318e31b8c1fd380973ba2b3e5f.ctex"
|
||||
path="res://.godot/imported/hob.png-8a3c2590ce6bc6152cc40354a5804ed3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/hob.png"
|
||||
dest_files=["res://.godot/imported/hob.png-d5f291318e31b8c1fd380973ba2b3e5f.ctex"]
|
||||
source_file="res://Textures/shop/hob.png"
|
||||
dest_files=["res://.godot/imported/hob.png-8a3c2590ce6bc6152cc40354a5804ed3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cjrwhtsjjhtu7"
|
||||
path="res://.godot/imported/plates.png-604fb64dc490ce3d61a68949e43933ce.ctex"
|
||||
path="res://.godot/imported/plates.png-2d130be16573bc7773059442b60049f2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/plates.png"
|
||||
dest_files=["res://.godot/imported/plates.png-604fb64dc490ce3d61a68949e43933ce.ctex"]
|
||||
source_file="res://Textures/shop/plates.png"
|
||||
dest_files=["res://.godot/imported/plates.png-2d130be16573bc7773059442b60049f2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://blekcmdjkxs0q"
|
||||
path="res://.godot/imported/potatoes.png-348ae4010ffc422d20b1b18ef1c047b7.ctex"
|
||||
path="res://.godot/imported/potatoes.png-ffbc13d9bfd95e02bc08cf9c4345780c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/potatoes.png"
|
||||
dest_files=["res://.godot/imported/potatoes.png-348ae4010ffc422d20b1b18ef1c047b7.ctex"]
|
||||
source_file="res://Textures/shop/potatoes.png"
|
||||
dest_files=["res://.godot/imported/potatoes.png-ffbc13d9bfd95e02bc08cf9c4345780c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dpaqhbpmk7exf"
|
||||
path="res://.godot/imported/raw_burger.png-281cd44e6d7ec4dca89ef14be14b45df.ctex"
|
||||
path="res://.godot/imported/raw_burger.png-245bf9ca2b3f6674c8ee11bd6a47bbb4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/raw_burger.png"
|
||||
dest_files=["res://.godot/imported/raw_burger.png-281cd44e6d7ec4dca89ef14be14b45df.ctex"]
|
||||
source_file="res://Textures/shop/raw_burger.png"
|
||||
dest_files=["res://.godot/imported/raw_burger.png-245bf9ca2b3f6674c8ee11bd6a47bbb4.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ecdu0qqhib4"
|
||||
path="res://.godot/imported/sink.png-b4ba3b467f19b9cacd807739403f133b.ctex"
|
||||
path="res://.godot/imported/sink.png-4a3efd6bdea4a31b0221ffe031074493.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/sink.png"
|
||||
dest_files=["res://.godot/imported/sink.png-b4ba3b467f19b9cacd807739403f133b.ctex"]
|
||||
source_file="res://Textures/shop/sink.png"
|
||||
dest_files=["res://.godot/imported/sink.png-4a3efd6bdea4a31b0221ffe031074493.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cv3grgonwlakt"
|
||||
path="res://.godot/imported/table.png-329a7e7d913d8d0d73e07611b7f10c21.ctex"
|
||||
path="res://.godot/imported/table.png-2b5f18b015a2afc41ee9ba67103b6ede.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/shop/table.png"
|
||||
dest_files=["res://.godot/imported/table.png-329a7e7d913d8d0d73e07611b7f10c21.ctex"]
|
||||
source_file="res://Textures/shop/table.png"
|
||||
dest_files=["res://.godot/imported/table.png-2b5f18b015a2afc41ee9ba67103b6ede.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://hfkxs3ncjc4m"
|
||||
path="res://.godot/imported/NightSkyHDRI009.png-30c624de99c676c23642a0e7a463453d.ctex"
|
||||
path="res://.godot/imported/NightSkyHDRI009.png-5fecb5274d03e5767c649d4bae381a39.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/sky/NightSkyHDRI009.png"
|
||||
dest_files=["res://.godot/imported/NightSkyHDRI009.png-30c624de99c676c23642a0e7a463453d.ctex"]
|
||||
source_file="res://Textures/sky/NightSkyHDRI009.png"
|
||||
dest_files=["res://.godot/imported/NightSkyHDRI009.png-5fecb5274d03e5767c649d4bae381a39.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_resource type="Sky" format=3 uid="uid://c1abtpwhdm2d5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ci0hjoabnf8nu" path="res://textures/sky/NightSkyHDRI009_16K_HDR.exr" id="acg_mft3ic9d"]
|
||||
[ext_resource type="Texture2D" uid="uid://ci0hjoabnf8nu" path="res://Textures/sky/NightSkyHDRI009_16K_HDR.exr" id="acg_mft3ic9d"]
|
||||
|
||||
[sub_resource type="PanoramaSkyMaterial" id="acg_025sfqr4"]
|
||||
panorama = ExtResource("acg_mft3ic9d")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ci0hjoabnf8nu"
|
||||
path.bptc="res://.godot/imported/NightSkyHDRI009_16K_HDR.exr-43fd92962b13d105254e11ecfdaf0858.bptc.ctex"
|
||||
path.bptc="res://.godot/imported/NightSkyHDRI009_16K_HDR.exr-9a5d77664863ac9d0a6a2889b31099ca.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@@ -11,8 +11,8 @@ metadata={
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/sky/NightSkyHDRI009_16K_HDR.exr"
|
||||
dest_files=["res://.godot/imported/NightSkyHDRI009_16K_HDR.exr-43fd92962b13d105254e11ecfdaf0858.bptc.ctex"]
|
||||
source_file="res://Textures/sky/NightSkyHDRI009_16K_HDR.exr"
|
||||
dest_files=["res://.godot/imported/NightSkyHDRI009_16K_HDR.exr-9a5d77664863ac9d0a6a2889b31099ca.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c64om8q11trnm"
|
||||
path="res://.godot/imported/NightSkyHDRI009_16K_TONEMAPPED.jpg-772032c9d36bbd100929d978b6fbe78b.ctex"
|
||||
path="res://.godot/imported/NightSkyHDRI009_16K_TONEMAPPED.jpg-8d036fe183f31a1e4946600f7e0a089a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/sky/NightSkyHDRI009_16K_TONEMAPPED.jpg"
|
||||
dest_files=["res://.godot/imported/NightSkyHDRI009_16K_TONEMAPPED.jpg-772032c9d36bbd100929d978b6fbe78b.ctex"]
|
||||
source_file="res://Textures/sky/NightSkyHDRI009_16K_TONEMAPPED.jpg"
|
||||
dest_files=["res://.godot/imported/NightSkyHDRI009_16K_TONEMAPPED.jpg-8d036fe183f31a1e4946600f7e0a089a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ file_logging/enable_file_logging=true
|
||||
|
||||
window/size/viewport_width=1000
|
||||
window/size/viewport_height=650
|
||||
window/size/mode=2
|
||||
window/stretch/mode="canvas_items"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user