Got started on the basics with sprites and grid generation
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Normalize EOL for all files that Git considers text files.
|
||||||
|
* text=auto eol=lf
|
16
.gitignore
vendored
@ -1,17 +1,3 @@
|
|||||||
# ---> Godot
|
|
||||||
# Godot 4+ specific ignores
|
# Godot 4+ specific ignores
|
||||||
.godot/
|
.godot/
|
||||||
|
/android/
|
||||||
# Godot-specific ignores
|
|
||||||
.import/
|
|
||||||
export.cfg
|
|
||||||
export_presets.cfg
|
|
||||||
|
|
||||||
# Imported translations (automatically generated from CSV files)
|
|
||||||
*.translation
|
|
||||||
|
|
||||||
# Mono-specific ignores
|
|
||||||
.mono/
|
|
||||||
data_*/
|
|
||||||
mono_crash.*.json
|
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# Minesweeper
|
# Minesweeper
|
||||||
|
|
||||||
Minesweeper
|
I was a bit bored so now I'm making minesweeper.
|
4
minesweeper/.editorconfig
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
2
minesweeper/.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Normalize EOL for all files that Git considers text files.
|
||||||
|
* text=auto eol=lf
|
3
minesweeper/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Godot 4+ specific ignores
|
||||||
|
.godot/
|
||||||
|
/android/
|
1
minesweeper/icon.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>
|
After Width: | Height: | Size: 994 B |
37
minesweeper/icon.svg.import
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dulhlruvjhhqn"
|
||||||
|
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://icon.svg"
|
||||||
|
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.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
|
35
minesweeper/project.godot
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
; Engine configuration file.
|
||||||
|
; It's best edited using the editor UI and not directly,
|
||||||
|
; since the parameters that go here are not all obvious.
|
||||||
|
;
|
||||||
|
; Format:
|
||||||
|
; [section] ; section goes between []
|
||||||
|
; param=value ; assign values to parameters
|
||||||
|
|
||||||
|
config_version=5
|
||||||
|
|
||||||
|
[application]
|
||||||
|
|
||||||
|
config/name="Minesweeper"
|
||||||
|
config/features=PackedStringArray("4.4", "GL Compatibility")
|
||||||
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
[debug]
|
||||||
|
|
||||||
|
gdscript/warnings/untyped_declaration=2
|
||||||
|
gdscript/warnings/inferred_declaration=2
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/stretch/mode="viewport"
|
||||||
|
window/stretch/aspect="expand"
|
||||||
|
|
||||||
|
[dotnet]
|
||||||
|
|
||||||
|
project/assembly_name="Minesweeper"
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
textures/canvas_textures/default_texture_filter=0
|
||||||
|
renderer/rendering_method="gl_compatibility"
|
||||||
|
renderer/rendering_method.mobile="gl_compatibility"
|
23
minesweeper/scenes/Mine.tscn
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://b03smhbrrkgmw"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://3wkgv7brl1l2" path="res://scripts/Mine.gd" id="1_rrkvo"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b26tmpl7dhsls" path="res://sprites/cover.png" id="3_ke0lc"]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xpffi"]
|
||||||
|
size = Vector2(16, 16)
|
||||||
|
|
||||||
|
[node name="Mine" type="Node2D"]
|
||||||
|
script = ExtResource("1_rrkvo")
|
||||||
|
|
||||||
|
[node name="layer1" type="Sprite2D" parent="."]
|
||||||
|
texture = ExtResource("3_ke0lc")
|
||||||
|
|
||||||
|
[node name="layer2" type="Sprite2D" parent="."]
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||||
|
input_pickable = true
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||||
|
shape = SubResource("RectangleShape2D_xpffi")
|
||||||
|
|
||||||
|
[connection signal="input_event" from="StaticBody2D" to="." method="_on_static_body_2d_input_event"]
|
9
minesweeper/scenes/Minefield.tscn
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://b8ewc3373b0t2"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://du63nf81skbpt" path="res://scripts/Minefield.gd" id="1_rm6t6"]
|
||||||
|
|
||||||
|
[node name="Minefield" type="Node2D"]
|
||||||
|
script = ExtResource("1_rm6t6")
|
||||||
|
|
||||||
|
[node name="Camera2D" type="Camera2D" parent="."]
|
||||||
|
zoom = Vector2(4, 4)
|
72
minesweeper/scripts/Mine.gd
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
class_name Mine extends Node2D
|
||||||
|
|
||||||
|
@onready var backplate: CompressedTexture2D = preload("res://sprites/backplate.png")
|
||||||
|
@onready var cover: CompressedTexture2D = preload("res://sprites/cover.png")
|
||||||
|
@onready var mine: CompressedTexture2D = preload("res://sprites/mine.png")
|
||||||
|
@onready var flag: CompressedTexture2D = preload("res://sprites/flag.png")
|
||||||
|
@onready var nums: Array[CompressedTexture2D] = [
|
||||||
|
preload("res://sprites/1.png"),
|
||||||
|
preload("res://sprites/2.png"),
|
||||||
|
preload("res://sprites/3.png"),
|
||||||
|
preload("res://sprites/4.png"),
|
||||||
|
preload("res://sprites/5.png"),
|
||||||
|
preload("res://sprites/6.png"),
|
||||||
|
preload("res://sprites/7.png"),
|
||||||
|
preload("res://sprites/8.png")
|
||||||
|
]
|
||||||
|
|
||||||
|
enum MineType{
|
||||||
|
EMPTY,
|
||||||
|
ONE,
|
||||||
|
TWO,
|
||||||
|
THREE,
|
||||||
|
FOUR,
|
||||||
|
FIVE,
|
||||||
|
SIX,
|
||||||
|
SEVEN,
|
||||||
|
EIGHT,
|
||||||
|
MINE
|
||||||
|
}
|
||||||
|
|
||||||
|
@onready var layer1: Sprite2D = $layer1
|
||||||
|
@onready var layer2: Sprite2D = $layer2
|
||||||
|
|
||||||
|
var type: MineType
|
||||||
|
var coord: Vector2i
|
||||||
|
var revealed: bool = false
|
||||||
|
|
||||||
|
func evaluateType() -> void:
|
||||||
|
if (type == MineType.MINE): return
|
||||||
|
var count: int = 0
|
||||||
|
for x: int in range(-1, 2):
|
||||||
|
for y: int in range(-1, 2):
|
||||||
|
if (x == 0 && y == 0): continue
|
||||||
|
var mine: Mine = Minefield.instance.getMine(coord + Vector2i(x, y))
|
||||||
|
if (mine == null): continue
|
||||||
|
if (mine.type == MineType.MINE): count += 1
|
||||||
|
type = count as MineType
|
||||||
|
|
||||||
|
func reveal() -> void:
|
||||||
|
if (revealed): return
|
||||||
|
revealed = true
|
||||||
|
layer1.texture = backplate
|
||||||
|
match type:
|
||||||
|
MineType.EMPTY:
|
||||||
|
layer2.texture = null
|
||||||
|
for x: int in range(-1, 2):
|
||||||
|
for y: int in range(-1, 2):
|
||||||
|
if (x == 0 && y == 0): continue
|
||||||
|
var mine: Mine = Minefield.instance.getMine(coord + Vector2i(x, y))
|
||||||
|
if (mine == null): continue
|
||||||
|
mine.reveal()
|
||||||
|
MineType.MINE:
|
||||||
|
layer2.texture = mine
|
||||||
|
_:
|
||||||
|
layer2.texture = nums[type as int - 1]
|
||||||
|
|
||||||
|
func _on_static_body_2d_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
||||||
|
if (event.is_pressed()):
|
||||||
|
print("Pressed " + str(coord))
|
||||||
|
if (!Minefield.instance.fieldInitialized):
|
||||||
|
Minefield.instance.initField(coord)
|
||||||
|
reveal()
|
1
minesweeper/scripts/Mine.gd.uid
Normal file
@ -0,0 +1 @@
|
|||||||
|
uid://3wkgv7brl1l2
|
48
minesweeper/scripts/Minefield.gd
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
class_name Minefield extends Node2D
|
||||||
|
|
||||||
|
static var instance: Minefield
|
||||||
|
|
||||||
|
@onready var minePrefab: PackedScene = preload("res://scenes/Mine.tscn")
|
||||||
|
@onready var cam: Camera2D = $Camera2D
|
||||||
|
|
||||||
|
@export var width: int = 10
|
||||||
|
@export var height: int = 10
|
||||||
|
@export var mineCount: int = 10
|
||||||
|
|
||||||
|
var mines: Array[Mine]
|
||||||
|
var spriteWidth: int = 16
|
||||||
|
var fieldInitialized: bool = false
|
||||||
|
|
||||||
|
func _enter_tree() -> void:
|
||||||
|
if (instance == null || is_instance_valid(instance)): instance = self
|
||||||
|
else: queue_free()
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
var scale: float = 1
|
||||||
|
for x: int in range(width):
|
||||||
|
for y: int in range(height):
|
||||||
|
var mine: Mine = minePrefab.instantiate()
|
||||||
|
mine.coord = Vector2i(x, y)
|
||||||
|
mine.position = Vector2(spriteWidth * x - (spriteWidth * (width / 2)) + (spriteWidth / 2),
|
||||||
|
spriteWidth * y - (spriteWidth * (height / 2)) + (spriteWidth / 2))
|
||||||
|
add_child(mine)
|
||||||
|
mines.append(mine)
|
||||||
|
|
||||||
|
func initField(coord: Vector2i) -> void:
|
||||||
|
var picked: Array[Vector2i]
|
||||||
|
for i: int in range(mineCount):
|
||||||
|
var pick: Vector2i
|
||||||
|
while (true):
|
||||||
|
pick = Vector2i(randi_range(0, width - 1), randi_range(0, height - 1))
|
||||||
|
if abs(coord - pick) <= Vector2i(1, 1) || pick in picked:
|
||||||
|
continue
|
||||||
|
break
|
||||||
|
print("Picked " + str(pick))
|
||||||
|
picked.append(pick)
|
||||||
|
getMine(pick).type = Mine.MineType.MINE
|
||||||
|
for mine: Mine in mines:
|
||||||
|
mine.evaluateType()
|
||||||
|
|
||||||
|
func getMine(coord: Vector2i) -> Mine:
|
||||||
|
if (coord.x < 0 || coord.y < 0 || coord.x >= width || coord.y >= width): return null
|
||||||
|
return mines[(coord.x * height) + coord.y]
|
1
minesweeper/scripts/Minefield.gd.uid
Normal file
@ -0,0 +1 @@
|
|||||||
|
uid://du63nf81skbpt
|
BIN
minesweeper/sprites/1.png
Normal file
After Width: | Height: | Size: 594 B |
34
minesweeper/sprites/1.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ros4e1jionik"
|
||||||
|
path="res://.godot/imported/1.png-daf6437148b5f8500d1b41e1e80e6f6e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/1.png"
|
||||||
|
dest_files=["res://.godot/imported/1.png-daf6437148b5f8500d1b41e1e80e6f6e.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
|
BIN
minesweeper/sprites/2.png
Normal file
After Width: | Height: | Size: 606 B |
34
minesweeper/sprites/2.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://di0olen01vrxh"
|
||||||
|
path="res://.godot/imported/2.png-99565eb07af2995b812606251f7abf39.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/2.png"
|
||||||
|
dest_files=["res://.godot/imported/2.png-99565eb07af2995b812606251f7abf39.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
|
BIN
minesweeper/sprites/3.png
Normal file
After Width: | Height: | Size: 593 B |
34
minesweeper/sprites/3.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://1hobtvrhhpag"
|
||||||
|
path="res://.godot/imported/3.png-4b696cede5d7c22c43379d68dba522fe.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/3.png"
|
||||||
|
dest_files=["res://.godot/imported/3.png-4b696cede5d7c22c43379d68dba522fe.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
|
BIN
minesweeper/sprites/4.png
Normal file
After Width: | Height: | Size: 591 B |
34
minesweeper/sprites/4.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://g4t8nw8pjirv"
|
||||||
|
path="res://.godot/imported/4.png-a6af2fa3155b472bad78aebd7ef66a95.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/4.png"
|
||||||
|
dest_files=["res://.godot/imported/4.png-a6af2fa3155b472bad78aebd7ef66a95.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
|
BIN
minesweeper/sprites/5.png
Normal file
After Width: | Height: | Size: 595 B |
34
minesweeper/sprites/5.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://yie3i2fv6qwp"
|
||||||
|
path="res://.godot/imported/5.png-9623488411965634f7236a3a6f7224ea.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/5.png"
|
||||||
|
dest_files=["res://.godot/imported/5.png-9623488411965634f7236a3a6f7224ea.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
|
BIN
minesweeper/sprites/6.png
Normal file
After Width: | Height: | Size: 601 B |
34
minesweeper/sprites/6.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ip4h63iwekv7"
|
||||||
|
path="res://.godot/imported/6.png-3d2dc1b4460661c5fbb97d3d09a18c6d.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/6.png"
|
||||||
|
dest_files=["res://.godot/imported/6.png-3d2dc1b4460661c5fbb97d3d09a18c6d.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
|
BIN
minesweeper/sprites/7.png
Normal file
After Width: | Height: | Size: 600 B |
34
minesweeper/sprites/7.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ckr4f1d42erk"
|
||||||
|
path="res://.godot/imported/7.png-9e98b1bb163a87d7b485464277bec6d4.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/7.png"
|
||||||
|
dest_files=["res://.godot/imported/7.png-9e98b1bb163a87d7b485464277bec6d4.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
|
BIN
minesweeper/sprites/8.png
Normal file
After Width: | Height: | Size: 594 B |
34
minesweeper/sprites/8.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://uahv8esecsl5"
|
||||||
|
path="res://.godot/imported/8.png-cd60b246701e0b04181ccd2d015862bf.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/8.png"
|
||||||
|
dest_files=["res://.godot/imported/8.png-cd60b246701e0b04181ccd2d015862bf.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
|
BIN
minesweeper/sprites/backplate.png
Normal file
After Width: | Height: | Size: 666 B |
34
minesweeper/sprites/backplate.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://blar6qfjvvqx4"
|
||||||
|
path="res://.godot/imported/backplate.png-1f2bb5c1f1cd3c968c9ff327e44e2294.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/backplate.png"
|
||||||
|
dest_files=["res://.godot/imported/backplate.png-1f2bb5c1f1cd3c968c9ff327e44e2294.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
|
BIN
minesweeper/sprites/cover.png
Normal file
After Width: | Height: | Size: 660 B |
34
minesweeper/sprites/cover.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b26tmpl7dhsls"
|
||||||
|
path="res://.godot/imported/cover.png-ffd4baf10f90f208b2badbc00d352702.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/cover.png"
|
||||||
|
dest_files=["res://.godot/imported/cover.png-ffd4baf10f90f208b2badbc00d352702.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
|
BIN
minesweeper/sprites/flag.png
Normal file
After Width: | Height: | Size: 626 B |
34
minesweeper/sprites/flag.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dpjs7i4830gbc"
|
||||||
|
path="res://.godot/imported/flag.png-6b6f638db08d282fbed517913740f6a9.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/flag.png"
|
||||||
|
dest_files=["res://.godot/imported/flag.png-6b6f638db08d282fbed517913740f6a9.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
|
BIN
minesweeper/sprites/mine.png
Normal file
After Width: | Height: | Size: 642 B |
34
minesweeper/sprites/mine.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dpu5owqvay3ih"
|
||||||
|
path="res://.godot/imported/mine.png-3aeb482e7dc562a62adab144bb21aa06.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sprites/mine.png"
|
||||||
|
dest_files=["res://.godot/imported/mine.png-3aeb482e7dc562a62adab144bb21aa06.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
|