Joskin's Forum Posts

  • Your point 1 doesn't work for me, if I drag the red ball, only the red ball is thrown.

    For you second point you should just add a condition for the drag, if there is a already a drag don't start another.

  • Hu ? Everything works fine for me, if by released you mean interact it's logic.

    What do you want exaclty ? If red touch yellow nothing happend ? Or yellow is kicked ?

  • Hi,

    "Pick by UID" is an event in the category "Misc" of your object.

    So add a new event, and enter the UID. Your object will be "selected" in this event so all you need after is to pin this object to another.

  • https://www.dropbox.com/s/qafuufwpwttn28r/test.capx

    Does it work now ?

    You were using a For each red Ball, so they were both picked.

    I didn't removed the for each for the yellow ball btw.

  • Look at this plugin :

    And you should change the title of the post !

  • As I said in my first post, open C2, create a new project, here is the list

  • Start small, don't try to make a perfect clone for you first steps in C2, try to move a sprite, to understand the C2 logic, look at the event available, the conditions, the actions. Start with small challenges or you ll be lost.

    Put what you want on paper and write the logic before putting it in C2. It takes time, a lot of time at the beginning, but it's necessary.

    (Look at the template : verticale space shooter)

  • The advices are simple, read the tutorials, the manuals and look at the C2 templates (when you create a new project on C2 a list with a lot of templates appears).

  • If you want something like :

    index 0, population, buildings, money, accidents,

    index 1, population, buildings, money, accidents ... etc

    Where index is the year. You can do easily do this by adding height to the array. Then right after you add the population you can save the other values with the action "array - set at XY" where X = the year-1 and Y the value index, (1 for building for example, 2 for money ...) and value = your value.

    I just wake up so my index maybe false but you have the way to do this !

  • Load in an array, then use the "for each element" event for this array. Then use the sub event "compare current value" ... If you don't get it i'll try to make a capx later the evening.

  • If you load an array with this JSON, you should retrieve the value at array.at(2,1) for the name.

    If the name index isn't fixed, you can use a foreach and check when you reach "name" then get the name.

  • Use the template physic catapulte.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can't.

    Maybe for a "security" reason, imagine if the user can't control is mouse anymore.

  • Your sprites can't stay on the top of background if they are on a bottom layer.

    Are you creating your sprites dynamically ? If yes, check if it's the good layer set on the "create object action".

    But yes, put the background on another layer is a good solution.

  • Not the same layer ? No action putting it in top of the layer ? If no, post a capx.