dop2000's Recent Forum Activity

  • Did you set parallax and scale rate to 0 for UI layer?

  • Would be interested to see the same project with the new beta Fengist

    I tested my two examples (disabled Solid + Bullet, disabled Solid + Pathfinding) and they work much faster! Yes, they still slow down over time, but this happens much later, after several thousands of objects are created.

    Thanks, Ashley for fixing this!

  • Do you really mean zoom (scale), or do you mean scroll? I don't see any events that are changing layout scale. If you are sure you don't have any such events and can't fix it yourself, please share your project file.

  • So the camera doesn't zoom out, it scrolls. Simply set camera position to player position in "On start of layout" event.

  • This is weird, can you share the project file?

  • Do you have any form control objects (even invisible) on this layout - text boxes, buttons, sliders etc.? Cursor may change when it's hovering over them.

  • And why do you need AdvancedRandom or seeded random for that?

    floor(random(1,7)) or choose(1,2,3,4,5,6) will give you a perfectly random result every time you roll the dice.

  • Just set the scroll to player position in "On start of layout" event.

  • Programming pieces movement is fairly easy. Detecting check/checkmate/stalemate is doable, but quite difficult. I hope you are not thinking about programming an AI, because that would be a very ambitious task :)

    I think the easiest solution is to use some external JS library, for example this one:

    github.com/jhlywa/chess.js/blob/master/README.md

  • TILK Why do you need to generate a new random seed on every tick or after every random function?

    Seeded random in game development is most commonly used for procedural level generation. For example, if you generate levels in your game randomly, but you want levels to be exactly the same for all players, you use the seed.

    Generating a new seed on every tick doesn't make sense. Just don't use it. Or if you are already using it, update the seed once to AdvancedRandom.RandomSeed or to unixtime and forget about it. Here is an example:

  • Instances you create in runtime will inherit all properties from the first (default) instance which you place on the layout in editor. So if you set collision=circle for that instance, all dynamically created instances will also have circle collision mask.

    Note that if you have several instances of the same object on one or several layouts, the default instance is the one with the lowest UID.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound Maybe this thing?

    https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled

    I've already tried it, doesn't seem to work..

dop2000's avatar

dop2000

Member since 26 May, 2016

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