dop2000's Recent Forum Activity

  • Set Type=numbers in TextBox properties.

    To limit the number of characters to 2:

    TextBox On Text Changed -> TextBox Set text to left(self.Text, 2)

    Also, see Tutorials section, there are lots of helpful examples on how to customize texboxes:

    https://www.scirra.com/tutorials/all

  • Have you tried running the game in Debug Mode? What are the numbers for FPS, CPU, images memory usage?

    Try removing big portions of these grass sprites from the layout and see if FPS/CPU usage improves. Try deleting the entire grass object, disabling different event groups etc, and see what's affecting the performance the most.

  • There is an easy way to do this which is used in many games.

    Add Flash behavior to the player. When biker is hurt, start flashing for 1-2 seconds.

    Add another condition "Is not flashing" to the event. This way while the biker is flashing, it's invulnerable.

    Or you can do this with Timer behavior. Set a variable IsInvulnerable=True, start timer. On Timer event, set IsInvulnerable=False.

  • 1. Use punctuation (stops, commas, question marks). Your message is a mess and it's hard to understand you.

    2. Clearly explain your problem and your question.

    3. Share your code or capx file.

  • You don't necessarily need to add Solid behavior to objects for Pathfinding to work. Pathfinding behavior allows to add custom obstacles.

    Also, check out this addon:

  • See this post:

    Or you can style if with CSS, search Tutorials for examples.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Physics will definitely be an overkill here.

    As Bitsix advised, place origin image point at the start of the chain and use any of these behaviors to rotate it - Sine, Rotate, RotateTo, LiteTween.

    The ball can be in the same sprite with the chain, or you can make it a separate sprite pinned to the other end of the chain.

  • But if you set objects Opacity to 0, the engine will still render this object on the screen but invisible.

    Second thing, objects outside the visible screen as I remember, are automatically not rendered by the engine.

    It probably depends on the platform, browser or WebGL version.

    Try setting Text object opacity to 0 and then changing its text - TextWidth and TextHeight properties are not updated, because the text is not actually rendered. If you set opacity to 0.01, it starts rendering.

    Off-screen objects are not rendered, but they still consume CPU resources if they have active animations, behaviors, or they are part of different events, collision checks etc.

  • I don't know.. Could be a problem with your gamepad.

  • I'm not sure I understand your problem..

    Try this file:

    https://www.dropbox.com/s/e1ynw17s50ldx ... .capx?dl=0

    I tested it on two different gamepads - on both I can control the blue circle with the right stick.

  • For me the right Y axis worked at index 5.

    Try RawAxis(0,5)

  • I believe this is a bug, I reported it here:

    Filtered input doesn't work, but you should be able to use raw input.

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