dop2000's Forum Posts

  • Try unchecking "width" and "height" in hierarchy options for text object.

    If this doesn't help, you can replace it with a spritefont, this should definitely fix the issue.

  • However i have a much smaller project with less than 2000 events/actions and 120 objects. Nothing fancy, and i still had 5 seconds lags when selecting (double click) js- or moving event blocks.

    Have you tried clicking "collect garbage"?

  • You can see through the debug mode or remote preview how the frame rate drops

    This doesn't happen on my Windows laptop. CPU utilization goes up to 30% for a short period, but the tween runs smoothly and there is no fps drop. I'm guessing the problem is either with Tween or hierarchies on MacOS/IOS.

    I would try these things:

    • Check if WebGL2 is enabled in Debug Mode.
    • If possible, try a different browser.
    • Try using MoveTo instead of Tween.
    • Try using Pin instead of adding objects as children.
    • Test with sprites only, without the text objects.
    • Check if you have the same issue with the "Skeleton hierarchy" example in C3.
  • Does this demo project also have performance issues on iPhone? Because I see absolutely no problems in the code, it's simple and effective.

  • Strangely, I didn't have any freezes in the past two weeks. I've been using C3 on a different machine where I didn't touch the performance settings in Chrome. Yet the same project that used to lag and freeze terribly now works fine!

    I'm guessing some memory leak issue was fixed in the latest Chrome release.

  • I heard that windows games work on the Deck. Have you tried win32 and win64 exports?

  • I would use Spline, it's a popular C2 addon by Rex ported for C3. It works like MoveTo only for curves, allows to adjust speed and curve tension.

  • Here is another example:

    howtoconstructdemos.com/starfish

  • It's exactly the same as in my previous message

  • Or instead of destroying you can make the object invisible and disable its collision. After 4 seconds - make visible again and enable collisions.

  • The easiest way is to use a layer with red background color. Place it above other layers, untick "transparent" checkbox and add an effect like Multiply or Overlay or Burn - whatever you like best.

    You can then turn this layer visibility on/off using a Timer or "Every X seconds" event.

    Every 1 second
    AlarmTriggered=true
    ..Layer "Alarm" is visible : Set layer "Alarm" invisible
    ..Else : Set layer "Alarm" visible
    
  • I think it's only for external programs like explorer, but you should test to be sure.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • By default there is a single instance of JSON object. So if you parse a new message in it, the old one will be overwritten.

    You can create new instances of JSON (just like you create new sprite instances). But be careful to always pick the correct instance of JSON in other events and functions. You can distinguish them by instance variable for example.

  • Glad it works! You should probably use double quotes in case the path on user's computer has spaces. For example "My documents" instead of "Documents".