Skip to content

Commit

Permalink
assets import, first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfAndreaPollini committed Jul 18, 2022
0 parents commit 9e9be11
Show file tree
Hide file tree
Showing 2,873 changed files with 48,577 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Godot-specific ignores
.import/
export.cfg
export_presets.cfg

# Imported translations (automatically generated from CSV files)
*.translation

# Mono-specific ignores
.mono/
data_*/
3 changes: 3 additions & 0 deletions MainScreen.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[gd_scene format=2]

[node name="MainScreen" type="Node2D"]
Binary file added assets/0f6a29db-2521-4e60-899f-1795dfa4906e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions assets/0f6a29db-2521-4e60-899f-1795dfa4906e.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/0f6a29db-2521-4e60-899f-1795dfa4906e.png-2db923c81a33bcf95a5f8adc684f8c4d.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0f6a29db-2521-4e60-899f-1795dfa4906e.png"
dest_files=[ "res://.import/0f6a29db-2521-4e60-899f-1795dfa4906e.png-2db923c81a33bcf95a5f8adc684f8c4d.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/0x72_16x16DungeonTileset.v4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions assets/0x72_16x16DungeonTileset.v4.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/0x72_16x16DungeonTileset.v4.png-1d19a1ee970adfc3dc72882cfbc81785.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_16x16DungeonTileset.v4.png"
dest_files=[ "res://.import/0x72_16x16DungeonTileset.v4.png-1d19a1ee970adfc3dc72882cfbc81785.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/0x72_16x16DungeonTileset_walls.v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions assets/0x72_16x16DungeonTileset_walls.v2.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/0x72_16x16DungeonTileset_walls.v2.png-545f2ee4ffc719d108981521a4223e29.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_16x16DungeonTileset_walls.v2.png"
dest_files=[ "res://.import/0x72_16x16DungeonTileset_walls.v2.png-545f2ee4ffc719d108981521a4223e29.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/0x72_DungeonTilesetII_v1.4.zip
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/0x72_DungeonTilesetII_v1.4.png-4a6dffcaa0133e79537db5a93d9060c2.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4.png"
dest_files=[ "res://.import/0x72_DungeonTilesetII_v1.4.png-4a6dffcaa0133e79537db5a93d9060c2.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env python3

import os
from PIL import Image

IMG_PATH = '0x72_DungeonTilesetII_v1.4.png'
TILES_PATH = 'tiles_list_v1.4'

def getBox(arr, frameIndex = 0):
w, h = int(arr[3]), int(arr[4])
x, y = int(arr[1]) + w*frameIndex, int(arr[2])
return (x, y, x+w, y+h)

def saveCrop(img, title, box):
path = os.path.join('./frames/' + title + '.png')
try:
croppedImg = img.crop(box)
croppedImg.save(path)
print('ok: ' + title)
except Exception as e:
print('fail: ' + title + ' -- ' + str(e))

img = Image.open(IMG_PATH)
w, h = img.size

f = open(TILES_PATH, 'r')
for line in f.readlines():
arr = line.split()
if len(arr) == 0:
pass
if len(arr) == 5:
saveCrop(img, arr[0], getBox(arr))
if len(arr) == 6:
numOfFrames = int(arr[5])
for frameIndex in range(0, numOfFrames):
saveCrop(img, arr[0] + '_f' + str(frameIndex), getBox(arr, frameIndex))

print('')
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/big_demon_idle_anim_f0.png-588a6dbfc2fdd88e52f51b017a6a41a0.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/frames/big_demon_idle_anim_f0.png"
dest_files=[ "res://.import/big_demon_idle_anim_f0.png-588a6dbfc2fdd88e52f51b017a6a41a0.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/big_demon_idle_anim_f1.png-623e4e146cf889bcbf6fc4b88e385047.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/frames/big_demon_idle_anim_f1.png"
dest_files=[ "res://.import/big_demon_idle_anim_f1.png-623e4e146cf889bcbf6fc4b88e385047.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/big_demon_idle_anim_f2.png-8dd56c215747c4f6b8f097b493e5da70.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/frames/big_demon_idle_anim_f2.png"
dest_files=[ "res://.import/big_demon_idle_anim_f2.png-8dd56c215747c4f6b8f097b493e5da70.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/big_demon_idle_anim_f3.png-e5cd510202749a0b6f8e0511d842a8f0.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/frames/big_demon_idle_anim_f3.png"
dest_files=[ "res://.import/big_demon_idle_anim_f3.png-e5cd510202749a0b6f8e0511d842a8f0.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/big_demon_run_anim_f0.png-ff4337c202fb4d16f5da7954b36cfa1c.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/frames/big_demon_run_anim_f0.png"
dest_files=[ "res://.import/big_demon_run_anim_f0.png-ff4337c202fb4d16f5da7954b36cfa1c.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9e9be11

Please sign in to comment.