Search results

Jump to: navigation, search
  • == Articles documenting Sphere functions == ...the name of the Sphere object to which the function is attached; must be a Sphere-specific object such as Color, Font, Image, Animation, etc; if the function
    2 KB (409 words) - 18:33, 20 June 2017
  • ...m too, like the player, a spaceship, a sword, shield, an enemy, and so on. Sphere makes games. this.hitPoints = this.hitPoints - amount * 2;
    9 KB (1,288 words) - 01:09, 14 June 2013
  • var x = GetScreenWidth() - Math.floor(width / 2); var y = GetScreenHeight() - Math.floor(height / 2);
    1 KB (156 words) - 22:46, 24 June 2013
  • ...g a JavaScript-powered game engine that is compatible with [[API:Functions|Sphere's JavaScript API]]. ...and Linux versions of vanilla Sphere. The recent Mac OS X port of vanilla Sphere used SDL to handle all input and output while still using an older version
    9 KB (1,462 words) - 09:13, 27 July 2014
  • So, you've seen the menu.js in the sphere code bank, and you've used it but don't like it? What do you do? You make y ...sics of OOP. Our menu object will look like this, which is very similar to Sphere menu.js:
    8 KB (1,128 words) - 17:21, 1 August 2017
  • ...battle systems. It is preferred you have some experience in other areas of sphere and a fair amount in learning the API before you dive off into this tutoria * Good Grasp on Sphere [http://wiki.spheredev.org/DaVince_scripting_tutorial]
    26 KB (4,103 words) - 05:32, 19 February 2014
  • ...know how to integrate existing systems into your game, and understand how Sphere's SetUpdateScript works. == Step 2: movement ==
    10 KB (1,429 words) - 10:56, 4 March 2014
  • ...le-update-script problem. This is a very early and common problem with new Sphere users. Say you have a tile movement update script that runs in a SetUpdateS == Method 2 (Beginner): the function ==
    4 KB (520 words) - 06:23, 4 March 2014
  • ...he API namespace has been repurposed to give information on the new Sphere 2 API. See [[API:Functions]]. We could use a hand or two to start creating ne ...uments the legacy Sphere v1 API. Changes will be coming to add more Sphere 2-based content, which is relevant to the much more modern miniSphere engine.
    1 KB (213 words) - 17:12, 1 August 2017
  • [[Category:Sphere 2 API]]
    1 KB (221 words) - 18:37, 18 August 2017
  • Sphere uses the CommonJS standard for dependency management. In CommonJS, each scr import { from, Delegate, Music, Scene } from 'sphere-runtime';
    1 KB (169 words) - 20:41, 20 June 2017
  • Sphere uses the CommonJS standard for dependency management. In CommonJS, each scr [[Category:Sphere 2 API]][[Category:Sphere 2 native functions]]
    993 bytes (152 words) - 10:26, 19 June 2017
  • ...iSphere, it is generally recommended to use the new [[API:Functions|Sphere 2 API]]. ...PI functions, but please be aware that Sphere 2 objects are different from Sphere 1 objects, so they cannot be used interchangeably.
    700 bytes (105 words) - 15:08, 4 August 2017
  • .... Unlike <tt>Math.random()</tt> which uses a very basic linear generator, Sphere uses the ''xoroshiro128+'' algorithm, providing games with a very high-qual [[Category:Sphere 2 API]]
    1 KB (144 words) - 04:08, 12 August 2017
  • let items = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] [[Category:Sphere 2 API]]
    1 KB (194 words) - 03:53, 10 August 2017
  • ...nce of numbers will be generated again after the reload. This is also why Sphere allows you to construct multiple <tt>RNG</tt> instances: by having separate [[Category:Sphere 2 API]]
    2 KB (288 words) - 15:31, 9 August 2017
  • [[Category:Sphere 2 API]]
    2 KB (213 words) - 03:26, 14 August 2017
  • [[Category:Sphere 2 API]]
    2 KB (241 words) - 16:32, 17 August 2017
  • ...lready includes a SphereFS prefix such as <tt>@/</tt> or <tt>~/</tt>, then Sphere simply canonicalizes it (by removing any relative components); otherwise th [[Category:Sphere 2 API]]
    1 KB (220 words) - 03:22, 21 August 2017
  • '''SphereFS''' is a standardized system used by Sphere for unambiguously specifying pathnames of files and directories within the ...el from a prefix, e.g. '''@/../../maggie.fat'''. Passing such a path to a Sphere API function expecting a file or directory name will cause an exception.
    3 KB (420 words) - 18:48, 30 October 2017

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