dop2000's Recent Forum Activity

  • Try to keep the origin point at the same distance from the bottom of the image on each frame.

    You can search tutorials section for examples. Like I said, it's a common trick, so you will definitely find some.

  • Wow...

    If you have to repeat the same event more than twice, you should definitely optimize it.

    Add all sprites to a family, define Drag&Drop behavior on the family. You'll be able to keep just one event "Family on Drop" and remove all duplicates!

    Add instance variables to the family: StartX, StartY, TargetX, TargetY

    On Start of the Layout (or On Family Created) set StartX to Family.x, set StartY to Family.y

    I'm not sure how your game works and where do you get values for TargetX, TargetY. You might need to set them manually per each sprite on the layout.

    On Drop - if dropped on a wrong spot, set object position to (self.StartX, self.StartY)

    If dropped correctly, set object position to (self.TargetX, self.TargetY)

  • What do you mean "letterbox scale doesn't work"?

    If your game is designed for 16:9 aspect ratio, then on 18:9 screen you should get black bars on top and bottom of the screen.

    Is this what happens?

  • Replied in email.

  • Angelsgaming

    Yes. It's a common trick, used in many platform games. You actually control an invisible rectangle sprite, and the character sprite is like a "skin" pinned to it.

    That way the animations on the character sprite don't interfere with Platform events.

  • SERGIOManOwaR

    Use System-> Compare two values

    ((a | b) & c) equals 1

  • Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are a few plugins for grid-based pahtfinding, see this post:

  • Simply change your event #3 to this:

    Touch is in touch -> Set scroll Y to ( Scroll_Y + (StartY-Touch.Y) )

    And remove events #4 and #5

    Instead of scrolling the entire layout you can pin menu items to a big sprite and move this sprite up and down.

    See this post:

  • Add a variable IncorrectDropCounter

    In your Else condition Add 1 to IncorrectDropCounter

    and create a sub-event: System Compare variable IncorrectDropCounter=3 -> display text

    Don't forget to reset IncorrectDropCounter to 0 when object is dropped correctly.

  • You can add an invisible sprite to the obstacle (slightly wider than the obstacle).

    On Enemy collision with that sprite -> Enemy simulate jump.

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