User Tag List

Results 1 to 7 of 7

Thread: Null Gravity Script

  1. #1
    a.k.a. Zephlon Arphanosh Mega Link's Avatar
    Join Date
    May 2006
    Age
    31
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,674
    Level
    13
    vBActivity - Bars
    Lv. Percent
    73.58%

    Null Gravity Script

    Basically a global script that that has a flag null the gravity on the combo(s) that it is on. This would allow sideview ladders, wider plains, and even monkey bars (assoming that the sprites are already setup). Plus it would have a 3D style. (Link would be able to jump off the down side of a cliff.)

    Here is a picture:


  2. #2
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,615
    Level
    25
    vBActivity - Bars
    Lv. Percent
    0.52%

    Re: Null Gravity Script

    Oooooh I see what you want to do. You want gravity active while Link is on certain combos, but not others. It would be easier for you to script it in reverse; that is, the global script checks what Combo link is on, and pulls him down along the Y axis if he's on a combo designated as "air" or whatever. Maybe give him a dummy item to change graphics.

    I wouldn't use the gravity flag and null it for certain combos because:
    1. You'd have to set the flag on every screen;
    2. Link's animation is screwy while he's not on top of unwalkable combos in sideview screens; and
    3. You'll probably have more "air" combos that you do normal walkable ones.

  3. #3
    a.k.a. Zephlon Arphanosh Mega Link's Avatar
    Join Date
    May 2006
    Age
    31
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,674
    Level
    13
    vBActivity - Bars
    Lv. Percent
    73.58%

    Question Re: Null Gravity Script

    How about a script that turns conveyor (down) combos into gravity combos?

  4. #4
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,615
    Level
    25
    vBActivity - Bars
    Lv. Percent
    0.52%

    Re: Null Gravity Script

    That'd work too. You just have a global script do this:
    (1) Get the Combo->Data closest to Link's location each frame.
    (2) Check to see if there is a solid combo below link's left foot, right foot, or middle (otherwise you'd fall when you touched the fall combo, even if you weren't quite off the ledge yet); and
    (3) If the Combo-Data is one of your conveyer combos and there's nothing below Link, move him down 2 or 3 pixels. Possibly turn off left and right input so player falls straight down.

    Rinse, repeat.

  5. #5
    a.k.a. Zephlon Arphanosh Mega Link's Avatar
    Join Date
    May 2006
    Age
    31
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,674
    Level
    13
    vBActivity - Bars
    Lv. Percent
    73.58%

    Re: Null Gravity Script

    Ok. But,
    1. If the script is going to use the conveyor (down) combo then the script should not be global. Beacause I'm going to use the conveyor (down) combo normally too.
    2. I don't know how to script.

  6. #6
    Gibdo beefster09's Avatar
    Join Date
    Mar 2006
    Age
    31
    Posts
    699
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,714
    Level
    16
    vBActivity - Bars
    Lv. Percent
    98.49%

    Re: Null Gravity Script

    How 'bout turning conveyor up combos into null-gravity combos? Then you wouldn't have to make every combo a "gravity" combo.
    Avatar: Just who the SPAAAACE do you think I am?

  7. #7
    a.k.a. Zephlon Arphanosh Mega Link's Avatar
    Join Date
    May 2006
    Age
    31
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,674
    Level
    13
    vBActivity - Bars
    Lv. Percent
    73.58%

    Re: Null Gravity Script

    That won't work for 2 reasons:
    1. Some of the null gravity combos are going to be slow walk, and some are not.
    2. I'm thinking about using conveyor up combos for a scripted glide-boost combo.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social