@sara I'm not familiar enough with game engines to know but there are some game engines like love2d (which is based on Lua) essentially you're limited to either game engines retropie supports or engines that convert games to portable code like c++ which can be compiled on most platforms.
Pygame is one that is particularly suited to the pi.