João Costa @JD557@blog.joaocosta.eu Follow

Portuguese software engineer at Kevel.

My instance is running on a small server so please #nobot

Web

https://www.joaocosta.eu/

GitHub

https://github.com/JD557

Twitter

https://twitter.com/JD557

Itch.io

https://jd557.itch.io

  • Notes
  • Articles 6
  • Followers 42
  • Following 59
João Costa's avatar
João Costa
@JD557@blog.joaocosta.eu

More #Scala on #PS2 updates.

This time I wrote an InterIm backend for AthenaEnv.

I also had to work a bit on InterIm's performance to get it to work, as I can't really use Doubles and my text layout algorithm was a bit inneficient. The frame rate still gets a bit choppy when there's a ton of text on screen, but it kind of works.

To test the whole thing, I ported my Quiz game example. This part was quite easy - just had to replace the HTTP calls with hard coded questions/answers and reimplement the RNG (I'm still not sure why scala.util.Random doesn't work... I suspect it's something related to Long math).

However, after testing this for so long on PCSX2, I was quite shocked on how bad things looked on real hardware. I know I'm using a crappy €20 HDMI converter instead of a propper upscaler, but god damn, the text is pretty much unreadable. 😬

Something to keep in mind in the future, I guess.

GitHub - JD557/interim: Immediate mode GUI in pure Scala GitHub
Screenshot of a quiz game running on PCSX2
Photo of a quiz game running on a real PS2
  • permalink
  • interact from your instance
  • 2 days ago
  • 1 like
Likes
@vascorsd@mastodon.social
Powered by microblog.pub 2.0.0+dev (source code) and the ActivityPub protocol. Admin.