DaniellMesquito's Recent Forum Activity

  • I need in this hipotetic HTML box remove/add elements.

    Someone know a plugin for achieve a HTML Box that I can manipulate DOM?

  • When I tried to recreate this I didn't need a For Each loop, each instance would enable/disable its behavior based on its individual variable. Most likely some other event is interfering and setting all of the objects variable to the same thing.

    In my experiment all I did was have 3 different objects, A, X, Y, where A had drag and drop behavior and X and Y had sine behavior to make them move.

    If A collides with X -> Set variable to "no"

    If A collides with Y -> Set variable to "yes"

    If variable = "no" -> Disabled drag and drop

    If variable = "yes" -> Enable drag and drop

    This worked as expected with multiple instances of A, so the issue seems to be someplace else.

    Please attach the .capx file.

  • I'm asking about a condition.

  • How do I create a good/basic license for my game?

    "as is" license is the better?

    Thanks in advance!

  • I want create a HTML box with web content (in-box tags). Its for a menu with elements (food of Freezer for a pet simulator). How can I put a HTML box and manipulate its contents?

    Thanks in advance!

  • Example: a condition | other condition:after 40 seconds > do action.

    How can I achieve it?

    Thanks in advance!

  • SoldjahBoy

    You need a "For each" loop in your conditions, otherwise if just one object meets the conditions, it will apply to all object instances (because you haven't told it to check each one individually).

    [For each sprite.object]

    [sprite.variable=XYZ]

    --- Do stuff

    [ELSE]

    --- Do nothing

    ~Sol

    It isn't working. I tried using car behavior instead of dragndrop, and continues conflicting.

  • Of the main project I can't, but I will send of the separated project.

  • Ashley, I think here its a problem with behaviors.

  • Good idea, but I've tried in a separate-new project, with two instances with different variables, but the behaviors continue working for all instances.

  • Well, you should be able to pick objects by variable value with no problem, something like,

    Object Variable = 0 --> do X

    Object Variable = 1 --> do Y

    Only objects whose variable equals 0 will do X and those with 1 will do Y, so I'm not sure I understand the problem correctly?

    I use text in variables instead of numbers.

    This is my sheet:

    The drag and drop behavior isn't working for all instances. I don't know what is the conflict.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When I click to translate tutorial, choose the language and click in Next button, then the website redirects to https://www.scirra.com/tutorials/top

    Why?

DaniellMesquito's avatar

DaniellMesquito

Member since 25 Sep, 2013

None one is following DaniellMesquito yet!

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies