JS++ Samples

  • JS++ Hello World

    Hello World

    Level: Beginner

    The traditional "Hello World" tutorial is the most basic program for learning a programming language.

    The JS++ "Hello World" program can be executed in both your web browser or your command-line interface.

    This sample comes with the JS++ download.

    Preview: Click here to preview in your web browser

    Source Code: Download (MD5: 5b1f31d50952d3009ec5c10a5caa4f69)

    Requires: JS++ >= 0.4.0

  • JS++ jQuery Animate

    jQuery Animation

    Level: Intermediate

    Demonstrates how JS++ can seamlessly be used with jQuery out of the box with just a few lines of code.

    This sample demonstrates usage of the jQuery Animation library and how we can use infinite recursion in JS++ to cause an object to forever bounce back and forth. In addition, this example shows how we can use typed JS++ code together with untyped JavaScript code (the jQuery library).

    This sample comes with the JS++ download.

    Preview: Click here to preview in your web browser

    Requires: JS++ >= 0.4.1

  • JS++ RPG

    JS++ Role-Playing Game (Archived)

    Level: Advanced

    An RPG (role-playing game) created with JS++. Please note that this was developed with a deprecated version of JS++ (0.014.2) and is made available for archival reasons only.

    This sample demonstrates modular and object-oriented development, special effects, graphics, user input, audio, JS++ development with HTML5, and more.

    An HTML5-compatible web browser is required to play the game.

    Levels were created using the Tiled  map editor.

    Preview: Click here to preview in your web browser

    Source Code: Download (MD5: 6ada75e546e40d5d233eff990a1e9b4e)

    Requires: JS++ >= 0.014.2 and < 0.4.0, HTML5-compatible web browser