User Tag List

Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 48

Thread: Snippet Manager

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,296
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Snippet Manager

    I'm posting this here because it got quite a good reception at the Daily Click, and it was suggested to me that people here might like it also.

    It's is a little app I've made to help organize and edit snippets - small, reusable pieces of code you use in games.

    For example; It includes a snippet to find the angle between two objects. All you need do, is enter the names of the objects, as they appear in MMF, and it generates the code, ready to copy and paste straight in.

    I've included quite a lot of pre-made snippets, and made it very easy to add your own. Hopefully people will use this, and share their snippets with other clickers.

    I'm considering an add-on pack, so if anyone can think of some useful snippet ideas, please let me know.
    Attached files Attached files

  2. #2
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    This is a great resource, can you include my cloaking device as a snippet?

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    I don't think that can be added as a snippet because it involves multiple events.

    But I may be wrong.

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2007
    Location
    I'm right here!!
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    This is a great idea! As a beginner to DBP, I'll certainly find this useful.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,296
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    Dragonguy: sorry, but wizkidweb is right. That's not really how it works.

    I've had to fix a small bug.

    The latest and all future updates can be downloaded here:
    http://www.create-games.com/download.asp?id=7421

  6. #6
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    Quote Originally Posted by The Daily Click
    It makes it much quicker and easier to create complicated expressions such as for the distance/angle between two objects.
    Expressions eh?
    How about this then?
    I have trouble remembering that one.

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,296
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    Yes, I should be able to add that.
    There'd be a few possible options on how to do it though.

    Are objectx/y/z three alterable values that every object has?
    If so, it could be made so you, the user, enter the name of the object, and the letter of the alterable value which holds each of these. If they're going to be stored in counters or something, then it would be more complicated.

    I'm assuming camerax/y/z a the same for all objects, so more likely to be held in a counter or something.

  8. #8
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    Quote Originally Posted by MuddyMole
    Are objectx/y/z three alterable values that every object has?
    Yes each invidual non-camera active object has these alterable values.
    Quote Originally Posted by MuddyMole
    I'm assuming camerax/y/z a the same for all objects, so more likely to be held in a counter or something.
    You assume correctly, camera x/y/z is the position of the camera if 3rd person or the position of the player if 1st person so they may be counters or alterbale values of the player/camera object.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    How did I miss this? This program is genius, it will come in extremely handy! Here's my suggestion for an addition, I often use this expression for particle instability:

    Filename: Number in range relative to center.ini
    [Details]
    Description=This generates a random number within a range relative to a center value.
    [Function]
    String=>Center<+Random(>Range<*2+1)->Range<
    Variable1= >Center<
    Variable2= >Range<

  10. #10
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,296
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Snippet Manager

    Thanks a lot Nifflas. I shall definitely add that if you don't mind. I'm very glad to see you've grasped how it works and how to make your own snippets.

    For now, I'll put your credit in the description. It occurs to me that there should probably be an "author" item in the details group. I'll have to add that later though.

    Dragonguy - I am working on yours. Shouldn't take too long.

Page 1 of 5 1 2 3 ... LastLast

Similar Threads

  1. Parabola snippet
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th November 2010, 05:47 PM
  2. Task Manager?
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th October 2009, 09:28 PM
  3. Looking for a wiki manager
    By James in forum Lacewing
    Replies: 1
    Last Post: 9th June 2009, 12:42 AM
  4. snippet manager help
    By Zabooza in forum File Archive
    Replies: 4
    Last Post: 8th March 2009, 11:41 PM
  5. Snippet Manager
    By Zabooza in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th March 2009, 12:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •