dop2000's Recent Forum Activity

  • It doesn't matter what I want, but you can upload both :)

  • I noticed this too. If you can reproduce this problem in a small test project, can you post a bug report?

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

  • I have so many questions.

    Why? Why? Why? And finally - why?

  • A common way to do this is with Pathfinding behavior. Calculate the path to the player, then follow the path. Just make sure you are not doing this on every tick - use Timer behavior or an event like "Every N seconds"

  • There are no strict rules, every project is unique and you can organize event sheets any way you like. The main factor for me is convenience and ease of use. I don't enjoy working with giant event sheets with many hundreds or even thousands events. And I don't like when there are too many event sheets with just a couple of lines of code in each. Break the code into manageable blocks, use groups, make sure you include only the necessary sheets.

  • You can add "Trigger once" as a second condition after "Variable=0".

    But the best method is to create the sprite in the event where you set the variable to 0.

  • You can set the layer (with menu buttons in Menu layout) as Global.

    Then in your Game layout add a layer with the same name. And you will have menu buttons in both layouts.

  • Yes, the snapshot size will be different, depending on the window size. You can use SnapshotWidth and SnapshotHeight expressions to convert from image to snapshot coordinates.

    I'm afraid on some screens SnapshotWidth and SnapshotHeight may be smaller than the image size, and you will lose some pixel information.

    So this may not be the most reliable method. I would use an array instead.

    .

    There are probably ways to read pixel data from image without the drawing canvas. See this comment:

    construct.net/en/forum/construct-2/how-do-i-18/simple-scorched-earth-worms-129595/page-2

  • If your character is moving horizontally only, then instead of "MoveTo On Arrived" event you can simply compare X-coordinate. If Character.X=targetX, then it has arrived.

    You can use Tween instead of MoveTo. Tween will change X coordinate, and Sine will change Y.

    Another solution is to use a separate invisible sprite for character, with MoveTo, but without the Sine - let's call it CharacterBase. And you will have to set your visible Character sprite position on every tick to CharacterBase + Sine offset.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Delphawi So if you set the inputbox font larger than 16px, the screen is not resized when mobile keyboard opens?

  • each node would know the ID of the previous node and the next node

    AllanR It's a good idea! Since it's a closed circuit, you probably need to store just the next node ID. The difficult part will be checking the connection to the next node through wires.

  • You can define two image points on each object. Maybe snap objects to a grid when dropped, to make the points align perfectly. But I don't have a complete solution for you, like I said it's a difficult task, I only have a vague idea of how it may be done.

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