Skip to main content

Game Programming Basics

  • Chapter
  • First Online:
Learning C# by Programming Games

Abstract

This chapter covers the basic aspects of programming games. We will introduce the game loop, which consists of two main parts: updating the world and drawing the world. We will show how this concept is defined by game engines and how it is used to create a simple game application. The game application is used to introduce a number of basic C# programming concepts, such as instructions, methods, classes, namespaces, and compilation units. We show that instructions are grouped in methods, and methods, in turn, are grouped in classes. We will show you can include libraries in your program that contain code written by others. We also discuss the basic rules of program layout and how to use comments to clarify your code.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer-Verlag GmbH Germany, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

van Toll, W., Egges, A., Fokker, J.D. (2019). Game Programming Basics. In: Learning C# by Programming Games. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-59252-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-59252-6_3

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-59251-9

  • Online ISBN: 978-3-662-59252-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics