lennaert's Forum Posts

  • Perhaps change your full screen to scale outer (You might have it on scale inner)

    Also, check fullscreen scaling, if you have it on low quality.

  • I believe you need to supply domains (and ports if need be) not full URLs

    Your javascript call originates from:

    http://www.mywebsite.com

  • In my event ... I do not set it visible or invisible ...

    The event CHECKS if the object is visible when you clicked it ... if its invisible .. the action will not run. If its visible ... it will perform the action.

  • Only a couple things that really can get in the way of it not finding a path.

    Too many solid objects, not making room for a path

    Too big cell size, so the cells can not determine a path ...

  • Importing video

    Construct 2 does not provide a video importer like it does with audio. You must encode your video files yourself, and then import them as project files.

    Looks like it does not support streaming.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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)