Update main.rb (#8)

This works. I did find out in my testing that it might not set the zoom correct however as soon as you do zoom it works properly. Also odd aspect ratios (eg not my aspect ratio) cause the squares to be not so square

Reviewed-on: bionickatana/number_factory#8
Co-authored-by: nathan <nathan@hintonclan.org>
Co-committed-by: nathan <nathan@hintonclan.org>
This commit is contained in:
2026-06-14 15:32:57 -06:00
committed by bionickatana
parent 8e7c0c9078
commit 693f5b83e9
+2 -2
View File
@@ -9,8 +9,8 @@ require './producer.rb'
require './consumer.rb'
# Viewport resolution
WIDTH = 1920
HEIGHT = 1080
WIDTH = Gosu::screen_width
HEIGHT = Gosu::screen_height
BOX_SIZE = 64
# Default game settings