User Tag List

Results 1 to 6 of 6

Thread: String Parser 2 & Text Blitter [MMF2]

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Visby, SWEDEN
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    String Parser 2 & Text Blitter [MMF2]

    Ok, I've got 3 problems I'd seriously need some help with.

    Firstly, the game I'm working on is a platformer with elements of fighting games. Input combinations for special moves, to be precise. I asked about this over at TDC and got some good answers, but only to an extent though.

    What I've got now is one string which I add characters to depending on what button is pressed, and adding an 'x' every ½ second. And String Parser to search for a completed string. The events goes like this:

    []* Every 00"-55
    - Hero: Set Alterable String A to Alterable String A("Hero")+"x"

    * Player 1 moved top
    - Hero: Set Alterable String A to Alterable String A("Hero")+"p"

    * Player 1 moved down
    - Hero: Set Alterable String A to Alterable String A("Hero")+"K"

    * RightStr$("StringParser", 4)="PKP"
    - Hero: Change animation sequence to "Special 3"[/]

    The problem with this is that MMF doesn't ignore the x's this way. I need to have a one 'x' margin of error for the input otherwise it'll be extremely hard to get the combination right every time. I know that I need to use String Parser for this, but when it comes to both String Parser and Text Blitter I'm clueless how to work with them.

    Ok, next problem is Text Blitter. I want to use Text Blitter to show dialouge in my game, mostly because I don't need to use an actual font. I checked out the typewriter example which comes with the extension. I can get the actual typewriter effect to work, but I can't get it to change into the next paragraph correctly. I want the paragraph to change when the player presses a button, and changing the paragraph of the original string isn't as big deal. It's getting Text Blitter to erase all previous text and start typing out the next paragraph which I can't get to work right.

    The third problem is also with the Text Blitter. It's about the charmap. My character sheet looks like this.

    When I set the charmap and run the app the letters get messed up. Like this.

    Well that's that. Those who help gets cred for it of course. Thank you.

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Visby, SWEDEN
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser 2 & Text Blitter [MMF2]

    Come on, not even one reply? <img src="/center/images/graemlins/frown.gif" alt="" />

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    America
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser 2 & Text Blitter [MMF2]

    I dont know much about text blitter, but those in the community forum might. Sorry I can't help :s .

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Visby, SWEDEN
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser 2 & Text Blitter [MMF2]

    I originally posted it in the open topic community forum, but it got moved here. Maybe it should be moved back :P

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    America
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Parser 2 & Text Blitter [MMF2]

    Oh, sorry. But I would sugest moving it back. you could also PM some people if it's really urgent.
    --jayklik

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: String Parser 2 & Text Blitter [MMF2]

    1. There are a number of ways to do this. For example, you could make a loop which runs 4 times. At first it sets all the flags (of a data store) off, then it checks each character and it it is A it sets flag 0 to in, B it sets flag 1 to on, etc. Then you check to see if all flags are on. Alternatively, you could use an object such as the Tokens object to remove the X's and check to see that the length hasn't changed too much.

    2. Use "change alterable text" instead of "append text".

    3. Try the generator.
    .:::.Joshtek.:::.

Similar Threads

  1. speech bubble vs text blitter or string
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 29th January 2010, 12:20 PM
  2. Help making Text Blitter do dialogue with a String
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th January 2010, 04:22 PM
  3. Extracting Text Using String Parser?
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd September 2009, 01:59 AM
  4. String Parser find text
    By Flo in forum File Archive
    Replies: 2
    Last Post: 23rd April 2009, 08:42 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
  •