Dylantechy's Forum Posts

  • Now, I feel well stupid. I saw that too... and i was like I can make it on my own! but thank you it was much easier.

    Cheers.

  • So I am using the overlapping object expression, and want to limit it only to the one object in which I selected.

    I have selected one object in a drag command and if I run into another it collects them...

    How could this be done?

    Also the Dragging is horrible, I have tried many "Logical" options... On mouse over... global variables to 1 "if in drag" on system tick. It works but if I move to fast moving the object falls? How can this be solved?

    In the Dragging event I set "Object1 x,y" to "Mouse x,y"

    Thank you for your help in advance! this is a great forum.

  • Thank you so much.

  • ^ Also I've tried

    x = WindowWidth - TiledBackground3.Width /2

    y = WindowHeight - TiledBackground3.Height /2

    still does not center.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • is there a easy way to centering in construct 2???

    I want it to auto adjust to the users screen, but with the centering expression I have it will only work with the dimensions I have set it to. 2000,2000 -> Layout size

    1000,1000 -> windows size

    Centering expression-> :

    x = scrollx - WindowWidth + LayoutWidth/5 + 150

    y = scrolly - WindowHeight+ LayoutHeight/10

    Is there a better way to center in construct 2?

    I'm trying a menu that pops up when the user clicks "Open Menu" in his/hers game, to center menu-screen.

  • Ok thank you everyone.

  • Oh, I get where your coming from.

    If Global = 1 then {

    Spawn this...

    }

    Ok I was thinking about this too, but thought there would be a 'custom' spawn. Thank you newt.

    Also, "to anyone" Is there an "on create object" command I have not been able to get it... So when I spawn an object I trigger "this" ?

  • I'm fairly new to Construct 2, and have 2 questions.

    ______________________________________________________________

    I am trying to do a menu that has a couple things you can choose from, I have a global variable that sets to what is selected. Now on click I want it to spawn that item. How could this be done?

    ______________________________________________________________

    ______________________________________________________________

    I used to advance program in GameMaker:HTML5(scripting) and I was wondering how do I do a "On create event like GameMaker"??? So lets say I create a new object(In game) and on this creation I want to execute some code with it. How could this be done?

    ______________________________________________________________

    Thank you, DylanT <img src="smileys/smiley1.gif" border="0" align="middle" />