1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 12:17:12 +08:00

Add SVG assets for strawberries and watermelons with import configurations

- Added `strawberry-a.svg` and its corresponding import file `strawberry-a.svg.import`.
- Added `watermelon-a.svg` and its corresponding import file `watermelon-a.svg.import`.
- Added `watermelon-c.svg` and its corresponding import file `watermelon-c.svg.import`.
- Configured texture compression settings for all SVG assets to optimize rendering.
This commit is contained in:
2025-08-27 11:48:54 +08:00
parent b3b4fdafc2
commit 23bc9b3e20
49 changed files with 1498 additions and 15 deletions
+12 -7
View File
@@ -9,15 +9,20 @@ func _ready():
i.hide()
func beforeOpen():
var feeds = []
var feeds: Array[Feed] = []
for i in avaliableFeeds.get_children():
feeds.append(i)
feeds.shuffle()
for i in range(3):
var feed = feeds[i]
var cloned = feed.duplicate()
cloned.show()
feedCards.add_child(cloned)
var allHad = false
while not allHad:
afterClose()
feeds.shuffle()
for i in range(3):
var feed = feeds[i]
var cloned = feed.duplicate() as Feed
cloned.show()
feedCards.add_child(cloned)
if cloned.allHad(UIState.player):
allHad = true
func afterClose():
for i in feedCards.get_children():
feedCards.remove_child(i)