Fib's Forum Posts

  • is that a timeline animation?

  • Thank you skymen! I may be able to test it out as I have a C3 game on steam. We'll see if I can get it up and running.

  • Most of the time it just means "extended" or "extra". It does the same thing as an existing function but does it differently, or adds something extra. I think it originates from the days in programming before function overloading was a feature in programming languages.

  • Ok good to know. I kind of feel like the manual should state that for extra clarity.

  • EDIT: If anyone needs this to be ported to C3, also do tag me, or I'll just eventually port it one day when I have some time.

    skymen Yes please, port it to C3 :) That would make my life much easier! I would super appreciate it.

  • Hello construct community,

    I'm noticing that when I call a built-in function after a condition (the condition picks 1 out of many instances), the actions inside the function apply to all instances rather than the one that was picked from the parent condition (the parent condition is outside the function).

    Are picked instances suppose to be reset after entering a function? Or is that a bug?

  • It's not totally clear what you mean. Do you mean storing the pixel data of a Sprite in a construct array at runtime?

    If not you may need to show an example.

  • There's lots of ways to do that. My preferred way would be a timeline since I think it's the most flexible. Animate the rotation back and forth using like 2 keyframes. Then on collision play the timeline. I think you can even set it to loop. If the wheel has different speeds, you could adjust the playback speed of the timeline to match the speed of the wheel.

  • With those 2 conditions, both objects will get picked. To tell them a part I would save the UID of the object you're dragging to a global variable. Then when you drop and test for overlapping, pick the UID that is NOT equal to to the one you dropped, then save the UID of that other object. Now you have both UIDs of the dropped object and the overlapping object. If you have that then swapping their variables should be easy.

    I hope that makes sense.

    That would only work with 2 objects though. If 3 or more objects are overlapping then you would need further conditions...

  • Yes you can. It's a relatively new feature. In the "Move To" behavior, there's a "Move along timeline" action. You just create a bezier path within a timeline first. Be sure to read the manual on how both "Move To" and "Timelines" work first to make it easier on you.

  • Are you using the "Play" action or "Play (by name)" action?

    If you're using "Play (by name)" then you could just change the name of the the new sound (in the project folder) to whatever name you're currently using in events.

    If you're using "Play", then I believe you are out of luck. You'll have to change each one individually. If that's the case you can at least use the Find function (ctrl + f) to get a big list of them and then double click on each of them in the Find Results window to jump to it.

  • I have a hunch "Trigger Once" is the problem. From my experience "Trigger Once" doesn't work very well when there's multiple instances. Try to figure out a way to solve the problem without it.

    You can start here:

    Then:

    So on and so forth until all the "Trigger Once" conditions are gone.

  • What are you trying to accomplish? Why do they need to have the solid behavior?

  • These scripts will probably work fine but I think it would still be better to wait for the core issue to be fixed. From my experience any NWjs version before v0.46.3 worked fine.

    If it doesn't, please give me a heads up.

    There may be a bug in the HTML5 API fullscreen request, I get that. But the script I posted uses a completely different method of fullscreen which doesn't require user input, like all other desktop apps. Personally I'm never using the browser object to request fullscreen again for desktop games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think you can..... you can download it with the AJAX plugin but the problem is that you can't load the font into a text object, there's no action for it. According to the text object documentation you can only load fonts from the projects folder.