User Tag List

Results 1 to 7 of 7

Thread: Name Type Text Generator

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Name Type Text Generator

    Is it possible to make a 'player name' through selecting each letter on the screen instead of via "keyboard ala notepad" method?

    I want something kind of like this.
    http://www.youtube.com/watch?v=yQ-6jrEIY0M
    I am thinking about making use of secret, or optional characters this way, depending what the user name is.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Name Type Text Generator

    Yes, I did one of these here - http://uk.youtube.com/watch?v=qpCXGdKJFn8 - is that what you're looking for?

    Though explaining how to do it in a simple way isn't the easiest of tasks... I think that there, I used a single String object with the letters, and another String object that changed its contents to a number of spaces + [how far over the cursor should be]. Then, when the button was pressed, it would add the currently selected letter to a String object.

    More simply, you could do this with a cursor that's moved around with the arrow keys and a lot of events that add letters to a String called "Name", like:

    Player presses Fire 1
    + Cursor is overlapping "D Button"
    -> Set alterable string of Name to string$("Name") + "D"

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Name Type Text Generator

    Just parse out the cusses with a parsing method, I'll see if I can make a cuss filtering method to post in the File Archive as an example. [won't use real cusses, though]

    Edit: posted an example here: http://theclickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=122997&#Post122 997 however it doesn't want to work for me.
    Working as fast as I can on Fusion 3

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Name Type Text Generator

    Quote Originally Posted by DavidN
    Yes, I did one of these here - http://uk.youtube.com/watch?v=qpCXGdKJFn8 - is that what you're looking for?

    Though explaining how to do it in a simple way isn't the easiest of tasks... I think that there, I used a single String object with the letters, and another String object that changed its contents to a number of spaces + [how far over the cursor should be]. Then, when the button was pressed, it would add the currently selected letter to a String object.

    More simply, you could do this with a cursor that's moved around with the arrow keys and a lot of events that add letters to a String called "Name", like:

    Player presses Fire 1
    + Cursor is overlapping "D Button"
    -> Set alterable string of Name to string$("Name") + "D"
    Yes. Something like that.
    But while player puts in "Mario" as a name you get Mario. If the player puts "Simon" you get Simon Belmont. Player puts in "MegaMan" they get Mega Man. Etc.
    All other names (examples, Jason, Mary, Andi, John, whatever) would just give you default player character.

    I'm not really worried about the curse/cuss filter right now. I just need a standard/regualr name input menu thing.

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Name Type Text Generator

    Just do "compare two general values" from the special object as condition, and compare if the string is equel to "Mario" or "Simon".
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Name Type Text Generator

    Well..... I know how to compare the values. I just having trouble understanding how to put each letter up to modify the text thing. Like what objects would I need to use to make that work?

    Also, I imagine an INI script would be needed to save the names created in order, like in that crystal towers 2 demo video?

  7. #7
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Name Type Text Generator

    You could use a List object for the saving of the list of names - this has the advantage that you can sort by name automatically (I actually save each player in a different file, then collect the file names of the saves and use that to form the list, but it was a headache to set up).

    Basically, you need a set of objects, that, when "clicked" on by whichever method you need, will set the text of the Name string to (the current contents of the Name string) + (the new letter). In MMF2, this is done by using, for example, string$("Name") + "A".

Similar Threads

  1. How to make one type of enemy faster than another type?
    By Bittergamer1886 in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 11th May 2012, 04:50 PM
  2. tone generator
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th November 2008, 01:50 AM
  3. "Type Writer" text animation for Dynamite422
    By Game_Master in forum File Archive
    Replies: 2
    Last Post: 18th October 2007, 09:23 PM
  4. code generator
    By Horn in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 16th March 2007, 05:16 PM

Posting Permissions

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