Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

dg1423

Members
  • Posts

    543
  • Joined

  • Last visited

    Never

Posts posted by dg1423

  1. notice all your directional checks? throw em all away and for example change this sub:

    ```
    sub attackanimation(index, animation)
      dim map
      dim playerx
      dim playery
      dim dir

      map = getplayermap(index)
      playerx = getplayerx(index)
      playery = getplayery(index)
      dir = getplayerdir(index)

      if dir = 0 then
          call spellanim(animation, map, playerx, playery - 1)
      elseif dir = 1 then
          call spellanim(animation, map, playerx, playery + 1)
      elseif dir = 2 then
          call spellanim(animation, map, playerx - 1, playery)
      else
          call spellanim(animation, map, playerx + 1, playery)
      end if
    end sub

    ```
    to this:

    ```
    sub attackanimation(index, animation)
    Call SpellAnim(Animation, GetPlayerMap(index), GetPlayerDirX(index), GetPlayerDirY(index))
    end sub

    ```
    see how much of a difference that makes? XD
  2. no, Warconn, FP has his vars right. And you can do it FP!! Just think about it! a couple notes:

    1) Take a look at the first 'if' in Sub Buildup, is there something missing?
    2) Make sure that if you use a function by itself in a place that requires a string (i.e. get/putvar, playermsg) you use quotes in front. f.e. :
    GetVar("Fight.ini", "CHARS", "" & GetPlayerName(index))

    And you're gonna need to rethink the spell still. xD
  3. Me and a couple buddies are working on a project we're calling Serengeti Street Corner. It's based in a big city full of animal people, the main character's name is Melvin, his dad is the leader of the mafia in the city and it's about all the little adventures he has and all the strange characters in the city. I wanna get some feedback on the art style, it's drawn by a friend of mine, then inked and colored by me. Here's a sample of our character Thaddeus, he's Melvin's dad, the mafia boss.

    ![](http://i275.photobucket.com/albums/jj309/dg1423/thaddeus.jpg)
×
×
  • Create New...