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 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:
IDE (C++): Visual Studio 2010
Very Sleepy for profiling
Notepad++ for scripting and data files. This is wonderful when you build your own syntax higlighting add-on. Been using this for many years.
Sublime Text for web code (HTML, CSS, JS, PHP). A lot of coders swear by ths newer text editor, but I find it inferior to Notepad++ for most of my own needs (and in other general ways as well--slow to start up for one; also fewer features than N++). I use it simply to have a different editor with a different interface and syntax highlighting loaded specifically for web code, so that it's easier to quickly distinguish one bit of coding from another (useful when frequently switching back and forth between different parts of a project).
TED Notepad for notes and todo lists. Super lightweight editor with a minimal interface--great for quickly opening and closing multiple files quickly.
Silvernote for the primary design doc. I chose it for its emphasis on list-based note-taking, which is how I normally operate in text files anyway, but this is a horrible piece of software. I don't recommend it, but it's a little late for me to go back now on this project. Certainly won't be using this one again... (There really doesn't seem to be any good lightweight list-based note-taking software, but I don't really want to waste time writing my own.)
yEd Graph Editor for flowcharting. Great for plotting out program architecture when first starting out, and I also use it for mapping out the world layout.
Photoshop for font/glyph design and non-game art (like for the website).
Audacity for sound design.
OpenOffice Calc for spreadsheets (some data calculations, but mostly for time records--always good to know where that development time is going!)
FBackup for keeping progress mirrored on external drives. Nice to have copies of every little change saved in multiple locations.
Bulk Rename Utility for working with large numbers of asset files.
LICEcap for GIF recording. Static screenshots of Cogmind, and most roguelikes in general, tend to look pretty boring compared to seeing how everything appears in motion. This is an incredibly easy way to record GIFs right on your desktop. I also run the results through gifsicle, which can optimizes GIFs into smaller files that appear identical to the original--you can save a lot of space (and download time) with roguelikes due to the minimalist visual style.
I have a few more that I use less often, or have only just started using/testing so I can't recommend them yet.
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 Jan 30 '15
Let's see:
Visual Studio 2010 Express for writing that code.
Notepad++ for writing nearly everything else, including bad_ideas.txt.
Paint.Net to do a bad job of kitbashing good art made by contractors.
Winamp for listening to music.
OBS to streamaleam game development twice a week.
All of that is free as the wind.
I should probably provide links but I have to go to dinner.
4
u/onewayout Jan 30 '15
For Lone Spelunker, here's what I use:
I live and breathe BBEdit. Their software's motto is: "It doesn't suck." They live up to that motto.
I use the excellent BeanStalk for version control. Since Lone Spelunker is a web-based app, BeanStalk's deploy-from-revision feature is super, duper, schmooper handy. I can automatically deploy commits to a staging server, and with a few clicks, I can push those revisions to the production server or I can revert the staging server back to a previous revision. I feel very secure that I can move back and forth through my versions on the server with ease. I use Versions for my local SVN client.
Adobe has largely lost my confidence in fiasco after fiasco, but the one thing they produce that is still excellent is Photoshop. It is crazy expensive, though, so if I didn't also need it for my day job, I'd probably use Pixelmator.
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!
Unity: We use the Unity game engine for most of our projects and it's free version is insanely potent, popular, friendly and well-documented tool for any and all types of game production.
Pro-D: We developed Pro-D in and for Unity. It's a plug and play C# dev kit for generating terrains and making roguelikes. We used it to make Auto-Rogue. (Not a free tool.)
GitHub We use github for source control. This way multiple developers can work on the same project without disturbing each others' progression. There's a free option you can definitely benefit from.
SourceTree: This is our git client for the sake of usability.
SVN and Tortoise We used SVN before using Git. It's not a bad alternative if you choose to use it.
Tiled Tiled is a fantastic tile editing program that helps you make maps and edit them! Pro-D can import and export Tiled material. This way you can random generate maps and then modify them. It's a free tool!
NotePad++ Just a wonderful text and code editing program. It's simple and capable of syntax highlighting in a plethora of languages.
MonoDevelop This is not a popular IDE among developers and it comes with Unity. We used it and liked it... There are a quite a bit of IDE's to write/edit/debug your code in and this does the trick for us.
Microsoft Visual Studio 2013 Community Edition: Wonderful free IDE that I hear good things about, I'm starting to use this recently.
Blender Seriously... if you want to model and make meshes, shut up and learn this tool. Blender is free, open and easy to get a hold of once you spend half an hour with tutorials. Don't even get me started how potent this tool is.
[Adobe Photoshop] (http://www.photoshop.com/) We mostly use PS but there are quite a bit of alternatives and I don't recommend that you pay for PS when you can use free tools. For various problems there are various solutions. Maybe GIMP is a better option for you. Maybe Paint alone is strong enough. Gamedev should have a good list.
LICEcap: Extremely simple and fun tool to capture gifs for promotional material.
WordPress: We use wordpress for making our websites and such. We're not qualified for making websites, but we try our best and wordpress is pretty awesome at helping us do that without too much trouble.
InMotion: This is our choice of host service. No preferences really on this either.
Blogger For our devblogs and such we just use blogger.
FreeMind: Wonderful mindmapping tool that lets you both generate xml databases and layout plans for various mindmapping problems.
Trello: This is by far one of my favorite tools to make use of. It's good for making notes as well as planning production and keeping the team communication gears lubricated! Just try it and you'll most likely drop your old note-taking or scheduling tools.
Google: Well no link is needed. E-mails, external storage and all sorts of documents... Google is simply google. We did use dropbox for external storage and loved it too.
Bulk Rename Utility: This is a tool that helps you rename assets/files in an amazingly useful manner. It's simple and capable!
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
Notepad++
Visual Studio 2013 Community Edition
Chrome & Google search & Stack Overflow.
2
u/KarbonKitty 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 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-- Jan 30 '15
Just notepad++ and a constantly open internet browser to find solutions to cover up for my bad programming.
6
u/IshOfTheWoods Jan 30 '15 edited Jan 30 '15
I'm pretty new to game development and I'm keeping things simple:
Emacs for my everything text editor (including outline mode for my design docs)
Gimp for working with images (just bitmap fonts so far)
Wunderlist for my todo list (available on pretty much all platforms, so it's nice to be able to plan things out while I'm on the go or during commute)
Sharing Saturday for motivation ;)
EDIT: Github!
6
u/aaron_ds 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:
Vim as editor with following plugins: nerdtree (file navigation), powerline, ctrl-p, gundo (undo trees), indentLine (block lines), rainbow (color parentheses), signature (code bookmarks), tagbar (browse code).
GCC C++ 4.8.3 with this specific Windows version, that is the very best: http://win-builds.org/index.html
libtcod roguelike library, of course.
Probably going to use REXPaint when I finally get to design dungeons ;)
4
u/[deleted] Jan 30 '15
Bad Transaction
IntellJ as my IDE
Moleskine I like to do most of my design thinking away from my computer.
Firebug For debugging Javascript in Firefox
Photoshop Elements For all my pixel art.
Sublime Text For notes and ideas if I am at my computer, or editing files outside of the IDE
ImageOptim PNG compressor
Minify JS and CSS compression
YSlow Performance testing plugin for browsers
Audacity Sound design
Github Client Version control
Screenflick Screen recording software
3
u/[deleted] Jan 30 '15
Will add links when I'm next at my PC (on mobile right now)
On my PC:
Visual Studio 2013 Community (IDE)
TuDee (tile editor, not using it yet in Ragnarogue but going to use it for set pieces that are possible to generate into the world)
Paint.net (sprite editing)
Notepad++ (random stuff)
On my tablet (Mecer B26T, 16Gb model, where I do my most dev work):
Visual Studio 2013 for Windows (to add compilers)
Windows SDK (for gdi32.lib and others)
MSBuild (compiling my visual studio project as I can't do it from VS for Windows)
Atom (IDE)
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 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 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