Need help on new game idea

0 favourites
  • 10 posts
From the Asset Store
Kids Game
$24.50 USD
50% off
New Sounds Added Update: 115 new sound effects added for no additional cost!
  • hi everyone, im new to construct but have a bit of experience in game design. Id love to use this engine but not sure how to get the results i need.

    I wish to make an event that allows me to drag out a conveyor belt using the left button on the mouse, so i want to drag out lines from the point i hold down the mouse, and stop when i let go. as i said im, new to this, i just need a bit of advaice on how to achieve this.

    many thanks <img src="smileys/smiley1.gif" border="0" align="middle" />

  • ok got the conveyor belt working now, just need a way to be able to drag out copies of it

  • Add a event like this:

    Mouse.IsDown

    Mouse.IsOverObject[BeltThing]

         ->System.createObject[BeltThing(Mouse.X, Mouse.Y)]

    should do the trick <img src="smileys/smiley1.gif" border="0" align="middle" />

  • hey thanks <img src="smileys/smiley1.gif" border="0" align="middle" />

    that kind of works, however5 the belt object comes out as a whole using the click position as a centre point. I want it to drag out the object so as soon as i click, the left side of the belt will show, and stretch out following the mouse cursor.

    hope this makes sense

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think i need to see a capx. Im not sure I get what your asking for?

    you want to dynamically edit properties of the belt at runtime?

  • yes, to put it simply i want to dynamicly change the scale of the belt at runtime

    much like the image below

    image here

    i want to be able to draw out the lines like so, but the lines then act as conveyor belts when drawn.

  • Oooooh I see. I'm not on a computer right now but I'll write a tutorial on this as soon as possible

  • that would be fantastic if you could. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • if you could let me know when and where to find this tutorila, that would be great. thanks again <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Yes will do. I'll try make a start on it tomorrow. It might help if you private message me your capx, or a basic version to help you even more.

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