artheads's Recent Forum Activity

  • should not exceed 4096 pixels.

    Yeah, I understand this. Thank you, bro!

  • Not sure, but I think this is not possible, because even your loading screen its images and scripts or events needs to be loaded at first.

  • Thanks dop2000!

    the full image will be pretty big (2048x3072px).

    As I understood he says: "The size of the object in the layout doesn't matter" and then later he probably means sprite: "cannot be over 4096 pixels". Don't you think?

    So don't add more than 6-8 tiles to the tilemap.

    Do you mean add 6-8 to the tileset or to the tilemap object on the layout?

  • What should be better in terms of mobile performance for large layouts design:

    A) Tileset of 3-5 tiles total, with each tile of 1024x1024px and entire tilemap size of 15000x15000px (single but large object);

    B) Single sprite 1024x1024 with 3-5 animation frames placed across layout (many big but static objects).

  • Quick workaround with events:

    Set variable to Array.AsJSON

    Then just use that variable in script.

  • Hi, I'm trying to get an array as JSON in JavaScript, but it seems like the Array API doesn't provide the method, so how to achieve this?

    const myArray = runtime.objects.myArray.getFirstInstance();
    const myArrayJSON = myArray.getAsJSON(); // My dream but not reality?!
    

    Tagged:

  • Wow, thank you all guys!

    R0J0hound special thanks! I like your approach in the first example.

    I'll be back if I get the desired effect with Canvas too, but if not, I'll probably use your approach #1 with a little tweak allowing it to stretch by its axis.

    Happy New Year! :)

  • Thanks, R0J0! I'm trying to do it with Canvas instead :))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This wobbler should... wobble and also stretch by centrifugal force, but tend to return to its initial angle, length and curve, like a spring does. Is the physics the only way?

    I'm able to create a straight "line" from sprites with physics, that behave pretty much like this, but I can't realize how to give a proper angle to each piece, so they will form a curve line like on the image "at rest".

    The second problem is I'd like only the load-tip (a ball on the wobbler's end) to collide with other objects, but not the wobbler's "line" itself, collisions should be disabled for the "line" - and that seems impossible using physics?

  • You do not have permission to view this post

  • Make sure the server is configured to use the same cache...

    Done

    You may actually find it works better with offline support enabled...

    Yeah, I already tried it, and there were some problems there too, but I don't remember which ones ))

    Another strategy is to use different URLs...

    Good idea! Will try that.

    Thank you!

  • I get complaints from my players, and sometimes I see it myself too - a black screen after the game is updated, it happens mostly on iOS, but less often on other devices.

    The problem can only be solved via 'Clear Site Data' in browser console then Ctrl+F5 with enabled 'Developer Mode' on the phone, while connected with USB cable to the desktop computer, what is almost impossible for an average player with iPhone or Android.

    Offline Mode is disabled in the project (as not needed);

    Nginx cache is disabled - Server headers:

    cache-control: no-cache cache-control: no-store, no-cache, must-revalidate, proxy-revalidate

artheads's avatar

artheads

Member since 1 Aug, 2015

Twitter
artheads has 40 followers

Connect with artheads

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • x3
    Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies