dop2000's Recent Forum Activity

  • Create a sprite "BalloonString" - a horizontal line.

    Set origin image point at its left end.

    Set position of this sprite to the player's hand and pin it to the player.

    Then do this:

    On every tick
      BalloonString -> set Width to Distance(player.x, player.y, balloon.x, balloon.y)
      BalloonString -> set Angle towards position (Balloon.x, balloon.y)
    [/code:2umjoiwu]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please share your CAPX file or at least a screenshot of your events sheet.

  • Just type it in the "Value" line

    While you are there, look for a semi-transparent window called "Objects with expressions", click it and select System - you'll find lots of interesting expressions and properties, including that Max function.

  • Then don't do "Add 1 to LevelProgress" at the end of each level.

    Instead do something like this:

    If LevelName="Level1"  -> set LevelProgress to Max(1, LevelProgress)
    If LevelName="Level2"  -> set LevelProgress to Max(2, LevelProgress)
    If LevelName="Level3"  -> set LevelProgress to Max(3, LevelProgress)
    [/code:31prey72]
    
    So if user reached level 3 and then decided to replay level 1, LevelProgress will remain 3 (because of the Max function).
  • Swipe and double finger tap are both gestures, which means there also will be lags if you use them..

  • Yes, there is a slight lag with tap, because this event triggers after the finger was lifted off the screen.

    But this is the only way to do what you want.

    You can't jump at Touch Start event because you can't predict if player will be doing a short touch or a long hold.

  • Construct 2 detects collisions using collision polygons.

    Check collision polygon of your Enemy sprite (on all frames) and of that object that should stop it.

    If this doesn't help, please share your capx file.

  • Just use gestures instead of basic touch events.

  • See my screenshot above how you check which layout is active!

    System->Compare two values -> LayoutName equals <your layout name>

    Instead of having separate variable for each level (Level1, Level2, Leve3 etc), just make one global variable LevelProgress.

    Add 1 after completion of each level to it.

    In your LevelMap check the value of LevelProgress and unlock next level icon. For example if LevelProgress=2, then level 3 is unlocked.

  • Another thing I noticed - you have almost identical event sheets for levels 1 and 2.

    You can delete EventLevel2, and set the same event sheet for both layouts.

    If you need to do something different for each level, just check which layout is active:

  • No problem!

    Or you can do this:

    This means - if sound is playing, stop it. And then play the sound from the beginning.

    (oops, forgot to delete the old line with empty "" tag)

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 22 Dec, 2024

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