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