Search results

Jump to: navigation, search
  • ...sick of making global variables and confusing data structures to hold your game info, this is your answer. ...e.com/file/d/0B61J-Dngz0Q9NUdwVTdnYVNhV0k/edit?usp=sharing persist.js demo game] (15.6 KB ZIP archive, requires Sphere) <!-- TODO: get this back -->
    8 KB (1,216 words) - 23:15, 3 June 2013
  • The tech demo is a self-contained Sphere game. It has three fonts it uses as an example: MS Mincho (Sphere conversion of ...though there is a 99.9999999% chance I will credit you for submitting the function. Any ideas submitted with regards to NTML will be credited as such, though
    7 KB (1,214 words) - 23:56, 7 June 2013
  • Including json2.js in your game will provide a global "JSON" object with two static methods. ...k into a JavaScript object. The optional <var>reviver</var> parameter is a function that can transform, replace or remove each key-value pair as it is encounte
    3 KB (394 words) - 22:29, 24 June 2013
  • function Combatant(name) { Combatant.prototype.clone = function() {
    5 KB (744 words) - 00:44, 8 June 2013
  • ...rchive]). <var>flik_menu.js</var> is what you need, so copy that into your game's scripts/ directory. MyMenu.addText("New Game", New_Game);
    13 KB (1,899 words) - 22:29, 24 June 2013
  • ...engine and its tools. Then it will walk you through creating a tiny little game from scratch. ...the above, miniSphere also supports file formats Specicially made for the game engine.
    10 KB (1,627 words) - 03:48, 28 October 2017
  • [[Game]] in Sphere can refer to the following: ...[API:Game|Sphere Game object]], which holds info about an installed Sphere game.
    718 bytes (115 words) - 02:01, 8 June 2013
  • [[game.sgm]] is a configuration file placed in the root directory of a Sphere proj : The first script file to load when searching for the [[game (function)|game function]] to run
    1 KB (238 words) - 02:34, 8 June 2013
  • ...but this shouldn't be too hard, just things like <code>if</code> and <code>function</code>. ...lets you type less. Less typing = less errors = faster completion of your game. It grows easier too.
    9 KB (1,288 words) - 01:09, 14 June 2013
  • ...r calculate a value. A ''subroutine'' does not return a value, whereas a ''function'' does (see the following example). function AddTwoNumbers (argument1, argument2) { //function
    16 KB (2,323 words) - 01:06, 14 June 2013
  • function game()
    1 KB (156 words) - 22:46, 24 June 2013
  • function game()
    1 KB (132 words) - 23:25, 24 June 2013
  • ...f this function is to make/take a completely white font, and use colors in-game to control the color of the font. * This function uses the filtering/shaping method of [[color masking]].
    2 KB (217 words) - 23:32, 24 June 2013
  • ...example will show the text using the font {{path|myfont.rfn}}, inside the game's {{dir|fonts}} subdirectory (the font file must exist first): ** {{dir|~/}} to load from the game's base directory. This allows for better organisation.
    1 KB (173 words) - 00:22, 25 June 2013
  • ...s to provide a checklist and resources for developing a JavaScript-powered game engine that is compatible with [[API:Functions|Sphere's JavaScript API]]. * Game Libraries
    9 KB (1,462 words) - 09:13, 27 July 2014
  • <syntaxhighlight>function Menu() <syntaxhighlight>Menu.prototype.addItem = function(name, description, callback, color)
    8 KB (1,128 words) - 17:21, 1 August 2017
  • One of the most common elements of any game, RPG or otherwise, is a menu system. Menus are very flexible in purpose and ...tinue a game already in progress, or to configure options specific to that game.
    17 KB (2,871 words) - 23:01, 9 August 2013
  • *** '''escape_function''' - a function to be called when the escape key is pressed. ...ry to the menu. The string 'name' specifies the menu text, 'callback' is a function to be called when the item is selected and 'color' is a [[API:Color|color o
    4 KB (555 words) - 20:22, 2 August 2013
  • The TurboSphere game engine is composed of the engine binary (turbosphere or turbosphere.exe), s The engine contains functionality to parse command line parameters to open a game folder, sgm, or tsgm file, the functionality to enumerate, load, and close
    8 KB (1,193 words) - 11:46, 8 September 2013
  • * 2nd the game() function For example, player statistics will have its own function and set of arrays that associate with it.
    26 KB (4,103 words) - 05:32, 19 February 2014

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)