Fixed zooming issue with camera and ensured producers produce at least one.

This commit is contained in:
2026-06-13 15:34:33 -06:00
parent 5e47e02118
commit f629454f45
3 changed files with 18 additions and 5 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ class Consumer
def initialize(x, y)
@x = x
@y = y
@image = Gosu::Image.new('assets/images/background_square.png', {:tileable => true})
@image = Gosu.render(30, 30) {Gosu.draw_rect(0, 0, 30, 30, Gosu::Color::GREEN, 0)}
#Gosu::Image.new('assets/images/background_square.png', {:tileable => true})
end
# Creates numbers depending on the rate. This is done with knowing that the