jjant / runty8

A Pico8 clone in Rust.
MIT License
227 stars 17 forks source link

Examples not running on Windows 11 #41

Open bickford-atherton-morrow opened 1 year ago

bickford-atherton-morrow commented 1 year ago

After cloning the repository I am getting an error when I try to run any of the examples.:

cargo run --bin moving-box -- --game ... Loading assets from: C:\Users\Charlie\code\r8\runty8\examples/moving-box Couldn't find file for asset: map, creating a blank one. Couldn't find file for asset: sprite flags, creating a blank one. Couldn't find file for asset: sprite_sheet, creating a blank one. Running editor... thread 'main' panicked at 'called Result::unwrap() on an Err value: NoAvailablePixelFormat', src\runty8-event-loop\src\lib.rs:127:18 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: process didn't exit successfully: target\debug\moving-box.exe --game (exit code: 101)

jjant commented 1 year ago

Hi there, thank you for the bug report. Unfortunately I don't have a Windows machine to try to reproduce this, but I'll keep you updated. In the meantime, perhaps you can get the browser version working? You can run ./build_script.sh celeste to get it running (though you need serve installed).

bickford-atherton-morrow commented 1 year ago

Sorry, looks like the problem was on my end. My laptop has both Intel and Nvidia graphics, and after updating the Intel drivers the error no longer occurs, which I'm guessing was related to the Intel OpenGL driver.

jjant commented 1 year ago

Interesting! I'm guessing that this will still be a problem for people with old drivers/GPUs in general.

I'll keep this open for a while to see if I get more reports.