Adventure Game Studio

Community => Adventure Related Talk & Chat => Topic started by: Candle on Thu 10/11/2005 08:35:06

Title: Save your code snips
Post by: Candle on Thu 10/11/2005 08:35:06
I was looking for something I could add code to real quick and didn't find what I want so a friend help me code this up and works real nice to drop code and get it back when you need it.
(http://img394.imageshack.us/img394/796/snipshot9qz.th.png) (http://img394.imageshack.us/my.php?image=snipshot9qz.png)
You can downloadÃ,  it Here to download (http://www.candles-weblog.us/snip3.rar)
download this one (old uses ini file.) (http://www.candles-weblog.us/codesnip.rar)
It is freeware .

Mirror if my site is down or can't get to it.
http://www.upload2.net/download2/JuBj81x8NeEquOW/snip3.exe.html
Title: Re: Save your code snips
Post by: Gilbert on Thu 10/11/2005 09:13:46
Very good idea. :)

But naming the archive setup_installer.rar is not very intuitive.
Also, since it's a so simple and small tasty tool, I doubt the necessity of the installer (it just added to the archive, and, the uninstall executable is even larger than the programme itself :P), I just installed it, copied the files to another folder, and then uninstalled it...
Title: Re: Save your code snips
Post by: Candle on Thu 10/11/2005 09:21:12
I can add just the files if people don't want the installer.
Here is just the files no installer.
http://www.candles-weblog.us/snip3.rar
Title: Re: Save your code snips
Post by: Rui 'Trovatore' Pires on Thu 10/11/2005 11:25:21
This is intriguing, but I'd like to know more. How does this differ from, say, a txt file you open and type in?
Title: Re: Save your code snips
Post by: Ubel on Thu 10/11/2005 14:05:20
Quote from: Rui "Brisby" Pires (a Furry) on Thu 10/11/2005 11:25:21
How does this differ from, say, a txt file you open and type in?

I think the idea is that the codes are easier to keep arranged with this than in a normal txt file. And it's faster to find the code you are looking for.

The idea of this program is nice. Thanks for sharing this. :)
Title: Re: Save your code snips
Post by: edmundito on Thu 10/11/2005 14:44:34
Or you could just use script modules...  ;)
Title: Re: Save your code snips
Post by: Haddas on Thu 10/11/2005 15:06:14
This could help people like me, who never finish games because they lack in the scripting department. If that thing came with presets it would be awesome. That way I could study and see how things work and what to do to make things work. That's marvellous it is.
Title: Re: Save your code snips
Post by: Candle on Thu 10/11/2005 16:23:58
Well I hope some find it helpful .it sure helps me out.
Title: Re: Save your code snips
Post by: Gilbert on Fri 11/11/2005 01:23:48
Well it's simple but it sure is useful to me. Since I don't care about modules, I'd rather enter the codes myself.
Title: Re: Save your code snips
Post by: Candle on Sun 13/11/2005 01:04:45
I updated it now to use a txt file .
Watch the size of the code you add , it will bleed over to other code if it is to much. but don't think it will be a problem as most code is not that big.
if it be comes a problem I'll go back to the ini file.
Title: Re: Save your code snips
Post by: Kinoko on Sun 13/11/2005 01:47:51
Just how big is too big though?
Title: Re: Save your code snips
Post by: Candle on Sun 13/11/2005 01:54:57
I don't think you will have to worry about it as I just loaded 200 lines and it was fine.
Title: Re: Save your code snips
Post by: RickJ on Sun 13/11/2005 03:44:11
Candle this is a really great  idea!   I wonder if you would consider expanding the functionality to support snippet categories.  In this case each category would be a separate txt file.  The user could select a category from a file list.   There would be a default category called "work", "default", or something similarly appropiate.  This should alleviate any concerns about file size and make it easy for people to share snippet collections.   It would also be nice to be able to specify a path where the text files are to be saved.   

Title: Re: Save your code snips
Post by: Candle on Sun 13/11/2005 03:55:29
I'll see what I can do Rick.
I'm working on the GUI so here are two pictures to look at and see if it is something your were thinking?
I add a Calendar too 2 shot shows the cal.
I don't know how long it will take me to do this part as I'm working on my game too and need breaks now and then. lol
I should add the window can be resized to preference .
(http://img469.imageshack.us/img469/4527/snip13ax.th.png) (http://img469.imageshack.us/my.php?image=snip13ax.png)


(http://img469.imageshack.us/img469/7184/snip25gg.th.png) (http://img469.imageshack.us/my.php?image=snip25gg.png)

I did find this program and it may be more to your liking Rick.
http://www.softpedia.com/get/Programming/Other-Programming-Files/CodeSnip.shtml
Title: Re: Save your code snips
Post by: RickJ on Sun 13/11/2005 09:01:47
Thanks for listening.  I checked out the link you provided but it is far too complicated for what I want.  Your little app loads quickly and is great.  Your new screen shots, if I understand them correctly, are just what I was thinking.  Not sure what the calendar is all about though?
Title: Re: Save your code snips
Post by: Candle on Sun 13/11/2005 09:30:31
Just tossed the calendar in for fun , but I'll see what I can do with what you ask for . can't promise it all will be done but will try.
i can take the Cal off. lol
Title: Re: Save your code snips
Post by: TheYak on Sun 13/11/2005 10:30:46
This application's very handy.  I keep all kinds of .txt files around with information referenced that I may need later.  Though I probably won't use it for coding, it could certainly be used for . . . er. . . pr0n.
Title: Re: Save your code snips
Post by: Ubel on Sun 13/11/2005 11:14:28
Now that I think about it, this application could be very useful for story design too! Especially dialog writing. You'd just make a gategory (a dialog topic) and few sub-gategories (dialog options) and then write the dialog in. Very very useful! I love it. :D
Title: Re: Save your code snips
Post by: Rui 'Trovatore' Pires on Sun 13/11/2005 13:20:42
I've been putting off adding this to my site because I don't think it'd be much use to me. It took 3 days to realize how impartial I should be towards any resources. I guess I'm just maturally thick. :) I'll be adding it purty soon, in fact as soon as Candle feels that the program is really finished.
Title: Re: Save your code snips
Post by: Candle on Mon 14/11/2005 03:12:07
If you want to add it go ahead as it will be awhile before I update it again.
Title: Re: Save your code snips
Post by: Candle on Wed 16/11/2005 23:45:09
I think I will stop on this project as I found this so no need to work on something that is all ready done
:)
http://www.softplatz.com/Soft/Development/Compilers-Interpreters/The-Snippet-Bank.html