Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    A ranged AI assist trophy in my fighting game is firing anything that's not a player

    Help
    computer warflags range help fighting
    1
    1
    312
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HeyoMayo
      HeyoMayo F last edited by HeyoMayo

      In my pong fighting game when a ranged ai assist trophy fires a bomb it actually fires random sprites on screen. Mostly all of the items and newly made sprites like a ranged player attack. All new sprite behavior is replaced with it. there are no bomberAi = rangedPlayerAttack or bomberAi = item[i] statements.
      It still fires the thing that it's supposed to fire though. The missle/bomb is contained inside the assist trophy sprite. the fire(ranged player attack) attack doesn't interact with the items or assist trophies at all. This bug causes removed sprite errors in the attack function and the item functions.

      Update: I had to make the sprite invisible instead of removing it to fix it, leaving this post up as a resource for others though.

      1 Reply Last reply Reply Quote 2
      • First post
        Last post