01-09-2023, 11:47 AM
(01-09-2023, 09:42 AM)RokCoder Wrote:Quote:Well dang the screen is too big for my laptop. Code looks well organized and put together by veteran coder.
I see old fashioned way of CALLing Subs ( ).
Normal esc, top right X, and Alt+F4 would not quit opening screen because I couldn't even see let alone get to click "Play Game" as shown in screen shot.
Ouch! Not sure what I can do about that as the space is required for the larger puzzles. Is there a way to add OS scrollbars to app windows in QB64pe? Other than that I could make the front end into a smaller window and fire up into appropriate sized windows depending on the puzzle size. But scrollbars would be easier
Easiest solution for this type of problem is often to just add $RESIZE to your code, as illustrated below:
Code: (Select All)
Screen _NewImage(160, 140, 32)
$Resize:Stretch
Do
Cls
Print "Hello World"
_Limit 30
_Display
Loop Until _KeyDown(27)
Grab an edge of the program screen and drag to resize and watch what happens.