From c405cb81de9dba2ff8947870c09650bda7533550 Mon Sep 17 00:00:00 2001 From: ne_mene Date: Tue, 17 Mar 2026 00:04:17 +0100 Subject: is there even anything to commit? --- src/objs/specks.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/objs') diff --git a/src/objs/specks.lua b/src/objs/specks.lua index a3a21c5..a01e233 100644 --- a/src/objs/specks.lua +++ b/src/objs/specks.lua @@ -24,6 +24,9 @@ function Speck_Sys.new(texture) self.scale_end_max = 1 self.texture = texture + + self.x = 0 + self.y = 0 end function Speck_Sys:process(dt) @@ -57,3 +60,8 @@ function Speck_Sys:draw() ) end end + +register_comp("Specks", function (ent) + ent.specks = Speck_Sys.new("res/img/speck.png") + +end) -- cgit v1.3-2-g0d8e