dop2000's Recent Forum Activity

  • You do not have permission to view this post

  • This can't be done with variables.

    You can do this with dictionary keys.

  • Are object1 and object2 really different objects? Or are they two instances (copies) of the same object?

    With two different objects there should be no problem accessing their instance variables in the same event.

    If they are two instances of the same object, then there is a trick you can use -

    say you have a sprite Circle. Create a family CircleFamily with just this sprite.

    Then change your event to this:

    Circle overlapping CircleFamily ...

    Inside this event you will be able to access both instances that are overlapping - one using "Circle" name and another using "CircleFamily".

  • I've never had such issues. Have you tried a different browser?

    One possible explanation that comes to mind - you can access Touch properties (X, Y, acceleration, angle etc.) only when the screen is actually in touch. Or if you are using mouse to emulate touch - when the left mouse button is pressed.

    So, for example, this code will not work, because Touch.X,Y will become 0 after the wait:

    On tap gesture -> Wait 0.1 seconds ; Set Sprite position to Touch.X, Touch.Y

    When you are using Mouse plugin, you can track mouse X,Y all the time, no need to press any buttons.

  • You might need this plugin:

  • Interesting..

    I think this happens because the original instance of the sprite doesn't exist anymore after the Wait 0, so you can't access any of its properties. (even the "Count" expression)

    It works if you add "Pick all Sprite" event after the Wait.

  • Try this:

    "parent.test('" & currentPlayer & "', " & totalScore & ");"

    So the resulting string will look like this:

    parent.test('John', 1500);

  • mekonbekon

    When you destroy an object, it doesn't disappear straight away. It's "marked" as destroyed, but still exists.

    It gets completely destroyed at the end of the tick, after all events are finished.

    "Wait 0" waits until next tick, so yeah, it can be used in this situation.

  • Image Editor in C3 has many new features, but none of those you mentioned.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AySquirrel

    Oh wow, I didn't know that! Thanks!!!

  • If all these objects are the same type (all sprites), then add them to a family, add Bullet behavior to this family.

    For different object types you'll need several families.

    Family is the only way to group many objects and instances and perform some bulk actions with them.

    Containers will not help in this case.

  • The only feature that I think Sprite Editor really lacks is the Crop tool. (the one where you select crop area, not just trim transparent edges)

    Yes, you can crop by manually changing image size, but the Crop tool would make it so much easier.

dop2000's avatar

dop2000

Member since 26 May, 2016

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