Results 1 to 10 of 10
Thread: Notepad annoyance
-
2011-04-11, 12:04 AM (ISO 8601)
- Join Date
- Sep 2008
Notepad annoyance
So I've been designing a sort of rogue-like video game, and my program takes an ascii "map" and turns into a dungeon. Like
WWW
W W
WWW
Is essentially a wall with a one tile hole in the middle. Now as you can see, if I want to actually visualize said dungeon correctly while designing it, I need to use notepad or something similar where all the characters have exactly the same height and width.
My problem is I start with a room with all Ws around the dimensions I need and just a bunch of spaces in the middle. If I want to make a wall somewhere in the middle, it unfortunately shifts everything to the right after it. Basically what I need is an "insert" key but notepad apparently doesn't use that like word does. So is there anything that makes text files that I can use something like insert, or does anyone have a good idea of some alternative that would let me do this?-"I believe in gender equality, so SHOOT ME YOU WUSSY!"
-Oh hey, let's go steal the tv from the corpse house?" NOBODY HAS EVER SAID THAT UTAHRAPTOR!
-Stan you're pointing a gun to GOD. I.. I can't even THINK of a better metaphor.
-
2011-04-11, 12:09 AM (ISO 8601)
- Join Date
- Jan 2007
- Location
- Canada
Re: Notepad annoyance
If you aren't scared of a little bit of rough and dirty in setting it up, gedit's windows build should do exactly what you need, you can switch between overwrite and insert using the insert key on your keyboard. http://projects.gnome.org/gedit/
Mind you I run the linux version so I can't promise you it will work the same as it does for me.
I'm kinda in love with this program it's basically notepad with a lot more features and open source, meaning I can use it to write documents and actually have them spell checked, and it even supports some basic coding syntax stuff.Last edited by celtois; 2011-04-11 at 12:12 AM.
Avatar by me
-
2011-04-11, 12:10 AM (ISO 8601)
- Join Date
- Jul 2005
- Location
- Davis, California
- Gender
-
2011-04-11, 12:11 AM (ISO 8601)
- Join Date
- Nov 2006
- Location
- Stuck in a bottle.
- Gender
Re: Notepad annoyance
Any program will work if you use a fixed-width font. The Courier font family, which you should have on your machine by default, is probably the go-to for something like this, but there are numerous other fixed-width fonts out there.
Here's a site with a few fixed-width font suggestions if you want something fancier than Courier.
Ingredients
2oz Djinn
5oz Water
1 Lime Wedge
Instructions
Pour Djinn and tonic water into a glass filled with ice cubes. Stir well. Garnish with lime wedge. Serve.
-
2011-04-11, 12:45 AM (ISO 8601)
- Join Date
- Sep 2008
Re: Notepad annoyance
Ah, tried gedit, and it works great :)
Also tried courier on word, which would be nice but even setting the linespacing to the lowest, .5, made the spacing between lines too large for me to figure out what the dungeon would look like.-"I believe in gender equality, so SHOOT ME YOU WUSSY!"
-Oh hey, let's go steal the tv from the corpse house?" NOBODY HAS EVER SAID THAT UTAHRAPTOR!
-Stan you're pointing a gun to GOD. I.. I can't even THINK of a better metaphor.
-
2011-04-11, 01:00 AM (ISO 8601)
- Join Date
- Jan 2007
- Location
- Canada
Re: Notepad annoyance
Glad to hear gedit works great for you. It's always great to see some support for the open source alternatives that I love. Even better to see peoples problems fixed.
(I hope you mean it works for this project anyways. )Avatar by me
-
2011-04-11, 01:01 AM (ISO 8601)
- Join Date
- Sep 2008
Re: Notepad annoyance
Yeah, that's what I meant :) It looks pretty handy in general, tho.
-"I believe in gender equality, so SHOOT ME YOU WUSSY!"
-Oh hey, let's go steal the tv from the corpse house?" NOBODY HAS EVER SAID THAT UTAHRAPTOR!
-Stan you're pointing a gun to GOD. I.. I can't even THINK of a better metaphor.
-
2011-04-11, 01:09 AM (ISO 8601)
- Join Date
- Jan 2007
- Location
- Canada
Re: Notepad annoyance
Oh yeah gedit is pretty sweet if you start learning all the crazy stuffy you can do with it. =D, you can have documents calling other documents, and all sorts of really cool stuff, such as file chaining. At least I'm pretty sure it's the one I'm thinking of for doing all that cool jazz, I tend to have too many handy little programs kicking around to keep track of them all.
Mind you it is a nice sensible text editor. Keeps things simple enough for me to just type since most of the time that's all I need.
I'm glad to hear everything worked out for you! Good luck with your game.Avatar by me
-
2011-04-11, 01:22 AM (ISO 8601)
- Join Date
- Feb 2007
- Location
- Manchester, UK
- Gender
-
2011-04-11, 09:15 AM (ISO 8601)
- Join Date
- Oct 2008
- Location
- Preston, England
- Gender