dop2000's Recent Forum Activity

  • Are you talking about Fade behavior? It's not an effect, so you can't use "Disable effect" action.

    And oddly, it's not possible to stop Fade behavior after it has started, you can only restart it or change its duration.

  • Looks like a bug, try recreating the whole event.

    Or you can do this:

    By the way, you forgot OR in the second condition.

  • You'll need a different cooldownEnd variable for each button.

    If you have many buttons, it will be easier to store their cooldown counters in a dictionary or array. You can add all buttons to a family and re-use the same couple of events and functions for all of them.

  • Try right(text, len(text)-find(text, newline)-1)

  • 1. Is there a reason why DrawingCanvas can not be rotated? I'm guessing it will mess up snapshot functions. But one of the usages of DrawingCanvas is to create "skins" for objects and not being able to rotate it is a big limitation.. Imagine a jigsaw puzzle where pieces can be rotated - this was possible in C2 with Paster/Canvas addon, but there is no way of doing it with DrawingCanvas.

    2. How do I fill an area on DrawingCanvas with transparent color overwriting existing pixels? For example, I need to paste an image onto the canvas, and then make a hole in it. "Fill" actions with color rgba(0,0,0,0) has no effect. The only way I can think of is with blend modes - draw the hole on another canvas, use it as a mask, paste on the first canvas, but it's not very convenient.

  • I would say use Timer behavior, but since you need to switch between layouts, then I guess global variables is a better choice.

    Instead of the boolean, use a numerical variable that will store the time when cooldown should end. For example for 3 seconds cooldown set CoolDownEnd to (time+3)

    To check if the cooldown has ended, compare CoolDownEnd<time

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think the only proper way to do this is using an iframe, but it's not a good solution. You can use BBCode to highlight the text and put an invisible sprite on top of it. When the sprite is clicked, open the link.

    Note, that if you have a lot of text, it may be displayed and wrapped differently in different browsers, so in this case I recommend using a SpriteFont.

  • You do not have permission to view this post

  • That's not right: Construct ticks at the speed of the display.

    Is this because Vsync in Chrome/Chromium is enabled by default? So that display refresh rate basically limits the maximum FPS in the browser?

  • You'll need to download GameSparks addon, register your game on their website etc. Search the forum for more information.

    GameSparks is just one option, there are many other services you can use (for example, Firebase), or store leaderboards on your own server.

  • See these links:

    avadirect.com/blog/frame-rate-fps-vs-hz-refresh-rate

    digitaltrends.com/computing/do-you-need-a-120hz-or-240-hz-monitor

    GPU can limit FPS if monitor refresh rate is low and VSync is enabled, maybe this is what the tutorial is referring to.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 262 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