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...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
South Africa
Thailand
Ukraine
Switzerland
Slovakia
Luxembourg
Hungary
Romania
Denmark
Ireland
Estonia
Belgium
Italy
Finland
Cyprus
Lithuania
Latvia
Malta
Netherlands
Portugal
Slovenia
Sweden
Argentina
Colombia
Ecuador
Indonesia
Mexico
New Zealand
Norway
South Korea
Taiwan
Turkey
Czechia
Austria
Greece
Isle of Man
Bulgaria
Japan
Philippines
Poland
Singapore
Egypt
Chile
Malaysia