lennaert's Recent Forum Activity

  • The etc, was referring to actions you could be doing there ....

    Event

    On click/touch object

    Object is visible (this is an event option for objects, indicating they need to be visible)

    action

    Do something with the clicked, visible, object

  • Sure

    Use, for (not for each, for)

    local var TmpName

    On Ajax request complete

    Blank Sub Event request complete

    action

    set TmpName = replace(Ajax.LastData, "[", "") //remove opening bracket set TmpName = replace(TempName, "]", "") //remove closing bracket

    set TmpName = replace(TempName, '"', "") //remove double qoutes, note the use of single qoutes around the double qoute in the middle

    Sub Event request complete

    For "imageloop" 0 to tokencount(TmpName ",") //This counts the amount of commas, indicating each chunk with a file name

    action

    append text.txt tokenat(TmpName, loopindex, ",") // every loop it will fetch the next 'chunk' containing the file name. I append it to a text file here, but you can use it to any sort of action using : tokenat(TmpName, loopindex, ",")

  • Yes, with such limited information ... all I can say is ...

    You are likely doing something wrong.

  • isasaurio, what bladedpenguin describes is probably what you are looking for.

    Event

    Pick all object

    pick object by evaluate where object.var > 0

    action

    do something with the objects

  • > How I do it

    >

    how ?! please i need to know this, thanks

  • FileURLAt(loopindex) isnt a real path/url .. its a blob of characters representing the entire file.

    In a project for multiple file uploading, I use an array to store the entire files, perhaps this is something for you ....

    The following requires rojohounds paster

  • You can add that in events ...

    This makes it only clickable when visible

    event

    On click object

    obect is visible

    action

    etc

    Force some cursor when mouse over

    event

    on mouse over object

    object is visible (inverted)

    action

    set cursor to default

  • Yeah, if you first click the object in the project tree on the right, then go changing things in behavior properties, they will be applied to all the objects. Also newly created.

    When you put an instance on the layout, and click that first, and then change properties, you will change the properties for that object instance in the layout. And newly created objects will have the ones from the default values in the project tree.

    You can double check, because, after you give one instance a new value in the layout, then click the same object again in the project tree, you will notice the property has gone blank, indicating at least one instances exist with varying values.

    would you now change the behavior value from the one in the project tree, the ones in the layout will receive the same value ...

  • Mouse is over object -> set cursor

    And you can add conditions, like is over object, and invert it. (!not over object)

  • It looks to me like you are editing the object in the project tree.

    That would indeed apply to all instances.

    In the event sheet, when you create or spawn an object, directly after that action, if you set values for behavior, they will be applied to that object you just created.

  • Is the game available in the play store ?

    If so, what is the name?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you have the UID of an object, you can reference it with an action from the object options.

    Otherwise, in system, there is the PICK option.

    If you give the objects you want to change a variable to distinguish between them, you can use pick to select the ones you want.

    event

    pick all object

    pick object by evaluate where object.var = X

    action

    do something with the picked objects.

    Might I ask what it is you are trying to change ?

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies