(PUDG) Programming Languages and Concepts Lesson

Programming Languages and Concepts

Professional game programmers require skills in areas such as simulation, computer graphics, artificial intelligence, physics, and audio programming. For massively multiplayer online games, additional areas, such as network programming and database programming may be required. The average development budget for a multiplayer game is in the millions of dollars and includes a development team of 40 or more people. To be a professional game programmer, you need to learn a few programming languages.

These are some of the popular programming languages for creating games and apps.

  • Java
  • Javascript
  • C, C++, C#
  • Python
  • Objective C
  • Visual Basic

You will need to learn the basic programming concepts used by all programming languages.  

Basic Programming Concepts and Constructs

Object Oriented Programming Concepts: Object oriented programming (OOP) is an approach to software development that focus on objects and their attributes and behaviors. CrabWorld World: World (World classes)

Variables: A variable stores information. Programming languages have a set of rules and conventions for how to create and use variables. private
int
moveAmount=5;

Control Structures: Control flow statements break up the flow of the program by using decision making, looping, and branching to execute particular blocks of code.
if (Greenfoot.iskeyDown("left"))
turn(-3):
if (Greenfoot.iskeyDown("right"))
turn(3):

Data Structures: A data structure is a particular way of organizing data in a computer so the information can be searched and sorted efficiently.

List[0]= 0;
List[1] = 0; List[2] = 0;
List[3] = 0;
List[4] = 0;

Syntax: Syntax is the set of rules that govern the structure of the programming language and what characters are allowed.
System.out.print("yes");

API - Application Programming Interface
An API specifies how to program in the application.
Java™ Platform, Standard E API Specification

 

[CC BY 4.0] UNLESS OTHERWISE NOTED | IMAGES: LICENSED AND USED ACCORDING TO TERMS OF SUBSCRIPTION