Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fairground Duck Shoot Simulation Game
#2
@Magdha well done, also good job on actually providing a manual, without which I could not have played.

TL;DR: I am on Debian Trixie and here is what I did to test your program:

  1. Download the zip
  2. Extract it as directed to the qb64pe install dir - which created DuckShoot
  3. Created a symbolic link to InForm library (I don't want to have multiple copies on disk so I used cd ~/git/qb64pe/DuckShoot && ln -s /home/grymmjack/git/InForm-PE/InForm /home/grymmjack/git/qb64pe/DuckShoot/InForm
  4. Compiled and ran

Everything worked great, except the font size (and this could be a display issue with KDE Plasma 6 and my display scaling which is set to 150%) and perhaps is scaling the fonts vs. what you expect as the programmer, and pressing Exit threw an error.

Otherwise worked great.

See screenshots.

[Image: Screenshot-20260112-075305.png]

[Image: Screenshot-20260112-075622.png]

@a740g I tried the following to test my theory (which works for GTK and QT apps but I think since the window isn't providing a class, it can't do these things properly).

QT_SCALE_FACTOR=1 GDK_DPI_SCALE=1 ./Duck\ Shoot

See screenshot for the window class missing - this is from right click on the title bar of the window and then more actions -> set application settings (like advanced properties)

After thinking about this, I think trying to use a QT or GDK env var to scale, was failing because InForm-PE doesn't use either framework (qt or GTK) which duh, of course it doesn't. But I wonder why the font geometry/etc. is different for my computer than the OPs.

[Image: Screenshot-20260112-080137.png]

If the window does not provide a class, any tips on scaling for InForm PE programs and Wayland? That's another important point, on Wayland, not X11.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


Messages In This Thread
Fairground Duck Shoot Simulation Game - by Magdha - 01-10-2026, 12:52 PM
RE: Fairground Duck Shoot Simulation Game - by grymmjack - 01-12-2026, 01:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gravitation Simulation Magdha 0 210 12-24-2025, 10:00 AM
Last Post: Magdha
  3D Sun-Earth-Moon Simulation Magdha 5 679 11-14-2025, 07:07 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)