[:en]CODEAVENGERS Game Sample[:zh]JavaScript[:ja]JavaScript[:]

[:en]

JavaScript is the programming language of HTML and the Web. Despite some naming, syntactic, and standard library similarities, JavaScript and Java are otherwise unrelated and have very different semantics. The syntax of JavaScript is actually derived from C, while the semantics and design are influenced by the Self and Scheme programming languages.[9]

JavaScript was originally developed in 10 days in May 1995 by Brendan Eich, while he was working for Netscape Communications Corporation. Indeed, while competing with Microsoft for user adoption of web technologies and platforms, Netscape considered their client-server offering a distributed OS with a portable version of Sun Microsystems‘ Java providing an environment in which applets could be run.[citation needed] Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft’s Visual Basic (see JavaScript and Java).[10]

JavaScript is one of the 3 languages all web developers must learn:

  1. HTML to define the content of web pages.
  2. CSS to specify the layout of web pages.
  3. JavaScript to program the behaviour of web pages.

If you are beginners and want to learning HTML, CCS JavaScript, Python, then Codeavengers.com is ideal online learning platform for you. It provides a fun and interactive learning environment for all age groups. It’s also a great place for intermediate programmer. The team is based in New Zealand and the creator is Michael Walmsley.

 

After building apps with HTML, CSS and JavaScript, you can use a free tool called phonegap to convert them to phone apps for all devices.

Game Demo

new Game.GoodItem(200, 250)
new Game.GoodItem(350, 350)
new Game.GoodItem(50, 350)

new Game.BadItem(350, 150)
new Game.BadItem(50, 150)
new Game.BadItem(200, 450)

new Game.Enemy(50, 550, '/image/game/player10.png')
new Game.Enemy(350, 550, '/image/game/player8.png')

new Game.Obstacle(200, 300)
new Game.Obstacle(50, 300)
new Game.Obstacle(350, 300)

new Game.Scoreboard()

new Game.BackgroundImage('/image/game/tile/5.png')

function player1() {
  var player = new Game.Player(50, 0, '/image/game/player1.png', 'w', 'a', 's', 'd');
  player.onKilled = player1;
    
  var gun = new Game.Gun();
  gun.setPositions([new Point(10, 30)]);
  player.gun = gun;
  player.fireKey ='f';
}

function player2() {
  var player = new Game.Player(350, 0, '/image/game/player2.png', 'i', 'j', 'k', 'l');
  player.onKilled = player2;
  
  var gun2 = new Game.Gun();
  gun2.setPositions([new Point(10, 30)]);
  player.gun = gun2;
  player.fireKey ='h'; 
}

player1();
player2();


References:

en.wikipedia.org

w3schools.com

codeavengers.com

 

 [:zh]JavaScript is the programming language of HTML and the Web. Despite some naming, syntactic, and standard library similarities, JavaScript and Java are otherwise unrelated and have very different semantics. The syntax of JavaScript is actually derived from C, while the semantics and design are influenced by the Self and Scheme programming languages.[9]

JavaScript was originally developed in 10 days in May 1995 by Brendan Eich, while he was working for Netscape Communications Corporation. Indeed, while competing with Microsoft for user adoption of web technologies and platforms, Netscape considered their client-server offering a distributed OS with a portable version of Sun Microsystems‘ Java providing an environment in which applets could be run.[citation needed] Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft’s Visual Basic (see JavaScript and Java).[10]

JavaScript is one of the 3 languages all web developers must learn:

  1. HTML to define the content of web pages.
  2. CSS to specify the layout of web pages.
  3. JavaScript to program the behaviour of web pages.

If you are beginners and want to learning HTML, CCS JavaScript, Python, then Codeavengers.com is ideal online learning platform for you. It provides a fun and interactive learning environment for all age groups. It’s also a great place for intermediate programmer.

<iframe width=”853″ height=”480″ src=”https://www.youtube.com/embed/Tc9iB89vJuw?rel=0″ frameborder=”0″ allowfullscreen></iframe>

 

References:

en.wikipedia.org

w3schools.com

 [:ja]JavaScript is the programming language of HTML and the Web. Despite some naming, syntactic, and standard library similarities, JavaScript and Java are otherwise unrelated and have very different semantics. The syntax of JavaScript is actually derived from C, while the semantics and design are influenced by the Self and Scheme programming languages.[9]

JavaScript was originally developed in 10 days in May 1995 by Brendan Eich, while he was working for Netscape Communications Corporation. Indeed, while competing with Microsoft for user adoption of web technologies and platforms, Netscape considered their client-server offering a distributed OS with a portable version of Sun Microsystems‘ Java providing an environment in which applets could be run.[citation needed] Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft’s Visual Basic (see JavaScript and Java).[10]

JavaScript is one of the 3 languages all web developers must learn:

  1. HTML to define the content of web pages.
  2. CSS to specify the layout of web pages.
  3. JavaScript to program the behaviour of web pages.

If you are beginners and want to learning HTML, CCS JavaScript, Python, then Codeavengers.com is ideal online learning platform for you. It provides a fun and interactive learning environment for all age groups. It’s also a great place for intermediate programmer.

<iframe width=”853″ height=”480″ src=”https://www.youtube.com/embed/Tc9iB89vJuw?rel=0″ frameborder=”0″ allowfullscreen></iframe>References:

en.wikipedia.org

w3schools.com

 [:]

Print Friendly, PDF & Email
Scroll to Top