dop2000's Recent Forum Activity

  • 1StepCloser Thanks! For me this also happens only in one large project.

    Is the issue intermittent in your case? One minute the editor is very slow, and the next five minutes it may be running perfectly fine?

  • Do you mean you can't find your project file?

    Do you remember how you saved it - to local drive or to cloud? What browser did you use?

    It may be saved in browser storage. Try to open Construct in the same browser and select "Project open from local browser"

  • able to test if a layer is visible directly in an expression

    For some unknown reason Construct doesn't have such boolean conditions.

    You can make a function which checks if a layer is visible, and use it in "Pick by evaluate" expression.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can create a function with all the actions which should run when left mouse button is clicked. And call this function from two events - from "Mouse On Left click" and from "Touch On Tap".

  • So I guess now I have to figure out another way to get it to check the result for each of my individual AJAX calls.

    Like I said, you can use AJAX.tag expression inside the "On any error" trigger to see which request has failed.

  • Here you go:

    dropbox.com/scl/fi/6lgbiuh33dl9x4zhjzbh3/LoadRandomTilemapData.c3p

    You need to create a separate project (Level Builder) where you keep the original tilemaps. Use "Tilemap Download" action to download a json string for each tilemap.

    In your main game create an array with all those json strings. When a new level starts, pick one string at random and load it into the tilemap.

  • Check the console log - sometimes AJAX throws an error there instead of triggering "On Error" event. Also I would probably move "On any error" event out of the loop. It should be a top-level event. You can use AJAX.tag expression to get the tag of the failed request.

  • MrClifford You can actually access LocalStorage.ItemValue in the "On item exist" event. No need to use Get/On Get.

  • You can use Timer behavior - run a timer for 5 seconds, and in your "On Click Object A" event check that the timer is not running.

    Or even simpler - save the time object was clicked in a variable LastClick. And allow to click it again if (time-LastClick)>=5

  • You can't change layout size in runtime. You can allow "Unbounded scrolling" in layout properties.

  • Je Fawk pandabear7413 birdboy And others who have this issue in Chrome - could you share your hardware config? I wonder if this happens with Intel CPUs?

    I have a gaming laptop and gaming PC, both with AMD Ryzen processors and plenty of RAM. Construct lags and freezes terribly on both computers in Chrome.

    But when I open the same project on an old Intel i5 laptop, there are no lags. (although it crashes frequently with "out of memory" error)

  • Use a local variable to temporarily store the value of one instance.

    Sprite is overlapping Family
    .. Local Variable temp=0
    
    .. Set temp to Sprite.var
    .. Sprite set var to Family.var
    .. Family set var to temp
    
    

    Only in this case you should probably use "On Collision" event. Because Overlapping can happen many times per second, so the instances will continue swapping values again and again many times.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies