Generating a circle

Discussion in 'Plugin Development' started by Areoace, May 28, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Areoace

    I've got all the code that I need to create this plugin but the circle generating part.

    What I need is basically if there is water infront of the player it turns it into ice (circle form), have a look at this for example (this server has shut down though): and in edition, if one of you can explain to me how to make sure that you can't create ice if there is water above the water you are standing on

    Anyone?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  2. Offline

    ZeusAllMighty11

    Dude it's 4am

    eq of a circle is:

    (x-h)^2 + (y-k)^2 = r^2


    simple geometry, good luck
     
  3. Offline

    Areoace

    y7...

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  4. Offline

    vemacs

    Hey, dude.

    Maybe you should learn this thing..

    called, you know, algebra?
     
  5. Offline

    Jogy34

  6. Offline

    chasechocolate

Thread Status:
Not open for further replies.

Share This Page