![]() |
compiling QB64PE programs into Windows screensaver SCR files? - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: compiling QB64PE programs into Windows screensaver SCR files? (/showthread.php?tid=3609) Pages:
1
2
|
RE: compiling QB64PE programs into Windows screensaver SCR files? - eoredson - 04-16-2025 After renaming your .scr file don't forget to copy it to c:\windows\system32 or it won't show up in the screen saver list ![]() RE: compiling QB64PE programs into Windows screensaver SCR files? - SMcNeill - 04-16-2025 That's what INSTALL does for you. RE: compiling QB64PE programs into Windows screensaver SCR files? - madscijr - 04-17-2025 Thanks. I figured out the mouse problem... For a screensaver, we want it to quit if the user moves the mouse. However I was having a problem where it would quit immediately even if the mouse wasn't touched. What I found was, we need to save the initial mouse coordinates AFTER the SCREEN _NewImage. But also, we need to give it a couple seconds to initialize, so we put in a _Delay 2 for good measure. Here is one of @bplus's cooler eye candy proggies, with the mouse check added, it makes a great screensaver: Code: (Select All) ' Don't Attempt to Adjust Your Screen by bplus RE: compiling QB64PE programs into Windows screensaver SCR files? - SMcNeill - 04-17-2025 (04-17-2025, 06:01 PM)madscijr Wrote: What I found was, we need to save the initial mouse coordinates AFTER the SCREEN _NewImage. Go back and check my example for you: https://qb64phoenix.com/forum/showthread.php?tid=3609&pid=33538#pid33538 Screen _NewImage(320, 240, 32) _FullScreen _Delay .5 'give the screen time to initialize fully so we can associate mouse input with it and such RE: compiling QB64PE programs into Windows screensaver SCR files? - madscijr - 04-23-2025 Gotcha. I seem to remember _Delay .5 not being long enough but I can try it again. Thanks |