Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues that I found with macroquad (not related to project itself but I don't want to lost them and should fix them or report them) #1

Open
birhburh opened this issue Dec 16, 2023 · 0 comments

Comments

@birhburh
Copy link
Owner

birhburh commented Dec 16, 2023

macroquad

  • in ubuntu on my macbook fps starts to throttle after 2 minutes
  • when window looses focus is_key_pressed not released (found same issue is_key_down keep being true when window gets unfocused not-fl3/macroquad#547)
  • is_key_pressed with letters doesn't work (for me it is is_key_pressed(KeyCode::D))
    • this can be implemented using get_char_pressed:
    if let Some(c) = get_char_pressed() {
          if c.to_ascii_uppercase() == 'D' {
              debug_mode = !debug_mode;
          }
    }
    
  • functions to draw semicircles, circle segments or even bezier curves
  • code to process swipes and pinches and all weird stuff for android
  • some kind of joystik plugin for macroquad (current raw implementation is here)
  • touch doesn't work on phone in wasm build

macroquad-tiled

  • rotated/fliped tiles not implemented
  • groups not implemented
  • tiles method doesn't return last tile

cargo-quad-apk

  • custom MainActivity.java or conditional compilation based on sdk version
  • custom path to all commands needed for build
    mainly for termux usage, but for installation without docker also

specs

uname -srvmpio
Linux 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

#CPU
cat /proc/cpuinfo | grep "model name" | head -1
model name	: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz

# GPU
sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Crystal Well Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 08
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=2880,1800
       resources: irq:36 memory:a0000000-a03fffff memory:90000000-9fffffff ioport:3000(size=64) memory:c0000-dffff

echo "$XDG_SESSION_TYPE"
x11

# libGL and libEGL are installed, but my project uses default config (GLXWithEGLFallback)
/sbin/ldconfig -p | grep -w "libGL"
	libGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGL.so.1
	libGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGL.so
/sbin/ldconfig -p | grep -w "libEGL"
	libEGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so.1
	libEGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant