User Tag List

Results 1 to 4 of 4

Thread: Is there an easy way to check a screen's combos?

  1. #1
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.92%

    Is there an easy way to check a screen's combos?

    Is there an easy way to check a screen's combos when looking for a certain one? I don't want to have to do "if(Screen->ComboD(location))...", I'd rather have just one thing constantly check the various combos on-screen. Is there any way of doing this easily? Or am I gonna have to do it the long and hard way? Thanks in advance.

  2. #2
    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: Is there an easy way to check a screen's combos?

    Your gonna havta doit the hard way, but its not all that hard with a for loop:

    for (int cmb = 0; cmb < 176; cmb++){
    if (Screen->ComboD[cmb] = combo) { Do something; }
    }

    Although doing this each frame may slow down the game (not sure)

  3. #3
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.92%

    Re: Is there an easy way to check a screen's combos?

    Quote Originally Posted by ShadowMancer View Post
    Your gonna havta doit the hard way, but its not all that hard with a for loop:

    for (int cmb = 0; cmb < 176; cmb++){
    if (Screen->ComboD[cmb] = combo) { Do something; }
    }

    Although doing this each frame may slow down the game (not sure)
    I saw that in _L_'s Switch Block script. I figured that's what it did, but wanted to make sure. Thanks! Just so you know, I'm looking for a way to redo my Cane of Somaria script to where you can push the block, use the Cane again, and it'll vanish. (Current script won't do that if you push it.) ..Then I have to find a way to make it work without having to place all the ground on layer 1. >_> (...If only there was an easy way to check for a combo right when pushing the block so its ID can be stored somewhere... But I haves a plan.) Anyways, thanks.

  4. #4
    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: Is there an easy way to check a screen's combos?

    Just a thought; you may want to consider useing an FFC for the Cane of Somaria block (and then you can just use an 'enemy damge' script to hurt enemies) Also I wrote a pickupobject script awhile back if you wanted to do a Lttp style block (requires alittle modification, but you are very able :) ) But if you already have it all worked out it would be less hassle (as the FFC version would require an almost total rewrite ) Good scriptin' to ya

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