Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Family File Area
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 
 

Previous Level

Galaxy 96 (ProntoScript Edition)
Games
Added by Lyndel McGee | 2007
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:
  1. Using a Panel named "_PS_DEBUG_" and a Debug Clear Button (See "Game" page script) to assist with debugging a script.
  2. 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.
  3. Example of using a RESOURCES page to house common images that you then load into buttons/panels on the active page.
  4. 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.
  5. Last but not least, this configuration is an example of something that required 8 devices and many pages to develop prior to ProntoScript. The addition of Javascript to the 9600 platform has opened the door for more robust solutions with less complexity.
As was done in Pronto Pong, I've also provided a 63x76 button that you may use on a Home Page to access the game. Enjoy!

Download attachments:
1.
July 22, 2007
1.30mb, 147 downloads
File RatingLogin to have your say!


Error If you'd like to add a comment...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.


Hosting Services by ipHouse