dop2000's Recent Forum Activity

  • Touch is touching object Sprite -> Sprite set opacity to 100

    Else -> Sprite set opacity to 50

  • Here is a demo I made using R0j0hound's example from some other post:

    https://www.dropbox.com/s/odcvl711o1b8i ... .capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, quite the opposite.

    If your parent event is "animation has ended", and in the sub-event you check if objects are overlapping, then overlapping check will not be performed while animation is playing. So it will have zero impact on performance.

    It's the same situation with "On collision" event, however since "On collision" is a triggered event (it only lasts for 1 tick), you should be careful when using it in sub-events.

  • The easiest solution would be to simply move all other "On start of layout" events out of the "Game Engine Pausable" group.

    Or you can investigate why this group becomes deactivated when layout starts. It's hard to tell by these screenshots, but I'm guessing some event momentarily sets InGameMenu to 1.

    Or if you are switching to this layout from some other layout, it's possible that this group is already deactivated when layout starts. Add this to your event #1, it will tell you if the group is active on startup or not:

    Is group "Game Engine Pausable" active -> Browser Log "Group Game Engine Pausable IS ACTIVE"

  • Instead of the Persist behavior try setting your player as Global object. Also set Global for all its dictionaries.

    You'll need to remove the player instance from all other layout except the first one.

  • I'm now not sure what did you mean by "add score using lerp"?

    Do you want to animate the score?

    See this capx:

    https://www.dropbox.com/s/mlxdp26q0vwtd ... .capx?dl=0

  • a) yes, I believe so.

    b) When you click any layout on the Project panel, you can change its event sheet in layout properties on the left panel.

  • This is a huge issue for me - I'm used to C2 shortcuts where Ctrl-W closes an active tab and Ctrl-F4 runs the project in debug mode.

    In C3 these keyboard shortcuts immediately close the browser window! It's incredibly annoying. Can anything be done about this?

  • See this post for some examples:

  • So you need pick 2 instances of Thing, check if some boolean instance variable is true for both of them, and then destroy 2 instances of Stuff?

    You can do this:

    System pick Thing by evaluating ((Thing.UID=1 | Thing.UID=2)  & Thing.someBoolean=1)
              Stuff Pick Instance with UID 03 -> Destroy Stuff
              Stuff Pick Instance with UID 04 -> Destroy Stuff 
    [/code:1493o4fq]
    
    It's a bad habit to use fixed values for UIDs in your code, you should use instance variable "ID" instead.
  • You can't check for collision as collision event might happen while animation is still playing, so you need to check for overlapping.

    Something like this:

    Unit on animation "attack" ended

    Unit is overlapping Enemy -> (deal damage to the enemy)

  • See this discussion:

dop2000's avatar

dop2000

Member since 26 May, 2016

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