How to make a line?

  • hello everyone

    its my first hour at construct 3 after buying a license. i want to make some lines between predefined points( global variables).So i read the documentation and i began like this

    no line is there in the preview

    where i am wrong? please help me

  • First, don't use "Trigger once" like that. Try not to use it at all, until you have solid understanding of how events work in Construct. I've seen too many projects where "Trigger once" was used wrong and was causing some nasty bugs.

    If you want some actions to be executed once, use triggered events, like "On start of layout" for example.

    Drawing Canvas is an advanced feature and it's not required in most games. There are easier ways to draw a line, you can use a Sprite or Tiled Background object.

    If you are sure you want to draw on Drawing Canvas, you need to add it to your layout. Looks like you've added Drawing Canvas object to the project, but there are no instances of it on the layout.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the wonderful answer

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)