mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
9e396eef3d
- Updated various feed components (Cake, Cupcake, Dango, Donut, FruitPlatter, FruitSalad, Milk, Orange, RedJam, Strawberry, Taco, WaterBottle, Xigua-Full, Xigua-Half, YellowJam) to correct names, textures, and display names. - Modified MakeFeed scene to improve feed selection and display logic, including the addition of skip functionality. - Enhanced UIState and EntityBase scripts to manage feed counts and selections more effectively. - Introduced DirTool for directory operations and improved file loading mechanisms. - Adjusted TickTool for frame-based operations.
8 lines
220 B
GDScript
8 lines
220 B
GDScript
class_name TickTool
|
|
|
|
static func millseconds(ms: int):
|
|
return await WorldManager.tree.create_timer(ms / 1000.0).timeout
|
|
static func frame(count: int = 1):
|
|
for i in range(count):
|
|
await WorldManager.tree.physics_frame
|