2/28/2013 - Update on Thumb
12/31/2012 - There's a New Comic
12/12/2012 - The "Lost" Holiday Ornament (and Child's Play)
11/26/2012 - Leftover OOTS Swag on Sale (+Thumb Report)
Frequently Asked Questions (FAQ)

Order of the Stick 889 Get Real
Erfworld 163 The End of Book One
Erfworld Now at Erfworld.com!
RSS Feeds: OOTS

The Duke's Wolf, Part Four by Amber E. Scott
The Duke's Wolf, Part Three by Amber E. Scott
The Duke's Wolf, Part Two by Amber E. Scott

The New World, Part 9: Barbarians by Rich Burlew
The New World, Part 8: Gnomes by Rich Burlew
The New World, Part 7: Names and Cultures by Rich Burlew
Looking for the Gaming Articles?

 



Welcome back! Be sure you have read and understand the Forum Rules.


Go Back   Giant in the Playground Forums > Discussion > Friendly Banter
Register FAQ Members List Mark Forums Read End

Friendly Banter Hellos, goodbyes, and other casual conversation goes here. Especially if it doesn't fit better into one of the other forums.

Reply
 
Thread Tools
Old 04-11-2011, 12:04 AM   Top  -  End  -  #1
Greep
Barbarian in the Playground
 
OldWizardGuy
 
Join Date: Sep 2008
Default 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.
Greep is offline   Reply With Quote
Old 04-11-2011, 12:09 AM   Top  -  End  -  #2
celtois
Barbarian in the Playground
 
 
Join Date: Jan 2007
Location: 
Canada
Default 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.
__________________
Helping the town
I II III IV Town Hall

I made my own avatar, lucky me.

Last edited by celtois : 04-11-2011 at 12:12 AM.
celtois is offline   Reply With Quote
Old 04-11-2011, 12:10 AM   Top  -  End  -  #3
Anxe
Bugbear in the Playground
 
 
Join Date: Jul 2005
Location: 
Davis, California
Gender: Male
Default Re: Notepad annoyance

copy and paste into word and then copy and paste back into notepad?
__________________

If you haven't, you should give League of Legends a try.
Anxe is offline   Reply With Quote
Old 04-11-2011, 12:11 AM   Top  -  End  -  #4
Djinn_in_Tonic
Firbolg in the Playground
 
 
Join Date: Nov 2006
Location: 
Stuck in a bottle.
Gender: Male
Default 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.
Djinn_in_Tonic is offline   Reply With Quote
Old 04-11-2011, 12:45 AM   Top  -  End  -  #5
Greep
Barbarian in the Playground
 
OldWizardGuy
 
Join Date: Sep 2008
Default 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.
Greep is offline   Reply With Quote
Old 04-11-2011, 01:00 AM   Top  -  End  -  #6
celtois
Barbarian in the Playground
 
 
Join Date: Jan 2007
Location: 
Canada
Default 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. )
__________________
Helping the town
I II III IV Town Hall

I made my own avatar, lucky me.
celtois is offline   Reply With Quote
Old 04-11-2011, 01:01 AM   Top  -  End  -  #7
Greep
Barbarian in the Playground
 
OldWizardGuy
 
Join Date: Sep 2008
Default 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.
Greep is offline   Reply With Quote
Old 04-11-2011, 01:09 AM   Top  -  End  -  #8
celtois
Barbarian in the Playground
 
 
Join Date: Jan 2007
Location: 
Canada
Default 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.
__________________
Helping the town
I II III IV Town Hall

I made my own avatar, lucky me.
celtois is offline   Reply With Quote
Old 04-11-2011, 01:22 AM   Top  -  End  -  #9
factotum
Titan in the Playground
 
BlackDragon
 
Join Date: Feb 2007
Location: 
Manchester, UK
Gender: Male
Default Re: Notepad annoyance

Quote:
Originally Posted by Greep View Post
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.
You can turn off the spacing between paragraphs entirely--it'll be that that's causing your issue, I bet, since you'll presumably have a carriage return at the end of every line.

Mind you, I tend to use Excel if I'm making simple maps anyway...
factotum is online now   Reply With Quote
Old 04-11-2011, 09:15 AM   Top  -  End  -  #10
Phishfood
Orc in the Playground
 
PirateWench
 
Join Date: Oct 2008
Location: 
Preston, England
Gender: Male
Default Re: Notepad annoyance

Quote:
Originally Posted by factotum View Post
You can turn off the spacing between paragraphs entirely--it'll be that that's causing your issue, I bet, since you'll presumably have a carriage return at the end of every line.

Mind you, I tend to use Excel if I'm making simple maps anyway...
That might be a much better idea, excel saved as a CSV or something. Then you can find/replace out the , if you need to.
Phishfood is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 01:50 PM.



Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Usage of this site, including but not limited to making or editing a post or private message or the creation of an account, constitutes acceptance of the Forum Rules.