Hands-On WebAssembly for C++ Programmers - Drawing Our Game in WebAssembly

Hands-On WebAssembly for C++ Programmers - Drawing Our Game in WebAssembly

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers transitioning from JavaScript to C for graphics programming using SDL. It introduces SDL TTF for font handling and demonstrates how to draw graphics, including paddles, balls, and text, using SDL functions. The tutorial also explains compiling and running the game in WebAssembly, highlighting the differences in graphics rendering between JavaScript and SDL. The video concludes with a brief mention of future topics, such as keyboard and mouse inputs.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain how the frames per second calculation is handled in the SDL code.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the significance of freeing the surface at the end of the drawing function?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

In what ways can the graphics be improved beyond the basic SDL implementation discussed?

Evaluate responses using AI:

OFF