Jump to content


Photo

Customizable Circle


  • Please log in to reply
No replies to this topic

#1 Chinafreak

Chinafreak

    GMC Member

  • GMC Member
  • 353 posts
  • Version:GM:Studio

Posted 06 November 2014 - 11:48 PM

49xL2Fq.png


a customizable circle, now you can add a portal, wheel of fortune or nice background on your game!

There are 4 script:
 
 

draw_circle_striped_background(x,y,radius,column,angle,col1,col2);
draw_circle_striped(x,y,radius,column,angle,col);
draw_circle_portal_background(x,y,radius,column,length,angle,col1,col2);
draw_circle_portal(x,y,radius,column,length,angle,col);
  • x,y - position of circle
  • radius - radius of circle... again...
  • column - number of column on circle
  • length (only on portal) - upper column will be shifted.
  • angle - angle of circle
  • col1 - color of foreground circle
  • col2 (only background) - color of background circle

Notice: draw_circle_striped consumes not so much performance as draw_circle_portal!
Notice²: This don't support on HTML5!
 

 

***Marketplace***

giff4.gif


  • 0