This commit is contained in:
Exobyt 2024-08-22 22:36:40 +02:00
parent 2d9b0f7160
commit 5d00df8534
5 changed files with 53 additions and 8 deletions

BIN
assets/Spash Screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -0,0 +1,14 @@
[remap]
importer="image"
type="Image"
uid="uid://dsvcsn4a3u3by"
path="res://.godot/imported/Spash Screen.png-e4bf3d868c64976d7faedf235e897dc7.image"
[deps]
source_file="res://assets/Spash Screen.png"
dest_files=["res://.godot/imported/Spash Screen.png-e4bf3d868c64976d7faedf235e897dc7.image"]
[params]

View file

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ijlwgubxu60f"
path="res://.godot/imported/Spash Screen.svg-9e2cdb46753c22f03ad4e202afa8c8c0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Spash Screen.svg"
dest_files=["res://.godot/imported/Spash Screen.svg-9e2cdb46753c22f03ad4e202afa8c8c0.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -12,11 +12,12 @@ config_version=5
config/name="Texpand"
config/description="Submission for the GMTK Game jam 2024. Tetris with special Blocks that expands"
config/version="0.1.2"
config/version="01.0.0"
config/tags=PackedStringArray("game_jam")
run/main_scene="res://scenes/Main/main.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility")
run/max_fps=60
boot_splash/image="res://assets/Spash Screen.png"
config/icon="res://icon.svg"
[autoload]

View file

@ -96,7 +96,6 @@ func getBlockGroupsList():
func getBlockedDirection(direction : GLOBAL.Direction, uid : int) -> bool:
#var blockslist = getBlockGroupsList()
var isBlocked = false
#print(getBlockGroupsList())
if getBlockGroupsList().has(uid):
for i in getBlockGroupsList()[uid]:
if i.getCollider(direction) != null:
@ -110,14 +109,9 @@ func getBlockedDirection(direction : GLOBAL.Direction, uid : int) -> bool:
func splitOphansUID(uid):
var compareList = {}
#print(uid)
#print(getBlockGroupsList()[uid])
var group = []
for i in getBlockGroupsList()[uid]:
compareList[i] = i.getNeighboursUID(uid)
#if i.getNeighboursUID(uid) == []:
# i.UID = GLOBAL.getNewUID()
#print(i.getNeighboursUID(uid))
if i.getNeighboursUID(uid) == []:
i.UID = GLOBAL.getNewUID()
@ -245,7 +239,6 @@ func test():
#currentPattern.position.y -= 64
for i in getBlockGroupsList()[GLOBAL.currentUID]:
print(i.name)
if i.turningPoint:
currentPattern.set_scale(Vector2(2,2))
currentPattern.moveToPosition(i.global_position-spawnpoint.position)