Search Header Logo
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

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?