actions games learning objectives writing games! understanding the built-in 2D game engine events in games using art (pictures, sounds) language recap local variables: store…