LÖVE is a pretty cool engine, I made the base of a platformer in it using my own code for (square) collision and movement
and faster, and has a way better array system (in lua arrays are called tables and are a bajillion times better than python’s arrays)
lua is pretty good. the playdate sdk can use it, and you can use LÖVE with it.