Difference between revisions of "Articles"

From RogueBasin
Jump to navigation Jump to search
m (→‎AI: adding a page on denizen herding)
(→‎Programming languages: Changed to generic BASIC.)
(40 intermediate revisions by 28 users not shown)
Line 9: Line 9:
* [[Motivation]]
* [[Motivation]]
* [[Open Source]]
* [[Open Source]]
* [http://alun.myftp.org/Appz/DynamicWorldDesign.xps Dynamic World Design (XPS doc)]


=== Fundamentals ===
=== Fundamentals ===
Line 66: Line 67:
* [[RL Terrain]]
* [[RL Terrain]]
* [http://roguelikedeveloper.blogspot.com/2007/11/unangband-dungeon-generation-part-one.html Unangband Dungeon Generation]
* [http://roguelikedeveloper.blogspot.com/2007/11/unangband-dungeon-generation-part-one.html Unangband Dungeon Generation]
* [[Brogue]] [https://www.rockpapershotgun.com/2015/07/28/how-do-roguelikes-generate-levels/ dungeon terrain] and [http://brogue.wikia.com/wiki/Level_Generation level] generation
* [[Basic BSP Dungeon generation]]
* [[Basic BSP Dungeon generation]]
* [[Basic directional dungeon generation]]
* [[Basic directional dungeon generation]]
* [[Template Dungeon themeing/generation]]


===Combat===
===Combat===
Line 89: Line 92:
* [[Icons in Roguelikes]]
* [[Icons in Roguelikes]]
* [[Roguelike Interface]]
* [[Roguelike Interface]]
* [[Cogmind]]'s article about [http://www.gridsagegames.com/blog/2015/10/morgue-files/ morgue files]


===Game ideas===
===Game ideas===
Line 108: Line 112:


==Implementation==
==Implementation==
* [[Ssh server]]
 
* [[Complete Roguelike Tutorial, using python+libtcod]]
* [[Complete Roguelike Tutorial, using python+libtcod]]
* [[Roguelike Tutorial, using Lua+libtcod]]
* [https://programmingbymoonlight.com/roguelike-intro/ New Roguelike Tutorial, using Lua+Gideros Mobile]
* [http://www.kathekonta.com/rlguide/index.html Beginner's Guide to Roguelikes] - a C/C++ focused tutorial for new programmers.
* [[rot.js tutorial|Ananas aus Caracas: rot.js tutorial]]
* [[Code design basics]]
* [[Portability Issues]]
* [[Things which are hard to code]]
* [[Language in Roguelikes]]
* [[Language in Roguelikes]]
* [[Things which are hard to code]]
* [[Portability Issues]]
* [[Code design basics]]
* [[Save Files]]
* [[Save Files]]
* [http://forum.basicprogramming.org/index.php/topic,1542.msg9692.html#msg9692 FreeBasic: Let's Build a Roguelike]: Rick Clark's excellent step-by-step tutorial covering the implementation of a roguelike game. [[FreeBasic]] is the programming language used in the tutorial, but the general principles are the same for other languages. As of April 7, 2011, the tutorial is complete.
* [[Ssh server]]
* [[New Roguelike Tutorial, using Lua+libtcod]]


=== Programming languages ===
=== Programming languages ===
RogueBasin has articles about these languages. That doesn't mean that you can't use other languages. The best language for your roguelike is the one you know well (or want to learn).
RogueBasin has articles about these [[Programming Language|programming languages]]. That doesn’t mean that you can’t use other languages. The best language for your roguelike is the one you know well (or want to learn).
 
* [[BASIC]]
* [[C]]
* [[C]]
* [[C_Sharp|C#]]
* [[C_Sharp|C#]]
* [[Common Lisp]]
* [[Cpp|C++]]
* [[Cpp|C++]]
* [[D]]
* [[D]]
* [[Bcx Basic]]  
* [[Fortran]]
* [[FreeBasic]]
* [[FreeBasic]]
* [[FreePascal]]
* [[FreePascal]]
* [[Haskell]]
* [[JavaScript]]
* [[Java]]
* [[Java]]
* [[Lua]]
* [[Python]]
* [[Python]]
* [[Ruby]]
* [[Ruby]]
* [[Common Lisp]]
* [[Javascript]]
* [[Haskell]]


=== Portability ===
=== Portability ===
Line 147: Line 157:
* [[Info Files]]
* [[Info Files]]
* [[Info File Variant - Compile-to-Code]]
* [[Info File Variant - Compile-to-Code]]
* [[Lua makes info files obsolete]]
* [[Entity Component System]]
* [[Rule and Event Systems]]


=== Map ===
=== Map ===
Line 159: Line 172:
* [[Diffusion-limited aggregation]]
* [[Diffusion-limited aggregation]]
* [[Dungeon builder written in Python]]
* [[Dungeon builder written in Python]]
* [[A Simple Dungeon Generator for Python 2 or 3]]
* [[Dungeon-Building Algorithm]]
* [[Dungeon-Building Algorithm]]
* [[Grid Based Dungeon Generator]]
* [[Grid Based Dungeon Generator]]
Line 164: Line 178:
* [http://www.evilscience.co.uk/?p=53 Island and labyrinth map generating algorithm]
* [http://www.evilscience.co.uk/?p=53 Island and labyrinth map generating algorithm]
* [http://www.astrolog.org/labyrnth/algrithm.htm Maze Algorithms]
* [http://www.astrolog.org/labyrnth/algrithm.htm Maze Algorithms]
* [http://frogasaurus.wordpress.com PHP dungeon generator using tile masks]
* [[Simple maze]]
* [[Simple maze]]
* [http://roguelikedeveloper.blogspot.com/2007/07/wilderness-generation-using-voronoi.html Wilderness generation using Vornoi diagrams]
* [http://roguelikedeveloper.blogspot.com/2007/07/wilderness-generation-using-voronoi.html Wilderness generation using Vornoi diagrams]
* [[Complete Roguelike Tutorial, using python+libtcod, part 2#The Map|A Python map structure]] and [[Complete Roguelike Tutorial, using python+libtcod, part 3|a simple dungeon generator]], part of the python+libtcod tutorial.
* [[Complete Roguelike Tutorial, using python+libtcod, part 2#The Map|A Python map structure]] and [[Complete Roguelike Tutorial, using python+libtcod, part 3|a simple dungeon generator]], part of the python+libtcod tutorial.
* [[Winding ways]]
* [[Winding ways]]
* [[Simple Rogue levels]]
* [[Random Zone Generation]]
* [http://www.evilscience.co.uk/?p=553 C# implementation of simple map builder]
* [[Random Walk Cave Generation]]
* See also: [[:Category:WorldGeneration]]
* See also: [[:Category:WorldGeneration]]


Line 183: Line 203:
* [[Need driven AI]]
* [[Need driven AI]]
* [[Pathfinding]]
* [[Pathfinding]]
* [[A_Python_3_and_2_Pathfinder_with_Pygame_Example]]
* [[Plug-In Monster AI]]
* [[Plug-In Monster AI]]
* [[Quick Pathfinding in a Dungeon]]
* [[Quick Pathfinding in a Dungeon]]
Line 191: Line 212:
* [[The Incredible Power of Dijkstra Maps]]
* [[The Incredible Power of Dijkstra Maps]]
* [[Tracking by Scent and Sound]]
* [[Tracking by Scent and Sound]]
* [[An Alternative Scent Implementation]]
* [[Anticipating wall-following pathfinder]]
* [[Anticipating wall-following pathfinder]]
* [[Denizen Herding Behavior]]
* [[Denizen Herding Behavior]]
* [[Smart searching and Modeling the player with a "heatmap"]](Not finished)
* [[Dijkstra Maps Visualized]]
* [http://web.cs.ucla.edu/~rosen/161/notes/alphabeta.html Minimax decision tree with alpha-beta pruning], a non-[https://www.safaribooksonline.com/library/view/ai-for-game/0596005555/ch11.html rules-based] approach to AI (used by [[Javelin]])


===Line of sight, field of vision===
===Line of sight, field of vision===
Line 198: Line 223:
* [[Field of Vision]] determines all squares visible from a particular source. This is useful when determining which squares to show a player, what squares are lit up by a light source, etc.
* [[Field of Vision]] determines all squares visible from a particular source. This is useful when determining which squares to show a player, what squares are lit up by a light source, etc.
* [[Complete Roguelike Tutorial, using python+libtcod, part 4|Using the libtcod library for FOV, and implementing fog-of-war]], part of the python+libtcod tutorial.
* [[Complete Roguelike Tutorial, using python+libtcod, part 4|Using the libtcod library for FOV, and implementing fog-of-war]], part of the python+libtcod tutorial.
* [http://www.evilscience.co.uk/?p=225 C# implementation of field of vision using recursive shadow casting]
* [https://gist.github.com/zloedi/9551625 Grid based shadow casting / field of vision]


===Magic===
===Magic===
Line 207: Line 234:
* [[Finding graphical tiles]]
* [[Finding graphical tiles]]
* [[Inspired Art]]
* [[Inspired Art]]
* [[Use of color]]


===Sound===
===Sound===
Line 217: Line 245:
* [[A priority queue based turn scheduling system]]
* [[A priority queue based turn scheduling system]]
* [[A simple turn scheduling system -- Python implementation]]
* [[A simple turn scheduling system -- Python implementation]]
* [http://nadako.tumblr.com/post/46340820457/turn-based-time-scheduling Energy-based time scheduling implementation]


===Useful algorithms and code===
===Useful algorithms and code===
Line 224: Line 253:
* [[Random name generation]]
* [[Random name generation]]
* [[Random number generator]]
* [[Random number generator]]
* [[Weighted random generator]]
* [[Scrolling map]]
* [[Scrolling map]]
* [[Line wrapping in C]]
* [[Experience table generator]]
* [[Protecting your story]]: How to distribute your story in the clear in a way that prevents someone snooping your code to read it all (useful mostly for OSS games)
* Brief overview of [[DCSS]]' [http://crawl.develz.org/wordpress/webtiles-architecture webtiles architecture] for online play.


===Java Roguelike Development Guide===
===Java Roguelike Development Guide===
Line 231: Line 265:
* [[Java Curses Implementation]]
* [[Java Curses Implementation]]
* [[Items in Java]]
* [[Items in Java]]
* [[Java Roguelike Tutorial]]
* [[Roguelike Iterative Test-Driven Development in Java]]


==Game reviews==
==Game reviews==

Revision as of 15:31, 14 December 2017

This is a listing of articles, arranged by subject.

Articles under "design" will help the developer make decisions about gameplay. Articles under "implementation" will help with algorithm design, and offer various methods of implementing features. Headings are arranged in a general chronological order of development. Large lists of ideas (items, spells, themes, etc.) are in bold.

Development

Fundamentals

Project management

Roguelike developments are complicated projects to handle; if you have weak goals, the project will slip out of your control and its success may be compromised.

Game modification

Communities

Design

Setting, story, and mood

Roleplaying

Dungeon features, terrain

Combat

Magic

Religion

Interface

Game ideas

Ideas for roguelikes are posted regularly on rgrd, but over time are forgotten. In an attempt to preserve the more interesting ideas these pages were created:

Implementation

Programming languages

RogueBasin has articles about these programming languages. That doesn’t mean that you can’t use other languages. The best language for your roguelike is the one you know well (or want to learn).

Portability

Extensibility

Map

Combat

AI

Line of sight, field of vision

Magic

Graphics

Sound

Time management

Useful algorithms and code

Java Roguelike Development Guide

A list of articles specific to Java roguelike development

Game reviews

May give some idea of what people like and don't like in other games.


Other

The original Dungeondweller articles are archived at [1]. Please do not move them to RogueBasin without permission from the original author.

There are more articles at [2]. Most of these are duplicates of articles here.