Difference between revisions of "Platforms"

From RogueBasin
Jump to navigation Jump to search
(Reverted spam (back to last reversion if applicable))
 
(Grammar updates, removal of needless profanity)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
A platform is an operating system or device upon which a Roguelike may be designed to be played on.
A platform is an operating system family or device line upon which a Roguelike may be designed to be played on.


Common platforms are:
Common platforms are:
*Windows
* [[Windows]]
*Linux
* [[Linux]] - Going to support lesser [[UNIX|unices]] also if [[Open Source]].
*...
* [[Mac OS]]
* [[Mac OS X]]
* [[DOS]] - More portable than you think, thanks to [http://dosbox.org 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...]
Roguelikes are usually made to be quite portable. Either if they use [[Curses]] ([[Ncurses]] on all unices, [[PDCurses]] on Windows) or tiles ([http://libsdl.org SDL] is used, which is avaliable on almost every platform) or even 3D ([http://opengl.org 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.


{{stub}}
== See also ==
 
[[Portability issues]]
[[Category:Concepts]]

Latest revision as of 23:13, 9 December 2016

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