Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi, I am looking for a away to draw a straight line by keeping touching the screen and dragging,
I tried to do this but the problem is the line grow from two sides up and down or left and right
You need to set Origin Image Point on the Line sprite to its left end.
Also, instead of the sprite object I recommend using TiledBackground - it doesn't get distorted when you stretch it.
dop2000 thank you very mutch
I am having a new issue whenever I run the game the line comes from the top of the screen in the first time only.
Develop games in your browser. Powerful, performant & highly capable.
You probably have a "default" instance of the Line sprite on your layout.
Create another layout (call it Unused or Assets) and move the Line sprite there.
you are right thanks again