Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Game Development with Rust and WebAssembly - Learn how to run Rust on the web while building a game - cover

Game Development with Rust and WebAssembly - Learn how to run Rust on the web while building a game

Eric Smith

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

The Rust programming language has held the most-loved technology ranking on Stack Overflow for 6 years running, while JavaScript has been the most-used programming language for 9 years straight as it runs on every web browser. Now, thanks to WebAssembly (or Wasm), you can use the language you love on the platform that's everywhere.
This book is an easy-to-follow reference to help you develop your own games, teaching you all about game development and how to create an endless runner from scratch. You'll begin by drawing simple graphics in the browser window, and then learn how to move the main character across the screen. You'll also create a game loop, a renderer, and more, all written entirely in Rust. After getting simple shapes onto the screen, you'll scale the challenge by adding sprites, sounds, and user input. As you advance, you'll discover how to implement a procedurally generated world. Finally, you'll learn how to keep your Rust code clean and organized so you can continue to implement new features and deploy your app on the web.
By the end of this Rust programming book, you'll build a 2D game in Rust, deploy it to the web, and be confident enough to start building your own games.
Available since: 04/29/2022.
Print length: 476 pages.

Other books that might interest you

  • Fibromyalgia and Chronic Myofascial Pain - From Suffering To Liberation - cover

    Fibromyalgia and Chronic...

    Behnay Books

    • 0
    • 0
    • 0
    If you are suffering from Fibromyalgia and Chronic Myofascial Pain, this is a must for you. 
    If you are suffering from Fibromyalgia and Chronic Myofascial Pain, this book is a must-read for you. This offers a comprehensive guide to understanding and treating these conditions. It covers everything from diagnosis to treatment, including self-care tips and tools that can help ease your pain. This is essential reading for anyone struggling with Fibromyalgia or Chronic Myofascial Pain. 
    You will understand the causes of your pain and how to relieve it. 
    If you're experiencing pain, you may be wondering what's causing it and how to relieve it. In this book, we'll explore the causes of pain and the various ways to treat it. We'll also discuss some of the warning signs that you may be in danger of developing chronic pain. You may be struggling with chronic pain, but you don't know how to treat it. In this book, we'll help you understand the causes of chronic pain and the various ways to treat it. 
    This will help you live a better life without pain. 
    Do you ever feel like you're living in pain? Do you find yourself struggling to get through the day because of the constant ache and soreness? If so, then this is for you. It will teach you how to live a better life without the constant agony and discomfort that comes with chronic pain. From teaching you how to cope with stress and anxiety to setting realistic expectations for your body, this book has everything you need to lead a more comfortable and fulfilling life. So if you're tired of feeling like your body is always punishing you, pick up "Fibromyalgia and Chronic Myofascial Pain From Suffering To Liberation" and start living like there's no pain at all.
    Show book
  • Generation of Electrical Power - cover

    Generation of Electrical Power

    Dr. Hidaia Mahmood Alassoulii

    • 0
    • 0
    • 0
    This book includes my lecture notes for electrical power generation course. The layout, main components, and characteristics of common electrical power generation plants are described with application to various thermal power plants.The book is divided to different learning outcomesCLO 1- Describe the layout of common electrical power generation plants.CLO 2- Describe the main components and characteristics of thermal power plants.a)CLO1 Describe the layout of common electrical power generation plants.Explain the demand of base - power stations, intermediate - power stations, and peak- generation power stations.Describe the layout of thermal, hydropower, nuclear, solar and wind power generation plants.Identify the size, efficiency, availability and capital of generation for electrical power generation plants.Eexplain the main principle of operation of the transformer and the generator. b)CLO2: Describe the main components and characteristics of thermal power plants.Identify the structure and the main components of thermal power plants.Describe various types of boilers and combustion process.List types of turbines, explain the efficiency of turbines, impulse turbines, reaction turbines, operation and maintenance, and speed regulation, and describe turbo generator.Explain the condenser cooling - water loop.Discuss thermal power plants and the impact on the environment.
    Show book
  • Histories of Health in Southeast Asia - Perspectives on the Long Twentieth Century - cover

    Histories of Health in Southeast...

    Tim Harper, Sunil S. Amrith

    • 0
    • 0
    • 0
    Health patterns in Southeast Asia have changed profoundly over the past century. In that period, epidemic and chronic diseases, environmental transformations, and international health institutions have created new connections within the region and the increased interdependence of Southeast Asia with China and India. In this volume leading scholars provide a new approach to the history of health in Southeast Asia. Framed by a series of synoptic pieces on the "Landscapes of Health" in Southeast Asia in 1914, 1950, and 2014 the essays interweave local, national, and regional perspectives. They range from studies of long-term processes such as changing epidemics, mortality and aging, and environmental history to detailed accounts of particular episodes: the global cholera epidemic and the hajj, the influenza epidemic of 1918, WWII, and natural disasters. The writers also examine state policy on healthcare and the influence of organizations, from NGOs such as the China Medical Board and the Rockefeller Foundation to grassroots organizations in Thailand, Indonesia, and the Philippines.
    Show book
  • The Reality Frame - Relativity and our place in the universe - cover

    The Reality Frame - Relativity...

    Brian Clegg

    • 0
    • 0
    • 0
    Weaving together the great ideas of science, The Reality Frame takes us on a thrilling journey from empty space all the way to the human mind.
    
    Acclaimed science writer Brian Clegg builds up reality piece by piece, from space, to time, to matter, movement, the fundamental forces, life, and the massive transformation that life itself has wrought on the natural world. He reveals that underlying it all is not, as we might believe, a system of immovable absolutes, but the ever-shifting, amorphous world of relativity.
    
    From religion to philosophy, humanity has traditionally sought out absolutes to explain the world around us, but as science has developed, relativity has swept away many of these certainties, leaving only a handful of unchangeable essentials – such as absolute zero, nothingness, light – leading to better science and a new understanding of the essence of being human.
    
    This is an Ascent of Man for the 21st century, the gripping story of modern science that will fill you with wonder and give you a new insight into our place in the universe.
    Show book
  • Shutdown & Restart at the End of the Day! Let Go of the Anger of the Office with Intensive Deep Relaxation - cover

    Shutdown & Restart at the End of...

    Colin Griffiths-Brown, Torsten...

    • 0
    • 0
    • 0
    This is the end of the day! SyncSouls has produced 5 soothing deep relaxation units especially for the start into the evening, e.g. on your way home. With these audio sequences you quickly switch off from daily events, relax briefly and deeply and get a fresh head for the precious rest of your day - far away from office stress and job. Simply put on your headphones and let yourself be guided into a deep regenerating relaxation for about 10 minutes with the help of approved relaxation techniques. It's a quick and easy way to change your mind.  In this audio book you have 5 different methods at your disposal. There is certainly one that suits you best and makes it easier for you to restart at the end of the day.  The titles in the overview: 1. Breathing Exercise: release the stress with deep breathing - 7 minutes; 2. Mental Exercise: Now is the end of the day! Bale your fists, switch off, get out of trouble and stress with Progressive Muscle Relaxation - 14 minutes; 3. Positive Conditioning: What was beautiful that day - meditation for reflection and gratitude - 10 minutes; 4. 15 Minutes fantasy travel out into the forest - a wonderful walk to switch off with autogenic training; 5. 10 Times OM - countdown to the end of the day, the joy returns - 7 minutes;
    Show book
  • The Clockwork Universe - Isaac Newton the Royal Society & the Birth of the Modern World - cover

    The Clockwork Universe - Isaac...

    Edward Dolnick

    • 0
    • 0
    • 0
    New York Times–bestselling Author: An “entertainingly written” account of the scientific revolution that emerged amid the horrors of seventeenth-century London (Kirkus Reviews). 
     
    In the late seventeenth century, chaos and disease reigned. Streets overflowed with filth and the murder rate was five times higher than it is today. Sickness was divine punishment, astronomy and astrology were indistinguishable, and the world’s most brilliant, ambitious, and curious scientists were tormented by contradiction. They believed in angels, devils, and alchemy, yet also believed that the universe followed precise mathematical laws that were as intricate and perfectly regulated as the mechanisms of a great clock. 
     
    The Clockwork Universe captures these thinkers as they wrestled with nature’s most sweeping mysteries. Award-winning writer Edward Dolnick illuminates the fascinating personalities of Newton, Leibniz, Kepler, and others, and vividly animates their momentous struggle during an era when little was known and everything was new—battles of will, faith, and intellect that would change the course of history itself. 
     
    “Dolnick’s book is lively and the characters are vivid.” —The New York Times Book Review 
     
    “A free-for-all of ideas in a character-rich, historical narrative.” —The Wall Street Journal 
     
    “Dolnick writes clearly and unpretentiously about science, and writes equally well about the tumultuous historical context for these men’s groundbreaking discoveries: the English Civil War, the Thirty Years’ War, and in 1665 and 1666 respectively, the Black Plague and the Great Fire of London. Dolnick also offers penetrating portraits of the geniuses of the day, many of them idiosyncratic in the extreme, who offer fertile ground for entertaining writing.” —Publishers Weekly
    Show book