dop2000's Recent Forum Activity

  • It's not possible to help you without the project file. Check that the objects are on correct layers, check layer settings (scale rate, parallax etc.)

    Press Shift+F4 to run the project in Debug Mode and debug.

  • There is an official example project "Console typist" - it's different from your game, but you can study it and use some ideas.

    I also found this video, not sure how good/bad it is:

    youtube.com/watch

  • Could you post a screenshot of the events?

  • You can do this with an inverted "Is key down" condition:

    Is Left key NOT down
    Is Right key NOT down : Set animation speed to 0
    

    Or, if you are using Platform behavior:

    Platform is moving : set animation speed to 10
    
    Else : set animation speed to 0
    
  • "Compare two values" doesn't pick instances and compares the distance only to the first enemy instance (with the lowest IID, which may not be the nearest)

    Use the Line of Sight behavior instead, it will pick the instances.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The easiest solution is to give the AI the ability to see player's numbers.

    When it knows exactly how many 2s on the table, it can't lose. So all you need to do is to add some randomness to its decisions.

    Say, a 30% chance of bluffing, 20% chance of saying "lie" when the wager is actually correct etc.

    It won't be the smartest AI, but many players probably won't notice that it's cheating.

  • There's a system action called "Reset Persisted Objects" that does exactly what you'd expect.

    Be aware that it will reset ALL objects on all layouts.

  • I was working on a project with lots of persisted objects and lots of complex hierarchies, and there were quite a few bugs:

    github.com/Scirra/Construct-bugs/issues/6389

    github.com/Scirra/Construct-bugs/issues/5523

    github.com/Scirra/Construct-bugs/issues/6019

    github.com/Scirra/Construct-bugs/issues/6225

    They all have been fixed, but we still have occasional unexplained problems when the game is loaded from saved state. I can't report them because there's no repro..

  • My biggest issue with Persist behavior is that "Reset persisted objects" action resets all objects on all layouts - which makes it pretty much unusable in large projects.

    There are also lots of bugs when objects with Persist behavior are in hierarchies, restored from save state etc.

  • Check out this tutorial

    construct.net/en/tutorials/supporting-multiple-screen-17

    Most common solution is to use Scale Outer mode, but you might need to make some changes to your game - bigger backgrounds, use Anchor for UI objects etc.

  • I believe you need to dowload echarts.js or echarts.min.js and put it to Scripts folder in the project. In script properties (on the left panel) select "Main script". If it doesn't work, try "Import for events".

  • I don't know which behavior you are using, so it's up to you to determine the moving angle of the player. In 8direction behavior it's Self.8Direction.MovingAngle. Or you can check which button was pressed:

    If Down key is pressed : Set angle1 to 90

    If Left key is pressed : Set angle1 to 180 etc.

    .

    angle2, the angle between the player and the yellow imagepoint:

    angle(Player.x, Player.y, Shape.ImagepointX("tag"), Shape.ImagepointY("tag"))

    And to compare them use System conditions - "Is Between angles", "Is within angle", "Is clockwise".

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 10 Jan, 2025

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