--%>

Choice of technology in coding of game

What are the choice of technologies while coding a game?

E

Expert

Verified

Choice of technology (programming language):

Most game code is written in the C++ language, with Web games written in Flash and Java. C++ requires years of programming experience to use effectively and has undesirable workflow properties. In particular, it takes minutes to see the effect of changes, which means that developers are constantly restarting the game and waiting for their compilers to complete.

Scripting languages are more lightweight. They provide features that make them easier to learn and often allow changes to code while the game is running. Certain kinds of programmer errors are hidden, which makes the languages seem more friendly, and the tools are generally easier to use. They mange some of the more complicate aspects of programming, such as memory management, for the programmer and often ensure that even when a bug is present, the game won't crash.

These properties makes scripting languages great for prototyping. A lot of game logic and AI is programmed in scripting languages, which means that most designers today have at least some familiarity with them.

Although empowering to the design and apparently easy and friendly, scripting languages have few long-term downsides compared to some fully featured languages like C++. The code executes slower. This problem is not always experienced at first, and its often months to about a year or even a bit more into a project when the coder/designer see progress slow down due to the nature of scripting languages. So, we conclude that using scripting languages is generally a good idea, but it is important to plan their use carefully.

These are the key features to look for when selecting a scripting language (roughly in order of importance)

1. Learning curve and syntax.
2. Available tools, such as debuggers and editors.
3. Thread management (Can scripts be interrupted? What happens when they crash?).
4. Built-in features, such as string processing and search algorithms.
5. Ease of integration with the host languages.
6. Memory usage and execution speed.

After some research found that JavaScript covers the most of those features which makes it the right choice and best option for our game project. JavaScript is a very popular web-development scripting language that makes the development experience comparable to that of a major language.

   Related Questions in Programming Languages

  • Q : Programming with C# QUESTION 1      

    QUESTION 1       The following UML diagram describes an abstract class Customer. This class is to be used as part of a Company's inventory system. The inventory system will contain many different types of customers.  A separate s

  • Q : What are Relational operators

    Relational operators: Operators, like <, >, <=, >=, == and!=, which produce a Boolean outcome, as portion of a Boolean expression.

  • Q : Explain Functional programming

    Functional programming: It is a style of programming related with languages like Haskell. The functional programming languages are more strongly tied to a mathematical concept of `function' than imperative programming languages. This makes it simpler

  • Q : Explain Look-and-feel Look-and-feel :

    Look-and-feel: The visual impression and interaction style given by a user interface. This is mainly the responsibility of the window manager (that is, in collaboration with the fundamental operating system) running on a specific computer. This refers

  • Q : Define several features of XQuery

    Define several features of XQuery?

  • Q : Define the term New operator Define the

    Define the term New operator: The operator employed to generate instances {instance} of a class.

  • Q : Define the term server-side XPointer

    Define the term server-side XPointer?

  • Q : Grade someone activities Normal 0 false

    Normal 0 false false

  • Q : Define the term Interprocess

    Define the term Interprocess communication: It is the ability of two or more separate processes to communicate with each other.

  • Q : Explain Static variable Static variable

    Static variable: It is a static variable defined within a class body. Such a variable fits in to the class as a whole, and is, thus, shared by all objects of the class. The class variable may be employed to define the default value of an instance vari