How to code about drably draw vertical lines and horizontal Lines?

wolala123wolala123 Member Posts: 249
edited January 2014 in Working with GS (Mac)
How to code draw only vertical lines and horizontal Lines? Thanks.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    It requires a shift.
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    100*sin(game.time*100)+wtf?
  • wolala123wolala123 Member Posts: 249
    Sorry ...how to write a code about only drawing vertical line and horizontal line.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    That helps... but you still need to explain how you plan to draw the lines. Are the lines drawn automatically? Does the player click at each endpoint and then the line appears? Does the player click to start and then drag to place the end point?
  • wolala123wolala123 Member Posts: 249
    @tatiang click to start and then drag to place the end point.thanks
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Here are some of the best line-drawing demos that this community has created.
  • wolala123wolala123 Member Posts: 249
    @tatiang ...thanks :D
Sign In or Register to comment.