dop2000's Recent Forum Activity

  • I don't know. It may be possible with some addon.

    Or maybe upload or send the file to some webserver, and give user the download link. (or open this link with "Browser go to url", which will invoke file download, but from the browser, not from the app)

  • assigning the Level-x-Events and including the Game-Events

    This one.

    You don't want level2-specific events in your level1, which will happen if you include all level-x-events into the Game-Events sheet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have put some actions on "end of layout" (without any loops). I have tried to destroy some objects before changing layout and I have even put a wait 0 sec to ensure the freeze doent happen.

    You don't need to delete objects (unless they are set as Global), and you definitely should not use Wait in "On end of layout" event.

    Does it always happen with the same two layouts? Try adding "Browser log" at the end of layout1 and at the start of layout2, this will tell you when the problem happens exactly.

    Also try disabling "On end of layout" and "On start of layout" events, see if the problem goes away. If it does, there must be something in these events.

    Check if you have any global objects that don't need to be global, fix them..

    If nothing helps, please share your project file.

  • Every day I see more and more spam messages on this forum. Right now the first several pages of the "C3 General Discussion" subforum are completely flooded with spam posts.

    Has the sign-in captcha been removed, or have bots learned how to fool it?

  • The gamma-correct gradient may be mathematically correct, but it looks wrong compared to gradients produced by other tools (like Photoshop, Corel Draw, Gimp etc.) The grey area in the middle is too large. It would be nice to have a option to choose gradient method.

    Also, what is the "sprite gradient" everybody is talking about in this thread?

  • I'm not very experienced with JSON, so there may be an easier way to do this, but here is my attempt:

    dropbox.com/s/og79bsmogm41hws/JSON_Array.c3p

    .

    EDIT: wow, this is my 5000th post! :)

  • I was hoping "Move to object" would follow the object, but it's actually the same as Move to (Object.x, Object.y)

  • You can't have a mix of AND+OR with several combined conditions, you probably need to use a boolean variable:

    Is button1 up
    Is button2 up
    	Set b=true
    
    else
    Is button3 up
    Is button4 up
    	Set b=true
    
    If b then .........
    

    But if you are comparing some property that can be accessed in expression, or an instance variable, then you can do it in one line:

    if ((Button1.isUp & Button2.isUp) | (Button3.isUp & Button4.isUp))

  • Here is my example I made for some other post:

    dropbox.com/s/wj1vpn641t7mjct/SpritefontWithBlinkingCursor.capx

  • Your ButtonText1 object is not pinned to the button! That's why it's lagging.

    Pin updates object position at the end of the tick, after all other events. So your event "On every tick ButtonText1 set position to button" is executed, and then Pin behavior moves the button to another position. And the text is left behind!

    You need to pin the text to the button, or (preferably) to the parent panel.

    .

    So, to sum up, you can double-pin and avoid the lag if you created objects in the right order. Or you can position multiple objects one to another with events without pinning. But don't position an object to another pinned and moving object. This will always cause lagging.

  • Can you share your project file?

  • Pass button's UID in function parameters, and pick family instance inside the function by this UID.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies