korge icon indicating copy to clipboard operation
korge copied to clipboard

Have virtualSize default to windowSize when not specified

Open ByteAtATime opened this issue 3 years ago • 2 comments
trafficstars

I'm new to Korge, and I found a really confusing feature yesterday. I had a 1920x1080 screen (that I specified with windowSize), but when I drew a 1000x700 rectangle it almost covered the whole screen. I later realized that I also had to specify a virtualSize. I propose that, when virtualSize is not specified within the Korge() function, the Korge.Config dataclass, or the Module, it should default to the windowSize.

ByteAtATime avatar Aug 02 '22 02:08 ByteAtATime

Also, on a related note, I would like to help with documentation. Is there anywhere I could start?

ByteAtATime avatar Aug 02 '22 02:08 ByteAtATime

@PlanexDev You can contribute to the documentation here: https://github.com/korlibs/docs.korge.org

soywiz avatar Aug 02 '22 11:08 soywiz