Hands-On Game Development with WebAssembly
Withinthenextfewyears,WebAssemblywillchangethewebasweknowit.Itpromisesaworldwhereyoucanwriteanapplicationforthewebinanylanguage,andcompileitfornativeplatformsaswellastheweb.ThisbookisdesignedtointroducewebdevelopersandgamedeveloperstotheworldofWebAssemblybywalkingthroughthedevelopmentofaretroarcadegame.YouwilllearnhowtobuildaWebAssemblyapplicationusingC++,Emscripten,JavaScript,WebGL,SDL,andHTML5.Thisbookcoversalotofgroundinbothgamedevelopmentandwebapplicationdevelopment.WhencreatingagameorapplicationthattargetsWebAssembly,developersneedtolearnaplethoraofskillsandtools.Thisbookisasampleplatterofthosetoolsandskills.ItcoverstopicsincludingEmscripten,C/C++,WebGL,OpenGL,JavaScript,HTML5,andCSS.Thereaderwillalsolearnbasictechniquesforgamedevelopment,including2Dspriteanimation,particlesystems,2Dcameradesign,soundeffects,2Dgamephysics,userinterfacedesign,shaders,debugging,andoptimization.Bytheendofthebook,youwillbeabletocreatesimplewebgamesandwebapplicationstargetingWebAssembly.
·12.6萬字