Tuesday 22 May 2012

Embedded Languages and Programming Code

Action Script Written in Adobe Flash

What are embedded languages?

These are programming languages which are designed to be used and developed through another program, such as the use of Action Script within adobe flash, where the language is developed and designed through the program itself and not externally within notepad or scripting software. Scripts can be directly designed and implemented into the software to do certain task or operations such as moving objects, allowing you to control certain objects or starting and stopping flash movies. Action Script is used to develop certain aspects of animation with adobe flash, this could be the creation of a flash movie or a flash game where the user has the ability to move or instruct a character or object on screen using action script. This way of using embedded languages is popular to create very simple games, however very popular to download and play. These games include, tic tac toe, connect 4, the helicopter game & defend the castle where the allow the user to have simple control over playing the game.

Along with the use of action script to design and develop games JavaScript is another language which is used to create games and develop them further, however this type of script is normally implemented into web pages and with HTML files. JavaScript uses HTML5 to create games or applications to run within a internet browser, the code is commonly designed and implemented through a website design & development program such as dream weaver where the code is added in with the web-page code. The JavaScript is then implemented on top of the website HTML code so when the page is loaded the JavaScript is loaded alongside it and works in correlation with it.

These are the two embedded languages most commonly used today to create games within software and to create games within a web browser to be played when the page loads up. Both of these can be run by any internet browser and for the action script as long as the person has flash player they will be able to open the games. Several hundreds of games have been created and hosted worldwide for people to play, allowing the use of both single player & multi player games to run within these languages.