Difference between revisions of "Articles"
m (→Development) |
|||
(181 intermediate revisions by 82 users not shown) | |||
Line 5: | Line 5: | ||
==Development== | ==Development== | ||
* [[Roguelike Dev FAQ]] | * [[Roguelike Dev FAQ]] | ||
* [[How to Write a Roguelike | * [[How to Write a Roguelike in 15 Steps]] | ||
* [https://www.gridsagegames.com/blog/2018/10/how-to-make-a-roguelike/ How to Make a Roguelike] | |||
* [[7DRL]] | * [[7DRL]] | ||
* [[Motivation]] | * [[Motivation]] | ||
* [[Open Source]] | * [[Open Source]] | ||
* [http://alun.myftp.org/Appz/DynamicWorldDesign.xps Dynamic World Design (XPS doc)] | |||
* [http://alun.myftp.org/Appz/MMOGameBalanceIssues.xps MMO Game balance issues (XPS doc)] | |||
=== | === Fundamentals === | ||
* [[ | * [[What a roguelike is]] | ||
* | * [[Dungeon]] | ||
* [[Items]] | |||
* [[Monster]] | |||
* [[Character]] | |||
* [[Race]] | |||
* [[Class]] | |||
* [[Skill]] | |||
* [[Permadeath]] | |||
* [[Shops]] | |||
* [[Random generation]] | |||
===Project management=== | ===Project management=== | ||
Roguelike developments are complicated projects to handle; if you have weak goals, the project will slip out of your control and its | 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. | ||
* [[Rewrite]] | * [[Rewrite]] | ||
* [[Bug Report]] | * [[Bug]] and [[Bug Report]] | ||
* [[RFE]] | * [[RFE]] | ||
===Game modification=== | ===Game modification=== | ||
* [[Translation]] | * [[Translation]] | ||
* [[Localization Project]] | |||
=== Communities === | |||
* [[rgrd]] | |||
* [http://wiki.gamedev.net/ Game Programming Wiki] | |||
* [[rgrd chatroom]] | |||
==Design== | ==Design== | ||
===General=== | |||
* [[Alternatives to Permadeath]] | |||
* [[Aspects of playing]] | * [[Aspects of playing]] | ||
* [[Fun Factor]] | * [[Fun Factor]] | ||
* [[Power Curve]] | * [[Power Curve]] | ||
* [[Quests in Roguelikes]] | |||
* [[RL Terrain]] | |||
* [[Religious Constraints (Rules)]] | |||
* [[Roguelike Alphabet]] | |||
* [[Spatial Consistency]] | |||
* [[The Role of Hunger]] | * [[The Role of Hunger]] | ||
* [[Third dimension in an ASCII-based roguelike]] | * [[Third dimension in an ASCII-based roguelike]] | ||
* [[Time Systems]] | * [[Time Systems]] | ||
* [[What a RL should be]] | * [[What a RL should be]] | ||
=== | ===Combat=== | ||
* | * [[Implicit Facing]] | ||
* [[ | * [[Interesting Critical Hits]] | ||
* [[ | * [[Monster attacks]] | ||
=== | ===Dungeons=== | ||
* [[ | * [[Basic BSP Dungeon generation]] | ||
* [[Basic directional 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 | |||
* [[Dungeon persistence]] | * [[Dungeon persistence]] | ||
* [[ | * [http://ancardia.wikia.com/wiki/Dungeon_Features List of dungeon features] from the [[ADOM]] wiki. | ||
* [http://crawl.chaosforge.org/Dungeon_features List of dungeon features] from the [[Crawl]] wiki. | |||
* [https://nethackwiki.com/wiki/Category:Dungeon_features List of dungeon features] from the [[NetHack]] wiki. | |||
* [[Template Dungeon themeing/generation]] | |||
* [http://roguelikedeveloper.blogspot.com/2007/11/unangband-dungeon-generation-part-one.html Unangband Dungeon Generation] | |||
=== | ===Interface=== | ||
* | * [[Icons in Roguelikes]] | ||
* [[ | * [http://www.gridsagegames.com/blog/2015/10/morgue-files/ Morgue files], from [[Cogmind]] | ||
* [[Preferred Key Controls]] | |||
* [[Roguelike Interface]] | |||
* [[User interface features]] | |||
* [[ASCII-Render Tree for Layouting in Dart]] | |||
===Magic=== | ===Magic=== | ||
* [http://roguelikedeveloper.blogspot.com/2008/05/unangband-magic-system-part-one.html Designing a Magic System] | |||
* [[Magic]] | * [[Magic]] | ||
* [[Magic systems]] | * [[Magic systems]] | ||
Line 60: | Line 88: | ||
* [[The Gramarye A Magic System for FUDGE]] | * [[The Gramarye A Magic System for FUDGE]] | ||
=== | ===Setting, story, and mood=== | ||
* [[ | * [[Big List of RPG Plots]] | ||
* [[Creating a Story]] | |||
* [[Horror in Roguelike Games]] | |||
* | * [[Horror1|Horror in Roguelike Games, Part I : Gore]] | ||
* | * [[Roguelike Mood]] | ||
* [[ | * [[Roguelike Themes]] | ||
* [[Theme]] | |||
===Game ideas=== | ===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: | |||
* [[Fire Brigade RL]] by Antonie | |||
* [[GalaxyRL]] by tongHoAnh | |||
* [http://groups.google.com/group/rec.games.roguelike.development/browse_thread/thread/35a94c69af62ac95?fwc=1 God's 7DRL] | |||
* [[Magic Tower]] | * [[Magic Tower]] | ||
* [[Magical Dungeon]] by Patashu | |||
* [[Modern Dungeon Exploration]] | * [[Modern Dungeon Exploration]] | ||
* [[Murder Mystery RL]] by Shedletsky | |||
* [[OrcRL]] by DrGong | |||
* [[Poisoned Character Roguelike]] | |||
* [[Roguelike DM]] by [[Timothy Pruett]] | * [[Roguelike DM]] by [[Timothy Pruett]] | ||
* [[ | * [[Shopkeeper RL]] by Antonie | ||
* [[Time-gate roguelike]] by anchor0057 | * [[Time-gate roguelike]] by anchor0057 | ||
* [[ | * [[TraderRL]] by alsagoz | ||
* [[World of Rogue]] by [[Gamer_2k4]] | * [[World of Rogue]] by [[Gamer_2k4]] | ||
==Implementation== | ==Implementation== | ||
* [[ | |||
* [[Complete Roguelike Tutorial, using python+libtcod]] | |||
* [[Roguelike Tutorial, using Lua+libtcod]] | |||
* [https://programmingbymoonlight.com/roguelike-intro/ New Roguelike Tutorial, using Lua+Gideros Mobile] | |||
* [[rot.js tutorial|Ananas aus Caracas: rot.js tutorial]] | |||
* [[Code design basics]] | |||
* [[Portability Issues]] | |||
* [[Things which are hard to code]] | * [[Things which are hard to code]] | ||
* [[ | * [[Language in Roguelikes]] | ||
* [[Save Files]] | |||
* [[Ssh server]] | |||
=== Programming languages === | === Programming 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]] | |||
* [[Fortran]] | |||
* [[FreeBasic]] | |||
* [[FreePascal]] | * [[FreePascal]] | ||
* [[Haskell]] | |||
* [[JavaScript]] | |||
* [[Java]] | * [[Java]] | ||
* [[Lua]] | |||
* [[Python]] | * [[Python]] | ||
* [[Ruby]] | |||
* [[Rust]] | |||
=== Portability === | === Portability === | ||
Line 102: | Line 153: | ||
* [[Windows]] | * [[Windows]] | ||
* [[Linux]] | * [[Linux]] | ||
* [[Mac]] | * [[Mac OS|Mac]] | ||
* [[Unicode]] | * [[Unicode]] | ||
* [[Output libraries]] | |||
* [[Filesystem hierarchy standard for game developers]] | |||
=== Extensibility === | === Extensibility === | ||
* [[ | * [[Roguelike engines]] | ||
* [[Info Files]] | |||
* [[Info File Variant - Compile-to-Code]] | |||
* [[Lua makes info files obsolete]] | |||
* [[Entity Component System]] | |||
* [[Rule and Event Systems]] | |||
=== Map === | === Map === | ||
* [[Abstract Dungeons]] | |||
* [[Basic BSP Dungeon generation]] | |||
* [[Cellular Automata Method for Generating Random Cave-Like Levels]] | |||
* [[CreatingAForest|Creating A Forest]] | |||
* [[Creating Measurably "Fun" Maps]] | |||
* [[Data structures for the map]] | * [[Data structures for the map]] | ||
* [[ | * [[Delving a connected cavern]] | ||
* [[ | * [[Designing Flexible, Reusable Algorithms]] | ||
* [[Diffusion-limited aggregation]] | |||
* [[Dungeon builder written in Python]] | |||
* [[A Simple Dungeon Generator for Python 2 or 3]] | |||
* [[Dungeon-Building Algorithm]] | |||
* [[Grid Based Dungeon Generator]] | |||
* [[Irregular Shaped Rooms]] | |||
* [http://www.evilscience.co.uk/?p=53 Island and labyrinth map generating algorithm] | |||
* [http://www.astrolog.org/labyrnth/algrithm.htm Maze Algorithms] | |||
* [http://frogasaurus.wordpress.com PHP dungeon generator using tile masks] | |||
* [[Simple maze]] | |||
* [http://roguelikedeveloper.blogspot.com/2007/07/wilderness-generation-using-voronoi.html Wilderness generation using Voronoi 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. | |||
* [[Winding ways]] | |||
* [[Simple Rogue levels]] | |||
* [[Simple Rogue levels in Dart]] | |||
* [[Random Zone Generation]] | |||
* [http://www.evilscience.co.uk/?p=553 C# implementation of simple map builder] | |||
* [[Random Walk Cave Generation]] | |||
* [[Camera View, Rotate, Trim and Pad a Map in Dart]] | |||
* See also: [[:Category:WorldGeneration]] | * See also: [[:Category:WorldGeneration]] | ||
===Combat=== | ===Combat=== | ||
* [[Simple Combat in the Dungeon]] | * [[Simple Combat in the Dungeon]] | ||
* [[Thoughts on Combat Models]] | |||
* [[Two-Key Targeting]] | |||
===AI=== | ===AI=== | ||
* [[A Better Monster AI]] | * [[A Better Monster AI]] | ||
* [[Complex NPC Interaction]] | |||
* [[Variety in NPC behavior]] | |||
* [http://roguelikedeveloper.blogspot.com/2007/10/unangband-monster-ai-part-one-history.html Emergent Behaviour in Unangband Monster AI] | |||
* [[Implementing interesting townsfolk AI]] | * [[Implementing interesting townsfolk AI]] | ||
* [[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]] | ||
* [[Ratio AI]] | * [[Ratio AI]] | ||
* [[Roguelike AI - Doing it the generic way]] | * [[Roguelike AI - Doing it the generic way]] | ||
* [[Roguelike Intelligence|Roguelike Intelligence series of articles]] | |||
* [[Roguelike Intelligence | * [[Simple way to prevent jams of monsters with A*]] | ||
* [[ | |||
* | |||
* [[Tracking by Scent and Sound]] | * [[Tracking by Scent and Sound]] | ||
* [[An Alternative Scent Implementation]] | |||
* [[Anticipating wall-following pathfinder]] | |||
* [[Denizen Herding Behavior]] | |||
* [[Smart searching and Modeling the player with a "heatmap"]](Not finished) | |||
* [[The Incredible Power of Dijkstra Maps]] | |||
* [[Dijkstra Maps Visualized]] | |||
* [[Dijkstra Map of Generic Map in Dart]] | |||
* [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 of Sight]] is used to determine when a specific destination square is visible from a source square. This can be used to determine whether a player is visible to a monster, the path an arrow takes to a particular enemy, and as a building block for a field of vision algorithm. | |||
* [[Line of Sight]] | * [[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. | ||
* [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=== | ||
* [http://roguelikedeveloper.blogspot.com/2008/05/unangband-magic-system-part-one.html Designing a Magic System] | |||
* [[Programming Roguelike Magic]] | * [[Programming Roguelike Magic]] | ||
* [[Representing | * [[Representing Magic Skills]] | ||
===Graphics=== | ===Graphics=== | ||
* [[Finding graphical tiles]] | * [[Finding graphical tiles]] | ||
* [[Inspired Art]] | |||
* [[Use of color]] | |||
===Sound=== | ===Sound=== | ||
* [[Finding or Creating Sound and Music]] | |||
* [[Implementing sound in C and C Plus Plus|Implementing sound in C and C++]] | |||
* [[Sound and Music]] | * [[Sound and Music]] | ||
===Time management=== | |||
* [[An elegant time-management system for roguelikes]] | |||
* [[A priority queue based turn scheduling system]] | |||
* [[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=== | ||
* [[Compression]] | |||
* [[Fractals]] | * [[Fractals]] | ||
* [[Mersenne twister]] | * [[Mersenne twister]] | ||
* [[Random | * [[Random name generation]] | ||
* [[Random | * [[Random number generator]] | ||
* [[Weighted random generator]] | |||
* [[Scrolling map]] | |||
* [[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=== | |||
A list of articles specific to Java roguelike development | |||
* [[The Choice of Java]] | |||
* [[Java Curses Implementation]] | |||
* [[Items in Java]] | |||
* [[Java Roguelike Tutorial]] | |||
* [[Roguelike Iterative Test-Driven Development in Java]] | |||
==Game reviews== | ==Game reviews== | ||
Line 170: | Line 279: | ||
* [[Personalities of different roguelikes]] | * [[Personalities of different roguelikes]] | ||
* See: [[:Category:Reviews]] | * See: [[:Category:Reviews]] | ||
== Other == | |||
* [http://www.roguetemple.com/articles/increasing-challenge-in-roguelikes/ Increasing Challenge in Roguelikes] | |||
* [http://www.roguetemple.com/articles/stat-balancing-in-roguelikes/ Stat Balancing in Roguelikes] | |||
The original Dungeondweller articles are archived at [http://web.archive.org/web/20060114055601/http://roguelikedevelopment.org/]. Please do not move them to RogueBasin without permission from the original author. | |||
There are more articles at [http://arns.freeservers.com/workshop.html]. Most of these are duplicates of articles here. | |||
[[Category:Browse]] |
Latest revision as of 13:50, 3 September 2024
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
- Roguelike Dev FAQ
- How to Write a Roguelike in 15 Steps
- How to Make a Roguelike
- 7DRL
- Motivation
- Open Source
- Dynamic World Design (XPS doc)
- MMO Game balance issues (XPS doc)
Fundamentals
- What a roguelike is
- Dungeon
- Items
- Monster
- Character
- Race
- Class
- Skill
- Permadeath
- Shops
- Random generation
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.
- Rewrite
- Bug and Bug Report
- RFE
Game modification
Communities
Design
General
- Alternatives to Permadeath
- Aspects of playing
- Fun Factor
- Power Curve
- Quests in Roguelikes
- RL Terrain
- Religious Constraints (Rules)
- Roguelike Alphabet
- Spatial Consistency
- The Role of Hunger
- Third dimension in an ASCII-based roguelike
- Time Systems
- What a RL should be
Combat
Dungeons
- Basic BSP Dungeon generation
- Basic directional dungeon generation
- Brogue dungeon terrain and level generation
- Dungeon persistence
- List of dungeon features from the ADOM wiki.
- List of dungeon features from the Crawl wiki.
- List of dungeon features from the NetHack wiki.
- Template Dungeon themeing/generation
- Unangband Dungeon Generation
Interface
- Icons in Roguelikes
- Morgue files, from Cogmind
- Preferred Key Controls
- Roguelike Interface
- User interface features
- ASCII-Render Tree for Layouting in Dart
Magic
Setting, story, and mood
- Big List of RPG Plots
- Creating a Story
- Horror in Roguelike Games
- Horror in Roguelike Games, Part I : Gore
- Roguelike Mood
- Roguelike Themes
- Theme
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:
- Fire Brigade RL by Antonie
- GalaxyRL by tongHoAnh
- God's 7DRL
- Magic Tower
- Magical Dungeon by Patashu
- Modern Dungeon Exploration
- Murder Mystery RL by Shedletsky
- OrcRL by DrGong
- Poisoned Character Roguelike
- Roguelike DM by Timothy Pruett
- Shopkeeper RL by Antonie
- Time-gate roguelike by anchor0057
- TraderRL by alsagoz
- World of Rogue by Gamer_2k4
Implementation
- Complete Roguelike Tutorial, using python+libtcod
- Roguelike Tutorial, using Lua+libtcod
- New Roguelike Tutorial, using Lua+Gideros Mobile
- Ananas aus Caracas: rot.js tutorial
- Code design basics
- Portability Issues
- Things which are hard to code
- Language in Roguelikes
- Save Files
- Ssh server
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).
- BASIC
- C
- C#
- Common Lisp
- C++
- D
- Fortran
- FreeBasic
- FreePascal
- Haskell
- JavaScript
- Java
- Lua
- Python
- Ruby
- Rust
Portability
- Portability Issues
- Unix
- Windows
- Linux
- Mac
- Unicode
- Output libraries
- Filesystem hierarchy standard for game developers
Extensibility
- Roguelike engines
- Info Files
- Info File Variant - Compile-to-Code
- Lua makes info files obsolete
- Entity Component System
- Rule and Event Systems
Map
- Abstract Dungeons
- Basic BSP Dungeon generation
- Cellular Automata Method for Generating Random Cave-Like Levels
- Creating A Forest
- Creating Measurably "Fun" Maps
- Data structures for the map
- Delving a connected cavern
- Designing Flexible, Reusable Algorithms
- Diffusion-limited aggregation
- Dungeon builder written in Python
- A Simple Dungeon Generator for Python 2 or 3
- Dungeon-Building Algorithm
- Grid Based Dungeon Generator
- Irregular Shaped Rooms
- Island and labyrinth map generating algorithm
- Maze Algorithms
- PHP dungeon generator using tile masks
- Simple maze
- Wilderness generation using Voronoi diagrams
- A Python map structure and a simple dungeon generator, part of the python+libtcod tutorial.
- Winding ways
- Simple Rogue levels
- Simple Rogue levels in Dart
- Random Zone Generation
- C# implementation of simple map builder
- Random Walk Cave Generation
- Camera View, Rotate, Trim and Pad a Map in Dart
- See also: Category:WorldGeneration
Combat
AI
- A Better Monster AI
- Complex NPC Interaction
- Variety in NPC behavior
- Emergent Behaviour in Unangband Monster AI
- Implementing interesting townsfolk AI
- Need driven AI
- Pathfinding
- A_Python_3_and_2_Pathfinder_with_Pygame_Example
- Plug-In Monster AI
- Quick Pathfinding in a Dungeon
- Ratio AI
- Roguelike AI - Doing it the generic way
- Roguelike Intelligence series of articles
- Simple way to prevent jams of monsters with A*
- Tracking by Scent and Sound
- An Alternative Scent Implementation
- Anticipating wall-following pathfinder
- Denizen Herding Behavior
- Smart searching and Modeling the player with a "heatmap"(Not finished)
- The Incredible Power of Dijkstra Maps
- Dijkstra Maps Visualized
- Dijkstra Map of Generic Map in Dart
- Minimax decision tree with alpha-beta pruning, a non-rules-based approach to AI (used by Javelin)
Line of sight, field of vision
- Line of Sight is used to determine when a specific destination square is visible from a source square. This can be used to determine whether a player is visible to a monster, the path an arrow takes to a particular enemy, and as a building block for a field of vision algorithm.
- 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.
- Using the libtcod library for FOV, and implementing fog-of-war, part of the python+libtcod tutorial.
- C# implementation of field of vision using recursive shadow casting
- Grid based shadow casting / field of vision
Magic
Graphics
Sound
Time management
- An elegant time-management system for roguelikes
- A priority queue based turn scheduling system
- A simple turn scheduling system -- Python implementation
- Energy-based time scheduling implementation
Useful algorithms and code
- Compression
- Fractals
- Mersenne twister
- Random name generation
- Random number generator
- Weighted random generator
- Scrolling map
- 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' webtiles architecture for online play.
Java Roguelike Development Guide
A list of articles specific to Java roguelike development
- The Choice of Java
- Java Curses Implementation
- Items in Java
- Java Roguelike Tutorial
- Roguelike Iterative Test-Driven Development in Java
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.