This video explains how to add obstacles to an Ebitengine game and how to apply a vertical flip transformation when drawing images onto the screen.
https://trevors-tutorials.com/0005-adding-obstacles-to-your-ebitengine-game/
https://ebitengine.org
0:00 Intro and Table of Contents 0:19 Chopstick Obstacle 0:28 Draw Vertically Flipped Images 1:01 Randomize Placement 1:16 Handle Collisions 1:53 Code Walkthrough