AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
254 stars 62 forks source link

[X11] Is it possible to upscale the screen without slowing down framerate? #60

Open frank-deng opened 5 years ago

frank-deng commented 5 years ago

It seems that NP2's window looks a little small on my laptop with 1366x768 resolution when window resolution is 640x400, and it seems that things will get worse on a 1920x1080 monitor with the text indistinguishable. When I tried other resolutions like 1280x800 from Screen->Size, the framerate drops dramatically with the background music slows down as well.

AZO234 commented 5 years ago

(XNP2's main window is not able to resize. And fullscreen option is not work correctly. I'll try to fix them.)

I should to use SDL graphics buffer. I hope SDL works with effective hardware acceleration.

frank-deng commented 5 years ago

Maybe OpenGL could be used to achieve it. It seems that DOSBox uses it for scaling the screen without slowing down framerate.

AZO234 commented 5 years ago

Thank you for the information.

Although SDL has more versatility, OpenGL seems to be useful because it is fast. I can not get it right away, but I will refer this info.