Notice: If the game stops working after an update, it might be a savegame incompatibility. Remove your savegame folder and try again before posting about it.
Registration has an extra hurdle now: There have been advertisement bots, so I added a security keyword to registration. Deal with it.
  0 users browsing Roguelike General. | 1 guest  
Main » Roguelike General » What does a RL starter kit need? (for programmers)
Pages: 1
Posted on 10-16-13, 11:11 pm

Posts: 9/11
Since: 12-06-12

Last post: 1998 days
Last view: 1847 days
Alright so hopping around a few Löve2D projects and there are a couple of roguelikes made. But I was thinking... Why not come up with a starter kit to make things a little easier?!

So what I have decided is that I'm going to be pulling some elements from SQ to use for this. Here's what I have planned so far:

Keyboard module - keyboard.img. (Instead of directly using fonts, put the fonts into a tile sheet for easier manipulation). To call tile simply do keyboard[key-pressed]
Dice module - can take common RL dice strings (3d4+1) and convert them into dice rolls.
A few different FoV systems - raycasting, shadowcasting, etc.
Text wrapping with color!
Terrain generation - (heightmaps, dungeons, and more!)

Some other stuff I'm not so sure about?

Class system for mobs, items, etc.
Inventory systems?
Win conditions?

From seeing other projects, if you code things to specific then it's hard to use/modify. The more general something's purpose is (referring to code modules) the more things it can be adapted to.

Also I came up with a great name for this lib! The love community has a sense of humor when it comes to library names. (ANAL, Hump, Lube, etc.). And usually it's an acronym for something. I've decided to call this - RL-Virgin (starter kit for RLs!)


Posted on 10-17-13, 10:12 am
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 289/342
Since: 06-08-12

Last post: 138 days
Last view: 105 days
I like it, even though I don't use Löve myself. Let's look at another such library, Rot.JS. What does that have to offer? According to Roguebasin:
• A random number generator. Given that Javascript has its own RNG already, perhaps an alternative to the common LCG such as a Mersenne Twister?
• Pathfinding, through Dijkstra mapping (Noxico does this) and A*.
• String formatting and interpolation.
• Simplex noise generation, probably also used by certain map generators.
• Different kinds of dungeon generators, such as cellular (like Noxico's caves) and mazes.
• Turn scheduling
• Hex tile support

I like your dice roll idea and may run with it.

I don't just program Noxico...
Pages: 1
Main » Roguelike General » What does a RL starter kit need? (for programmers)