artheads's Recent Forum Activity

  • Also, you can put all events of this layout in a group, then deactivate it when leaving the layout, and activate when back.

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

  • Try Construct 3

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

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

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

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
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies