XHXIAIEIN's Forum Posts

  • This is the simplest example, only load 1 frame.

    {"is-c3-clipboard-data":true,"type":"events","items":[{"eventType":"block","conditions":[{"id":"on-start-of-layout","objectClass":"System"}],"actions":[{"id":"add-remove-animation","objectClass":"Sprite","parameters":{"which":"add","name":"\"car\""}},{"id":"set-animation","objectClass":"Sprite","parameters":{"animation":"\"car\"","from":"beginning"}},{"id":"set-response-binary","objectClass":"AJAX","parameters":{"destination":"BinaryData"}},{"id":"request-url","objectClass":"AJAX","parameters":{"tag":"\"\"","url":"\"000.png\""}},{"id":"wait-for-previous-actions","objectClass":"System"},{"id":"load-image-from-url","objectClass":"Sprite","parameters":{"uri":"BinaryData.GetURL","size":"resize-to-image-size","cross-origin":"anonymous"}}]}]}
    
  • > I made a example dynamic_animations.c3p

    Thank you, but it doesn't work

    "This content is no longer available."

    It seems that the link redirection of the forum broke the link. I have updated it.

  • I made a example

    https://cdn.discordapp.com/attachments/225550155531812865/1232738172790767667/dynamic_animations.c3p?ex=662a8c63&is=66293ae3&hm=55f922e9e1c529e6a44642ffb410f1bea85aba925e087229b9ed44b03ca2fcb5&
    
  • Did this example helpful to you?

    #open=detecting-input-method

  • Just curious, why this ‘Preloads complete’ condition not a trigger? - It doesn't have a green arrow in front. Ashley Of course, I can also add a trigger once condition, if I really need to use this condition. Just seems confusing, why is it not "On All Preload Complete"

    Tagged:

  • Unfortunately, this situation is not specific to certain projects, and this happens even if I create a new project.

    I then asked a few friends and they had also encountered something like this recently. The reason lies in the Real-time protection option of Windows Security. If you turn it off, the problem will be solved.

    Strangely, After I reopen it now, it works normally again. It always appears randomly. Maybe I'll look for a while it carefully when I encounter this problem again.

  • I guess you may want to compare the variable "职业". You can do this through the system conditions: comparison variable.

    你可以加QQ群:180911504, 在群里提问

  • It’s best to provide screenshots of your eventsheet or c3p project, otherwise we won’t be able to help you.

  • I have no browser plug-ins installed that would cause this problem, nor do I have any third-party security software installed on my computer. It had been working normally before this, but this problem only occurred recently. so that's weird. what Ashley thinks about this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This problem appears somewhat randomly, it doesn't happen on a specific project, sometimes it does, but sometimes it doesn't.

    Recently, I often find that I cannot download the exported HTML 5 compressed package, and Chrome always blocks it.

    After checking for a long time, I found that it turned out to be a Microsoft problem. It identifies c3runtime.js as a dangerous file

    I don't know if I'm the only one having this problem, but of course the easiest thing I could do would be to **** Microsoft Security and turn it off permanently.

    Tagged:

  • it is a button like this, how can the button avoid triggered when clicking on the ground?

  • do you mean this?

    Just use the local variables and then compare the variables

  • You have to enter it as your own function name.

    For example, I created a 'GetRandomValue' function have 2 parameter in the screenshot and set the return type to Number of the function. Then You can call it in an 'Functions.GetRandomValue(0,0)' expression.

    Note that you must set the return type for the function then you can use it in an expression. Otherwise it is an action