User Tag List

Results 1 to 4 of 4

Thread: ninja platform engiine

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ninja platform engiine

    you know what I need? A nnija platform engine!

    *Sliding
    *Jumping off walls
    *Just plain jumping

    Please help!

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ninja platform engiine

    Explain 'sliding'

    For wall kicks, like in new super mario brothers, what you'd do is have a detector on the left, right, and bottom of the character, and if they're not touching the ground, and they're against the wall, and they've hit the a button, and they're moving in the direction of the wall, then set the x velocity to something.

    Set the y velocity to something, and every loop set the character's positon to thier position minus the y velocity, then decrement the y velocity to simulate gravity.

    I would make an example file, but I don't have TGF.

  3. #3
    No Products Registered

    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ninja platform engiine

    is y velotity just adding or subtracting its y postition? Ive got the sliding done already so i just need the jumping. By sliding i ment like if you running fast then stop you kinda slide forward a little.

  4. #4
    No Products Registered

    Join Date
    Jan 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ninja platform engiine

    What i did is make a detector that when the character is moving and overlapping the detector it slows down thier downword velocity and changes thier animation to "sliding". When thier animation is "sliding", thier overlapping the detector, and you press the jump button, they jump off it.

    On the event editor:

    Bugsey is overlapping Wall Detector
    Bugsey variable "Moving" <> 0 Set variable "gravity" to 3
    Change animation to "sliding"

    Bugsey is overlapping Wall Detector
    Bugsey variable "Moving" <> 0
    Player Presses Fire 1 Set variable "gravity" to -12
    Bugsey Direction is left Set variable "horizontal" to 12

    Assuming if you did the Custom Platform Movement Engine in the tutorials section of the website

Similar Threads

  1. The Hibachi Ninja
    By DTownTony in forum iOS Released Games & Apps
    Replies: 8
    Last Post: 11th May 2013, 10:00 AM
  2. Tortues Ninja
    By Monos in forum Android Released Games & Apps
    Replies: 0
    Last Post: 8th April 2013, 08: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
  •