forked from bionickatana/number_factory
Fixed zooming issue with camera and ensured producers produce at least one.
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user