r/roguelikedev • u/Kyzrati Cogmind | mastodon.gamedev.place/@Kyzrati • Jan 30 '15
FAQ Friday #2: Development Tools
In FAQ Friday we ask a question (or set of related questions) of all the roguelike devs here and discuss the responses! This will give new devs insight into the many aspects of roguelike development, and experienced devs can share details and field questions about their methods, technical achievements, design philosophy, etc.
THIS WEEK: Development Tools
Last week we already covered languages and libraries, but before we move into discussing details like programming and design there is another important "meta" element of roguelike development to cover: Tools.
Any type of game development will involve using multiple types of software. Beyond the compiler, at the very least you'll have a text editor, and possibly an IDE. On top of those you could have any number of other tools depending on your features, assets, workflow, etc.
Using the right tools is crucial to staying productive and efficiently creating something as complex as a game. Sometimes you even have to build your own custom tool for a specific task, because using what's available just isn't efficient enough.
What kind of publicly available tools do you use to develop your roguelike(s)? What for? Have you built any of your own tools? And if so, what do they do?
Don't forget to mention anything that you use in a particularly interesting or unusual way!
PM me to suggest topics you'd like covered in FAQ Friday. Of course, you are always free to ask whatever questions you like whenever by posting them on /r/roguelikedev, but concentrating topical discussion in one place on a predictable date is a nice format! (Plus it can be a useful resource for others searching the sub.)
8
u/Kyzrati Cogmind | mastodon.gamedev.place/@Kyzrati Jan 30 '15
Over the years I've accumulated a lot of different software to help with various aspects of development, and make heavy use of all of them for Cogmind, being a rather large project:
Most importantly, a couple years ago I created REXPaint, a full-featured ASCII/ANSI editor. Originally it was intended just for ASCII art, but now I use it on a daily basis for mockups, mapping, art, animations and more. I've already discussed REXPaint in many different capacities on my blog, and also have a long draft post describing its many uses for roguelike development, but haven't had a free slot to post that yet. (It will be announced in a separate thread when I do, since it's pretty useful.) REXPaint is freely available and quite a few devs and artists have been using it.
7
u/PlayDungeonmans @dungeonmans | Dungeonmans Jan 30 '15
Let's see:
All of that is free as the wind.
I should probably provide links but I have to go to dinner.
4
u/onewayout Lone Spelunker Jan 30 '15
For Lone Spelunker, here's what I use:
That's about all I used for Lone Spelunker development. Everything was coded by hand and pushed up to BeanStalk. When I needed to pick colors or make images for the web site or dev log, I'd break out Photoshop, but mostly, it was just me sitting there typing and pushing stuff up to BeanStalk.
3
u/Garmik Jan 30 '15 edited Jan 30 '15
Vim is my text editor.
Git + Gitlab, version control is a must for development, it just helps too much. I also have Ungit, though I use the command line most of the time, I sometimes like to get a visual look with Ungit.
I was using Trello until yesterday, when I moved from Bitbucket to Gitlab, and now I just use the issue tracker there to keep track of everything that's going on in development.
But one of the MOST important tools I use is definitely the pens and notepads on my desk, mind maps, flow charts, drawing how things should look, I just scribble down anything and everything there. Scribbling crap down gets your brain juice moving much better than using some software to do it for you.
And for now that's pretty much it, once I start getting into the graphics I'll probably use Photoshop to design the UI, and I'll check out REXPaint for other stuff.
edit: I also use the Promodoro Technique, for which I use this app, keeps nice stats letting me known how much I've been working OR slacking.
3
u/tuncOfGrayLake Feb 21 '15 edited Feb 23 '15
I'm one of the developers behind Pro-D and Auto-Rogue
We are essentially a small indie company at Gray Lake Studios and here are the tools we use when we're working on our projects!
If I remember more I'm going to keep adding. Hope this helps!
2
u/Danakh Jan 30 '15 edited Jan 30 '15
For 1 Quest, I use:
*Flashdevelop. Free and great for actionscript and other lagage like Haxe
*Tortoise SVN for source control and Assembla (free for 1 project under 1Go) to host my repository
*Notepad++
*Paint.NEt and Gimp, mainly because I sucks with both
*pngout (http://advsys.net/ken/utils.htm) which is amazing to convert png to png with another format
*png2swf (http://www.swftools.org/) to create simple animation from png
*hxswfml (https://code.google.com/p/hxswfml/) to package assets into swf
2
u/rmtew Jan 31 '15
DOS BAT SCRIPTS AND MY WORK IN PROGRESS BUILD SYSTEM
Over the years I have come to like as few dependencies and complications as possible. To have tell someone how to run a Python script is too much bother, and for that matter to install Python. And the same for other languages. So the ideal is to have one BAT script that just does it all. Example problems are that Windows by default has no easily accessible downloading functionality or unzipping functionality, which can be used in BAT scripts - for a start.
So I've been experimenting with solutions, both of which come from some commenter on this blog.
The seeds: First DOS BAT script with embedded powershell scripting code, in this comment. Second DOS BAT script with embedded powershell scripting code, in this comment.
These simple techniques allow quite complicated one file empowered DOS BAT scripts. I envision being able to have a build BAT script that downloads and compiles all dependencies, copies the compiled release and debug binaries into a top level lib directories and then compiles the solution. No more "I can't get the instructions on the website to work" - and best of all I'll have invested dozens of hours into a bundle of awesome I can use in all my projects. I'm already halfway there.
OTHERWISE
2
u/KarbonKitty Rogue Sheep dev Feb 27 '15
Due to using C#, I'm pretty much using one tool (or rather a tool-box, really) - Visual Studio 2013. At least for now! When I will get to the more content-adding intensive phase of development, I will certainly need some external tools to take care of that.
Additionally, I've written a simple editor helping me add stuff to my XML files. They are quite verbose, and editing them by hand tends to be at least 70% tag-writing and only 30% content-writing. Which also increases the likelihood of introducing some spelling mistakes in tags. Due to those considerations, and knowing the structure of each object, I've made an editor with a text-box for each stat the recipe/monster/material can have, which exports values entered wrapping them in right tags, so the created recipe/monster/material can be added to the right XML file. This one could use a lot more work, but this is waiting until I will have more use for it.
8
u/ais523 NetHack, NetHack 4 Jan 30 '15
We have a range of tooling setups among the NH4 devteam. I personally use Emacs as my editor, and use gcc for compiling, but I know there are people who use vim and clang instead. Having a range of different build environments helps for testing. I don't think anyone uses an IDE, though (partly because it makes a cross-platform build hard). Sometimes I use other editors too (e.g. I use nano as a quick and simple editor for things like todo lists).
There were plenty of problems with the existing build systems (i.e. the thing that actually calls the compiler), so in the end I wrote my own. aimake was originally written in a couple of days because cmake was no longer compiling NH4 correctly, and I wanted an April 1 release (this was several years ago now). It's now on version 3.
Part of the problem is that most build systems only do a small subset of the actual build process, leaving much to be done by hand. I have a blog post here discussing how a build for a C program works. There are plenty of steps that normally require manual intervention, and I've been aiming to do the whole thing automatically. On Windows, I can type a single command and have the entire build done all the way from calculating the relationship between source files through to an installer at the end; I'm hoping to get that to work on Linux too soon (currently I still make the installers by hand).
Another very important piece of tooling for a collaborative project like this is a good DVCS. I've used several in the past; the NH4 team is currently using git because it seems to have won the DVCS wars, but it's certainly not the only viable possibility. It's very powerful, but also very hard to use correctly, and as such it's best for teams who are already familiar with it. We don't centralise around any of the big git hosting websites; rather, we use the model where each person keeps their own repository and we merge each others' work every now and then (normally reviewing it in the process). Thus, each developer is free to use their own favourite hosting for git. This method also works well for backups, because every developer, in addition to anyone else who's interested, can have a copy of any current or previous state of our work.
There are some other tools involved. NetHack has long used a program called "makedefs" that generates static tables and the like that are compiled into the resulting binary. More recently, I've written a new program "tilecompile" that converts tilesets between different formats; it's made the tiles version much easier to work on.
It's also worth noting that our coding standard is designed to make things easy to search for. For example, a function definition is the only time a function's name appears at the start of a line, so a quick
grep -r ^pline(or your editor's equivalent) can find a function definition almost instantaneously. Many developers also use etags, ctags or the like to make this even more efficient.I also have a number of one-off shellscripts or Perl scripts for specific tasks, like assessing the progress of code cleanups.
7
u/pat-- The Red Prison, Recreant Jan 30 '15
Just notepad++ and a constantly open internet browser to find solutions to cover up for my bad programming.
6
u/IshOfTheWoods Anmauth Jan 30 '15 edited Jan 30 '15
I'm pretty new to game development and I'm keeping things simple:
EDIT: Github!
6
u/aaron_ds Robinson Jan 30 '15
For Robinson:
Vim is my editor. I use the fireplace plugin for rainbow parentheses which helps with lisp a lot.
Lein is my build tool. Its almost a given for Clojure projects.
I use Evernote to keep notes and to do lists.
VisualVm just barely works as a profiler.
I'm noticing a disturbing lack of source control in the responses so far. I use git via github even though I'm the sole contributor.
6
u/Abalieno Jan 30 '15
Mostly free and simple stuff, myself:
Probably going to use REXPaint when I finally get to design dungeons ;)
4
u/[deleted] Jan 30 '15
Bad Transaction
3
u/[deleted] Jan 30 '15
Will add links when I'm next at my PC (on mobile right now)
On my PC:
On my tablet (Mecer B26T, 16Gb model, where I do my most dev work):
Across all I use Word and Excel to manage what I should work on and my design notes and documents (in the repo because I am lazy).
Muskatel is working on OSX and is doing line of sight code, primary dev in xcode, dont know other tools he uses though.
Feinu is working with Vim if I remember correctly and building with gcc in Linux.
I am doing most of the dev at this point, but its a simple tool chain all the way through. Eventually I will use gcc for Windows builds but I want to drop the need for the VC redist.
3
u/Aukustus The Temple of Torment & Realms of the Lost Jan 30 '15 edited Jan 30 '15
I use only Notepad++ for The Temple of Torment. GIMP for editing tiles. Py2exe for compiling to the executable.
3
u/[deleted] Jan 30 '15
I use JEdit for coding Python and XML. I'm used to it and it has all the features I need. The GIMP for creating pixel art.
3
u/The_Grand_User Dragon Rising Jun 23 '15
Visual Studio 2015 Community (RC for the moment, should be releasing fairly soon I hope) Visual Studio Online and Github for private and public repositories (not everyone needs to see the messy branches I might do >.> )
Notepad++ occasionally for things
Aaaaand that's pretty much it for this project so far in regards to tools
2
u/chiguireitor dev: Ganymede Gate Jan 30 '15
I will add links later, gotta get going :)
2
u/posmicanomaly2 AotCG Jan 30 '15
Intellij for java, Sourcetree for my git repo management, Sublime for any web stuff, Photoshop for any art, Previously used pickle for an older project, Visual studio 2013 for c# c++ and xml.
I've been giving c++ a try again after being with java so long, and man does using vs full time make me miss intellij. I hope clion turns out good.
2
u/stewsters Jan 31 '15
Gradle for a build tool
Intellij for an editor
Gimp if I need some pixel art
Vim if I quickly need to change something
A pad of paper for ideas
Github for public projects, Bitbucket for private
Bfxr, a microphone and audacity for sound
2
u/[deleted] Feb 01 '15
Savage Lands
I do all my development in Windows, for now. My plan is that once I release, to also do Linux and FreeBSD builds. But that's a ways off, so I've only ever concerned myself with single-OS development and not using OS-specific headers. I use the following: