I don't know about Raspberry pi per se, but its pretty easy to compile the game for opengl2 if you download the godot engine. I did it for an old laptop.