You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialization and Window Creation:
You correctly initialize SDL and create a window and renderer.
Event Handling:
You handle SDL_QUIT to exit the loop.
You handle SDL_KEYDOWN to move the rectangle based on key presses.
You handle SDL_MOUSEMOTION to move the rectangle based on mouse movement.
Rendering:
You set the draw color and clear the renderer.
You draw the rectangle and present the renderer.
The text was updated successfully, but these errors were encountered:
You correctly initialize SDL and create a window and renderer.
You handle SDL_QUIT to exit the loop.
You handle SDL_KEYDOWN to move the rectangle based on key presses.
You handle SDL_MOUSEMOTION to move the rectangle based on mouse movement.
You set the draw color and clear the renderer.
You draw the rectangle and present the renderer.
The text was updated successfully, but these errors were encountered: