User Tag List

Results 1 to 4 of 4

Thread: character jumping - ABS() question

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    character jumping - ABS() question

    Hi,

    I am doing this tutorial for platforming game that is listed in the tutorial section (Fastloop Custom Platform Movement by David Newton). One part he listed in his event editor is

    + Grav("Player") <> 0
    -> Start loop "gravity" ABS(Grav("Player")) times.

    I cannot find the ABS() function anywhere and when I open this tutorial application and check on this expression I only found

    -> Start loop "gravity"

    All the ABS expression is not there at all. The tutorial doesn't explain much of this ABS function either. I am trying to make my character to jump.

    My question is that what is ABS function and also why doesn't it show up in my application?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: character jumping - ABS() question

    I don't know what you are doing... I can just tell you what abs does. It returns the absolute value of the input, so no sign. The result is always positive.
    abs(10) = abs(-10) = 10
    Make sure to check the documentation before asking in the forum for a function the next time.

  3. #3
    No Products Registered

    Join Date
    Jul 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: character jumping - ABS() question

    Ah ok. I did search for it but it returns none. May be I give up to quickly or really desperate for an answer. Anyway thanks for clearing that up.

  4. #4
    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: character jumping - ABS() question

    I remember someone else saying that I didn't include an explanation of what ABS actually does, too... I'm surprised that it just showed up as "Start loop 'gravity'" when you checked it, though. I would normally think that that was the result of opening it in an earlier version from the one I put together the example in, but I'm sure "abs" has been there for years.

Similar Threads

  1. Arc jumping question
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th January 2012, 09:38 AM
  2. A question about character creation
    By Gullyking in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 12th June 2011, 05:29 AM
  3. Character Image extension question
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th November 2010, 05:31 AM
  4. - quick question, jumping and shooting.
    By andrewe in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th September 2009, 06:44 AM
  5. Question- Making Character
    By REDSOXROX in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 18th December 2007, 01:00 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
  •