Skip to content

Commit

Permalink
v1.4.? : use mipmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTakinTeller committed Feb 9, 2025
1 parent c355117 commit 170108d
Show file tree
Hide file tree
Showing 38 changed files with 70 additions and 44 deletions.
2 changes: 1 addition & 1 deletion assets/image/art/angel.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/bird.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/bone.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/cat.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/death.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/dino.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/dragon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/eye.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/flesh.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/heart.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/judgement.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/rabbit.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/skeleton.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/slime.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/spider.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/strength.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/temperance.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_chariot.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_emperor.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_empress.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_hanged_man.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_hermit.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_hierophant.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_high_priestess.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_magician.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_tower.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/the_world.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/void.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/wheel_of_fortune.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
2 changes: 1 addition & 1 deletion assets/image/art/wolf.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
Expand Down
4 changes: 0 additions & 4 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ locale/translations=PackedStringArray("res://assets/i18n/localization.en.transla

textures/canvas_textures/default_texture_filter=2
textures/vram_compression/import_etc2_astc=true
textures/default_filters/use_nearest_mipmap_filter=true
textures/default_filters/anisotropic_filtering_level=4
textures/decals/filter=5
textures/light_projectors/filter=5
environment/defaults/default_clear_color=Color(0, 0, 0, 1)
anti_aliasing/quality/msaa_2d=1
anti_aliasing/quality/screen_space_aa=1
Expand Down
12 changes: 11 additions & 1 deletion resources/theme/dark/dark.tres
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=84 format=4 uid="uid://d276arnrjws3i"]
[gd_resource type="Theme" load_steps=85 format=4 uid="uid://d276arnrjws3i"]

[ext_resource type="FontFile" uid="uid://q32pdsh1f0q8" path="res://assets/font/noto_sans/woff/noto_sans.woff" id="2_mxpaq"]
[ext_resource type="Texture2D" uid="uid://bvpjbal72ck7r" path="res://resources/theme/dark/icons.svg" id="2_plspm"]
Expand Down Expand Up @@ -1406,6 +1406,14 @@ border_width_right = 1
border_width_bottom = 1
border_color = Color(0.282353, 0.282353, 0.282353, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sawul"]
bg_color = Color(0, 0, 0, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0, 0, 0, 1)

[sub_resource type="StyleBoxFlat" id="45"]
content_margin_left = 5.0
content_margin_top = 5.0
Expand Down Expand Up @@ -1670,6 +1678,8 @@ TextEdit/styles/completion = null
TextEdit/styles/focus = SubResource("27")
TextEdit/styles/normal = SubResource("34")
TextEdit/styles/read_only = SubResource("29")
TextPanel/base_type = &"Panel"
TextPanel/styles/panel = SubResource("StyleBoxFlat_sawul")
Tree/colors/custom_button_font_highlight = Color(0.94, 0.94, 0.94, 1)
Tree/colors/drop_position_color = Color(1, 0.3, 0.2, 1)
Tree/colors/font_color = Color(0.69, 0.69, 0.69, 1)
Expand Down
7 changes: 7 additions & 0 deletions scenes/autostart/main/main.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
extends Node

const CAT_X: int = 90
const CAT_Y: int = 100
const CAT_SIZE: Vector2 = Vector2(CAT_X, CAT_Y)

const SHORTCUTS_1: Array = [KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9]
const SHORTCUTS_2: Array = [
KEY_KP_0,
Expand Down Expand Up @@ -58,6 +62,9 @@ func _input(event: InputEvent) -> void:


func _ready() -> void:
cat_sprite_2d.scale.x = CAT_X / cat_sprite_2d.texture.get_size().x
cat_sprite_2d.scale.y = CAT_Y / cat_sprite_2d.texture.get_size().y

_connect_signals()
_initialize()

Expand Down
1 change: 1 addition & 0 deletions scenes/autostart/main/main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ grow_vertical = 2
unique_name_in_owner = true
z_index = 4096
position = Vector2(475, 617)
scale = Vector2(0.176, 0.195)
texture = ExtResource("24_msvnv")

[node name="SoulSprite" parent="CanvasLayer/MainControl/SoulUI" instance=ExtResource("25_jo8o4")]
Expand Down
11 changes: 10 additions & 1 deletion scenes/autostart/soul_screen/soul_screen.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
extends Node

const CAT_X: int = 90
const CAT_Y: int = 100
const CAT_SIZE: Vector2 = Vector2(CAT_X, CAT_Y)

@export var shake_shader_component_scene: PackedScene

var hp: int = 9
Expand All @@ -8,6 +12,8 @@ var boss_cycle: int = 0
var boss_pattern: int = 0
var max_boss_pattern: int = 3

var cat_size: float = 0

@onready var canvas_layer: CanvasLayer = %CanvasLayer

@onready var node_2d: Node2D = %Node2D
Expand All @@ -34,6 +40,9 @@ func _physics_process(_delta: float) -> void:


func _ready() -> void:
cat_sprite_2d.scale.x = CAT_X / cat_sprite_2d.texture.get_size().x
cat_sprite_2d.scale.y = CAT_Y / cat_sprite_2d.texture.get_size().y

_connect_signals()
_initialize()
_intro_animation()
Expand Down Expand Up @@ -74,7 +83,7 @@ func _update_clicks(delta: int) -> void:


func _intro_animation() -> void:
var cat_sprite_2d_size: Vector2 = cat_sprite_2d.get_rect().size
var cat_sprite_2d_size: Vector2 = CAT_SIZE
var viewport_size: Vector2 = get_viewport().get_visible_rect().size
var target_position: Vector2 = viewport_size / 2
target_position.y = cat_sprite_2d_size.y + 16
Expand Down
1 change: 1 addition & 0 deletions scenes/autostart/soul_screen/soul_screen.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ z_index = 4095
[node name="CatSprite2D" type="Sprite2D" parent="CanvasLayer/Node2D"]
unique_name_in_owner = true
position = Vector2(482, 252)
scale = Vector2(0.176, 0.195)
texture = ExtResource("5_ary8y")

[node name="Control" type="Control" parent="CanvasLayer"]
Expand Down
Loading

0 comments on commit 170108d

Please sign in to comment.