A user interface (UI) defines the interaction between a computer program and the user. In our game, our interaction so far has been limited to a keyboard interface that controls our player's spaceship. When we wrote our particle system configuration apps, we used HTML to define a more robust user interface, which allowed us to input values to configure our particle system. From that user interface, our code had to interact with the WebAssembly code indirectly. That is a technique you could continue to use for games if you wanted to leverage HTML to define your user interface, but it has a few disadvantages. First of all, we may want user interface elements that overlay the content of our game. Going through the DOM for this kind of effect is not very efficient. It is also easier to have interactions between our UI and objects from within the game if the...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand