Results 1 to 11 of 11
  1. #1
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk

    Somewhat of a correct player...

    Not that good, but it'll do for now! Use it if you want!

    [PHP]void DrawPlayer(int x, int y)
    {
    d3d.DrawCircle(x,y-13,13,13,D3DCOLOR_XRGB(255,0,0)); //Head

    d3d.DrawLine(x,y,x,y+50,1,D3DCOLOR_XRGB(255,0,0)); //Body

    d3d.DrawLine(x,y,x-30,y+30,1,D3DCOLOR_XRGB(255,0,0)); //Left Arm
    d3d.DrawLine(x,y,x+30,y+30,1,D3DCOLOR_XRGB(255,0,0 )); //Right Arm

    d3d.DrawLine(x,y+50,x-15,y+90,1,D3DCOLOR_XRGB(255,0,0)); //Left Leg
    d3d.DrawLine(x,y+50,x+15,y+90,1,D3DCOLOR_XRGB(255, 0,0)); //Right Leg
    }[/PHP]

    How my functions work:
    [PHP]d3d.DrawCircle(x,y,radius,sides,color);
    d3d.DrawLine(x start, y start, x end, y end, width, color);[/PHP]

    Image:

  2. #2
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    644
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    wtf?
    why don't u just use bones?





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

  3. #3
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Completely wrong section and sorta pointless...

    Post this in the d3d section.

  4. #4
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    /request delete

  5. #5
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Quote Originally Posted by seaplusplus View Post
    /request delete
    Request granted.

  6. #6
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by seaplusplus View Post
    /request delete
    This isn't supposed to be for CA is it...

  7. #7
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    I thought it was pretty neat. Could maybe use some more joints and be more proportional.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  8. #8
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by why06 View Post
    I thought it was pretty neat. Could maybe use some more joints and be more proportional.
    CIRCLES FOR JOINTS!!!!!!!!!!!!!!!!!!!!
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  9. #9
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    i thought you were going to draw a CA player

  10. #10
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by ac1d_buRn View Post
    i thought you were going to draw a CA player
    Aww poor poor Acid.... We understand, we understand.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  11. #11
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by topblast View Post


    Aww poor poor Acid.... We understand, we understand.
    Code:
    pILTClient->GetLTModel()->GetNodeTransform(...);