User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: The 'Snow' Combo

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

    Re: The 'Snow' Combo

    Hmmm... Are you sure you can't use step next and cycling? I guess it gets rid of directions and other properties, but it would work.
    Avatar: Just who the SPAAAACE do you think I am?

  2. #12
    Octorok
    Join Date
    May 2007
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,506
    Level
    13
    vBActivity - Bars
    Lv. Percent
    11.25%

    Re: The 'Snow' Combo

    wouldn't it be better for it to have a value that was LA_ATTACKING&WALKING or something?
    Y'know thats a great idea or just LA_CHARGEING because I think that is the only time Link would be attacking and walking at the same time.

    Also a suggestion:
    Code:
    intead of:
    if(delay1>=0 && delay1<=10){Screen->DrawTile(2, x1, y1, tile, 1, 1, cset, 1, 0, 0, 0, 0, true, 128);}
    if(delay1>10 && delay1<=20){Screen->DrawTile(2, x1, y1, tile+1, 1, 1, cset, 1, 0, 0, 0, 0, true, 128);}
    if(delay1>20 && delay1<=30){Screen->DrawTile(2, x1, y1, tile+2, 1, 1, cset, 1, 0, 0, 0, 0, true, 128);}
    if(delay1>30 && delay1<=40){Screen->DrawTile(2, x1, y1, tile+3, 1, 1, cset, 1, 0, 0, 0, 0, true, 128);}
    if(delay1>40 && delay1<=50){Screen->DrawTile(2, x1, y1, tile+4, 1, 1, cset, 1, 0, 0, 0, 0, true, 128);}
    
    How about:
    if(delay1<50){Screen->DrawTile(2, x1, y1, tile+Floor(delay/10), 1, 1, cset, 1, 0, 0, 0, 0, true, 128);}
    if(delay1 >= 50){delay1 = 0; switch1 = 0; switch1_2 = 0;}
    
    Save ya  a few lines of code
    Although I don't see the Floor command anymore, is it phased out?

    And btw what prog did you use to record zc in the video?

  3. #13
    Developer
    ZC Developer

    Join Date
    Aug 2006
    Location
    Australia
    Age
    37
    Posts
    2,777
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,851
    Level
    25
    vBActivity - Bars
    Lv. Percent
    37.71%

    Re: The 'Snow' Combo

    Quote Originally Posted by ShadowMancer View Post
    Although I don't see the Floor command anymore, is it phased out?
    It's in std.zh, is it not?

  4. #14
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,303
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.74%

    Re: The 'Snow' Combo

    oh dear, have you just removed the need for that long, convoluted pseudo-animation that I made up?

    Can you explain how it works please?

    And I used Cam Studio, stick it in google. The quality's awful on my pc though, as you can see...

  5. #15
    Octorok
    Join Date
    May 2007
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,506
    Level
    13
    vBActivity - Bars
    Lv. Percent
    11.25%

    Re: The 'Snow' Combo

    It's in std.zh, is it not?
    D'oh I was looking in ZScript.txt although I figured Floor still worked because my scripts still work right.

    have you just removed the need for that long, convoluted pseudo-animation that I made up?
    Well just a simple shortcut really, the thing is, you are checking what delay is, then setting the drawn tile according to the value of delay, and since delay is checked for in equal incriments you only have to use one statement to change the tile depending on the value of delay (gee I hope that discription helped and did not make your head hurt >_< )
    if(delay1>=0 && delay1<=10) (if delay is between 1 and 10 then draw tile)
    if(delay1>10 && delay1<=20) (if delay is between 11 and 20 then draw tile+1)
    etc..
    tile+Floor(delay/10) simply will add 1 to tile for every 10 of delay, Floor just rids you of unwanted decimal places.

  6. #16
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,303
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.74%

    Re: The 'Snow' Combo

    Ah, I'll look into using that later, but I'll stick with my method just for a bit now I think. Thanks.

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