Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Got it. Some graphics shenanigans, game can't identify which of your monitors is primary and crashes.

I only have one monitor though...

Interesting. Have to make my code robust anyway...

The panic message looks to me as if you have a hard-coded path to your home directory in it... 

/home/boneyan/Desktop/teplo/teplo/src/render.rs

Could that have something to do with it?

I don't think so. The game is compiled, so it shouldn't use any external code. My home directory is in debug info because I specified engine dependency of the game locally, will specify it via git repository next time.

I think my monitor getting function just doesn't work on your linux distribution/or your setup

I use Arch, btw ;) With Wayland/Hyprland

I've uploaded fixed version (with "_fixed" suffix), can you try to launch it?

New error a few lines further down

> ./keyboard_chicken
thread 'main' panicked at /home/boneyan/Desktop/teplo/teplo/src/render.rs:294:56:
failed to create Display: GlutinCreationError(NoAvailablePixelFormat)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: queue 0x55efbe80ba90 destroyed while proxies still attached:
  xdg_wm_base#19 still attached
  wl_output#13 still attached
  xdg_activation_v1#12 still attached
  zwp_pointer_constraints_v1#11 still attached
  zwp_text_input_manager_v3#10 still attached
  zxdg_decoration_manager_v1#9 still attached
  zwp_relative_pointer_manager_v1#8 still attached
  wl_shm#7 still attached
  wl_subcompositor#6 still attached
  wl_compositor#5 still attached
  wl_seat#4 still attached
  wl_registry#2 still attached

I am glad it is able to found your monitor. But it is not able to found fitting pixel format for my humble requirements (double buffer, 24 bit depth buffer and no vsync). I guess I need to fine tune video setting for that particular distribution, which is not handy at all. Typical Linux stuff

I have tried to run the windows version with proton. It works just fine and I think all the effort was worth it. I really like your game.

I tried the fixed version just now. It's still panicking. Same error