dop2000's Recent Forum Activity

  • You need to import fonts you are using into the project. And then select them from this list:

    This way they will work on all devices.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you share a demo project?

  • There are also rope and bar pin modes which can't be done with hierarchy.

  • Thanks for the praise :) But the website was actually created and managed by dazedangels, who also contributed quite a few cool examples there!

  • I'm so sorry for the delay! lol

    dropbox.com/scl/fi/us9zxk9sim0bpg1x8wi0j/Q1-R3_dop2000.c3p

  • You probably need to store current scale value in an instance variable on the sprite. And use that variable instead of the fixed "0.5" number.

    Ship set scale to clamp(Ship.curScale+(Touch.X-ScaleX)*0.0090, 0.3, 1.5)

    When resizing is finished, save the new scale value to curScale variable.

    0.3 and 1.5 are the minimum and maximum values for the clamp() expression. See the official manual:

    construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions

  • There is no bug. The engine needs to know which instance you want to compare, that's why you need to pick the correct instance. If you don't pick, then the first available instance is used and the result may be different from what you expect.

  • I don't understand why the family solution is not working for you. If you disable all other events you can see that it works fine:

    In this case the "Is overlapping" condition picks two instances - one Sprite1 and one Family. This allows to compare their frames.

    However, if more than two instances are overlapping, the event may not work. You will need to do more picking to select two specific instances for comparing.

  • Here is an example, but it may not be suited for your purpose because Physics is disabled during dragging. Which means that the object will not collide with other physics objects while you drag it.

    howtoconstructdemos.com/throw-a-physics-object

  • Press F12 in the preview window and check for errors in the console log.

  • It's still not working, What I'm doing wrong?

    You are not picking the right instances.

    Before you do anything with instances in Construct you need to pick them. Otherwise the engine doesn't know which instances you need. Imagine you have 1000 instances of Sprite1. Which ones the engine should select to compare their animation frames? Which ones should become visible?

    Picking is possibly the most important concept in Construct. I suggest you start by reading the official documentation and studying some tutorials.

    .

    The result showed that construct3 has a problem with comparing objects to themselves.

    igortyhon I don't see any problem in your example. The condition "Sprite1.AnimationFrame=Sprite1.AnimationFrame" is always true, which is expected.

  • anglediff but not sure how it will work when one value becomes negative

    Anglediff will work just fine.

    You can convert an angle to positive number using this formula: (angle+360)%360

    The result will be between 0 and 360. But I still recommend using special System conditions which are designed for working with angles.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 271 followers

Connect with dop2000

Trophy Case

  • 9-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

29/44
How to earn trophies