Jump to content
• Advertisement
• entries
707
• comments
1173
• views
435848

# Lesson of the day...

67 views

Quote:
 Today's Lesson of the DayIf you're a tool developer, make sure your ENTIRE team has the same version of tools that you do. This way you don't waste any time trying to fix a non-existant bug or a bug that has already been fixed.Also, if your team reports a bug, make sure you try to reproduce it so that you know where to look. And to make sure that it's a consistent bug.

In other news I finished up 2 editors today and started working on a script editor. The script editor is more for fun and practice than anything. There are somethings that I want to try. The first thing I attempted was auto-complete and it turned out fairly well. And, in doing so I learned some quirks about the textbox. For instance, you can retrieve the index of the caret by setting SelectedText to 0 and looking in SelectionStart. Or, you can insert text at the caret by copying it to SelectedText.

TextBox.SelectedText = 0;int CaretIndex = TextBox.SelectionStart;Point CaretPos = TextBox.GetPositionFromCharIndex(CaretIndex);//------------------------------------------------------------TextBox.SelectedText = CaretPos - 3;TextBox.SelectedLength = 3;TextBox.SelectedText = "TEXT!!!";

The bottom part will select 3 characters back and then replace it with 'TEXT!!!' For example:
'This is the t|ext'              ^- caret'This is th|e t|ext'  SelStart-^   ^-SelStart + SelectedLength'This is thTEXT!!!ext'

Do you guys think that $20 for a tool is too much? My friend is "making a game" and he wants me to do his map editor and such, so I told him$20 for each application and he says "fuck you too buddy" (no, it wasn't because I asked him to pay me, he told me he thinks that is too much.) I seriously think that that is a steal. I think my offer is pretty good (and so do the few people that have used my services):
- Free bug fixes & updates for 6 months- Your choice of file format(s)- Managed DirectX support- Custom controls (like the auto-complete above)- Other stuff I can't think of right now lol

The only thing I've ever charged extra for is a plugin system, which I can't do for C# at the moment. Obviously my applications aren't perfect, but I do my best and I'm readily available to fix any problems he has (I'm only like 10 miles away, plus he can call me or IM me.) Seriously, I do this for a living so I'm not going to give anybody free stuff (except for the people that I'm working for obviously (but then it isn't free anyway).) The only thing I give away free is art, source snippets, or open source projects.

Speaking of tools, I made a map editor and it turned out excellent IMO. I need to do some minor interface tweaks (mostly an easier way to switch between layers and fill modes.) You can check out screenshots here. The ones toward the top are the older ones.

It supports 3 layers, blended layers (in-editor only; makes it so you can see under whats on top), and in-editor animated tiles. It also can support any size map (as long as your computer can handle it. Also, you have to take into consideration your graphics card, since the only things I batch are the layers.) It uses managed DirectX for all of it's rendering.

## Recommended Comments

20 bucks is an absolute steal, and I wouldn't even do it for 20 bucks... Hell, your looking at 4 bucks an hour for at least 5 solid hours of work (Estimate, probably -should- take longer). No thanks, I'd rather be doing my own thing. Even if the guy is your friend, one favor like that will haunt you forever. "Man, you only charged me 20 bucks last time.........." ;)

Just because you don't work for a high fly business, doesn't mean that you can't be your own boss and charge something that will keep you motivated.

Your buddy is getting a quality program and with you being just down the road (ie: fix, addition of feature, etc), that is even more beneficial.

#### Share this comment

##### Link to comment
Quote:
 Original post by ildave1 20 bucks is an absolute steal, and I wouldn't even do it for 20 bucks... Hell, your looking at 4 bucks an hour for at least 5 solid hours of work (Estimate, probably -should- take longer). No thanks, I'd rather be doing my own thing.

Exactly. The first pass at my map editor took me about 8-9 hours all together. For what he wanted I'd have to guess about 12-14 hours, since he wanted an event system (which I would consider part of a map editor.) That comes out to something like 65 cents per hour which is hella cheap.

Quote:
 Even if the guy is your friend, one favor like that will haunt you forever. "Man, you only charged me 20 bucks last time.........." ;)

Good point! That's the boat that my dad is in. He takes photographs for weddings and stuff, but since he did it for free once everybody wants it for free.

Quote:
 Just because you don't work for a high fly business, doesn't mean that you can't be your own boss and charge something that will keep you motivated. Your buddy is getting a quality program and with you being just down the road (ie: fix, addition of feature, etc), that is even more beneficial.

That's exactly what I thought and what I told him. I live right near him so he can get ahold of me anytime whereas someone over the internet would have to wait for me to respond. Hell, he could even come over in the middle of the night and wake me up (ok, so it wouldn't wake me up, but you get the point[wink].)

Thanks for the reply!

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account

## Sign in

Already have an account? Sign in here.

Sign In Now
• Advertisement
• Advertisement
• ### Blog Entries

• Advertisement
×

## Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!