Difference between revisions of "Articles"
(→Map) |
m (→Development) |
||
(41 intermediate revisions by 25 users not shown) | |||
Line 6: | Line 6: | ||
* [[Roguelike Dev FAQ]] | * [[Roguelike Dev FAQ]] | ||
* [[How to Write a Roguelike in 15 Steps]] | * [[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 === | === Fundamentals === | ||
Line 39: | Line 42: | ||
==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] | * [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]] | ||
* [[Spell]] | * [[Spell]] | ||
* [[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: | 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]] | * [[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]] | |||
* [[Language in Roguelikes]] | * [[Language in Roguelikes]] | ||
* [[Save Files]] | * [[Save Files]] | ||
* [[Ssh server]] | |||
* [[ | |||
=== 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]] | ||
* [[ | * [[Fortran]] | ||
* [[FreeBasic]] | * [[FreeBasic]] | ||
* [[FreePascal]] | * [[FreePascal]] | ||
* [[Haskell]] | |||
* [[JavaScript]] | |||
* [[Java]] | * [[Java]] | ||
* [[Lua]] | * [[Lua]] | ||
* [[Python]] | * [[Python]] | ||
* [[Ruby]] | * [[Ruby]] | ||
* [[ | * [[Rust]] | ||
=== Portability === | === Portability === | ||
Line 145: | Line 156: | ||
* [[Unicode]] | * [[Unicode]] | ||
* [[Output libraries]] | * [[Output libraries]] | ||
* [[Filesystem hierarchy standard for game developers]] | |||
=== Extensibility === | === Extensibility === | ||
Line 165: | Line 177: | ||
* [[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 170: | Line 183: | ||
* [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 | * [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. | * [[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]] | * [[Simple Rogue levels]] | ||
* [[Simple Rogue levels in Dart]] | |||
* [[Random Zone Generation]] | * [[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]] | ||
Line 191: | Line 209: | ||
* [[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 197: | Line 216: | ||
* [[Roguelike Intelligence|Roguelike Intelligence series of articles]] | * [[Roguelike Intelligence|Roguelike Intelligence series of articles]] | ||
* [[Simple way to prevent jams of monsters with A*]] | * [[Simple way to prevent jams of monsters with A*]] | ||
* [[Tracking by Scent and Sound]] | * [[Tracking by Scent and Sound]] | ||
* [[An Alternative Scent Implementation]] | * [[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) | |||
* [[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 207: | Line 230: | ||
* [[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 227: | Line 252: | ||
* [[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 236: | Line 262: | ||
* [[Weighted random generator]] | * [[Weighted random generator]] | ||
* [[Scrolling map]] | * [[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=== | ===Java Roguelike Development Guide=== |
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.