TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Drawing lines
Pages:
1
Drawing lines
alexvaxman
Posts: 3
October 19, 2014, 10:50:21 pm
Hi, i'm trying to draw a lines using a character, while controlling it by clicking a spot on the screen. so the line should start from the initial location of the character , and stretch with the movement of the character to where it stops. please help.
LIBERADO
Posts: 2720
October 20, 2014, 12:14:28 am
One line only? Or multiple lines for multiple positions?
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
alexvaxman
Posts: 3
October 20, 2014, 07:00:48 am
It will pretty much be one line, going from point A to point B, then stop, wait for another spot to be clicked on the screen, then move from point B to point C and so on. I attached a PNG with a Drawing, just so you get the idea. Thank You!!
LIBERADO
Posts: 2720
October 20, 2014, 07:06:01 am
Is this what you want?:
http://www.filz.us/files/0c42f43e/8f4/Drawing_Lines.swf
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
alexvaxman
Posts: 3
October 20, 2014, 07:10:19 am
I would like it to go only in a straight line, But YES this is exactly what i meant.
LIBERADO
Posts: 2720
October 21, 2014, 01:42:46 am
Quote from: alexvaxman on October 20, 2014, 07:10:19 am
I would like it to go only in a straight line, But YES this is exactly what i meant.
Here is a simplified version, so you can download it:
« Last Edit: October 21, 2014, 02:37:11 am by LIBERADO »
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
Pages:
1