hajimehoshi/ebiten ? reverse-engineered prompt
Reverse engineered prompt
Build me a dead simple 2D game engine in Go that makes it easy to create small games without a lot of setup.
I want to be able to draw images and shapes, move and scale things around, change colors, render text, and use basic effects like layering and shaders when needed. It should handle keyboard, mouse, gamepad, and touch input, plus play common audio files like WAV, MP3, and Ogg. Please make it feel simple to use, with a clean way to set up a game loop and update and draw frames.
If it makes sense, include a few small examples so I can see how to make something like a moving sprite, a clickable button, and a simple sound effect. Keep it cross platform too, so it can run on desktop, web, and mobile where possible. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit