From RogueBasin
Revision as of 23:13, 9 December 2016 by Lumez (talk | contribs) (Grammar updates, removal of needless profanity)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A platform is an operating system family or device line upon which a Roguelike may be designed to be played on.

Common platforms are:

  • Windows
  • Linux - Going to support lesser unices also if Open Source.
  • Mac OS
  • Mac OS X
  • DOS - More portable than you think, thanks to DosBOX, which runs on anything with support for SDL. However, DOS can be painful to develop for (djgpp compiler, no scripting, no nothing, poor implementation of random()).
  • Browser - Roguelikes running in a browser through either JavaScript, Flash or other runtimes.

Roguelikes are usually made to be quite portable. Either if they use Curses (Ncurses on all unices, PDCurses on Windows) or tiles (SDL is used, which is avaliable on almost every platform) or even 3D (OpenGL is available pretty much everywhere).

There's a new trend to develop for Java virtual machine. Using the JVM, your game will run on most platforms, but be warned: the experience isn't always first-class, and sometimes a user will need to install the JVM in order to play. Sometimes, specific Java libraries for drawing or sound are used, some of which require additional native libs, thus effectively defeating the cross-platform features of the JVM.

See also

Portability issues