The following page was printed from RemoteCentral.com:
Before you continue!
This file area has been replaced with a newer one! As of 2011, this section is no longer being updated, and some files may show as unavailable. For free access to all of these downloads and many newer ones, visit our NEW file area at: http://files.remotecentral.com
You are currently browsing through the Philips Pronto Professional TSU9800, TSU9600, TSU9400, TSU9300, TSU9200 and Marantz RC9001 file area. To return to the beginning click here.
This version of Galaxy has exactly 4 pages and utilizes around 450 lines of JavaScript code to manage the game board. The approach I followed here was to create 2-dimensional arrays for board status (if you look @ Daniel's original pages, the names implied 2-dimensional status), a set of Button Widgets (for the Planets) and a set of Panel Widgets (for the black holes). The ProntoScript concepts exercised here are as follows:
Using a Panel named "_PS_DEBUG_" and a Debug Clear Button (See "Game" page script) to assist with debugging a script.
Example using visibility control and image assignment (Buttons have images with indices of 0 and 1) to display game board. Visibility is toggled between Buttons and Panes for a particular cell based on user selection.
Example of using a RESOURCES page to house common images that you then load into buttons/panels on the active page.
This version has all 3 backgrounds color-reduced to 64K colors. This change basically dropped the file size from 3MB down to just over 1MB with no real noticeable difference.
Last but not least, this configuration is an example of something that required 8 devices and many pages to develop prior to... (more)
Kaaamm! is an asteroids clone developed by André du Fresne for the Pronto. This version is a simple port of the game for the 9400, with the graphics moved and re-sized to fit the 9400. It is being published with André's permission.
Lots of good stuff for your 9400. Everything can be added into your own projects. The games included are TIC-TAC-TOE, Hangman and Chinese Checkers. Sliding Panels were made to add movement to the graphical interface. The Sliding Panels can be customized with your own graphics and actions. Draw is a way to draw on screen with your stylus. Animations can be added as transitions between activities. This was made with Pronto Edit Professional 2 and tested with firmware version 5.0.6. Enjoy.
v1.0.1 This should bring back memories. This new ProntoScript game outlines several useful features of scripting. The features specifically outlined are:
Object Oriented JavaScript using Prototypes.
Retrieving/Manipulating widgets using the Configuration File (CF) widget() function.
Toggling Firm Key label based on Game Status.
Illustrates one use of the Activity.scheduleAfter() method.
Includes transparent panel tagged with name '_PS_DEBUG' to facilitate debug/display of any error messages that might occur.
This game was adapted quicly from an HTML-Javascript based game. Port to ProntoScript was quite easy. The ProntoScript for this game is divided into 3 parts.
The Pong Game object and 'pong' variable in the Activity Script.
The Pong Game initialization code in the Page Script.
The Game Toggle functionality coded in Firm1 Button Script.
I've also included a custom Activity Icon (small) such that you can incorporate a button wherever you like. Enjoy!