dop2000's Recent Forum Activity

  • There must be a mistake in your code. I can't help you without seeing it, please post your capx or a screenshot of events.

  • I keep saying that MoveTo is not the same as tweening, but Ashely won't listen.. These two behaviors look similar, but serve different purposes.

    With tween you can't make an object to accelerate to max speed, move at constant speed for some time and then decelerate to zero and stop. Yes, you can use one of the "In-Out" functions or linear, but this will not be same.

    MoveTo can change direction and continue moving at the same speed to a new position. Tween can't do this.

    Tween can't be stopped by solids.

    With MoveTo you don't have to care about the time - you tell the sprite to move to a position and that's it, it will arrive when it will arrive. With tweening you need to calculate the duration, which depends on the distance, approximate speed and chosen function.

    The list goes on...

  • There are hundreds of useful expressions in C2, you can easily find them in that semi-transparent window that appears when you are editing event parameters:

    For example, instead of that huge formula, you can simply use distance() expression.

    Also, having different animation frames for each distance is not a very good solution. Here is a demo I made with a variable arrow size:

    dropbox.com/s/kbmvya5np2jzq68/ArrowOnTilemap.capx

  • You need to add up values from all instances?

    Set GlobalVar to 0
    System For each SpriteA -> Add (SpriteA.truk) to GlobalVar
    
  • You can do something like this:

    On touch start -> Player find path to Touch.x, Touch.y
    
    Is in touch
    Every 0.3 seconds -> Player find path to Touch.x, Touch.y
    
    Player on path found -> Player move alone path
    
  • You do not have permission to view this post

  • It depends on how heavily this game template relies on LiteTween.

    You may be able to use Sine or some other behavior instead. Replace all events and actions, then delete the plugin.

  • Paster works pretty fast, you can update it on every tick.

  • It's a bug, I reported it here:

    github.com/Scirra/Construct-3-bugs/issues/2216

    Please comment on github if you have anything to add to my description.

  • Yeah, sometimes Construct is very restrictive and requires you to write a lot of repetitive events, like "If variable=1 Set tile state to Normal, else If variable=2 Set tile state to Flipped, else ...."

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is not possible without addons. You can try Paster:

    construct.net/forum/extending-construct-2/completed-addons-29/-plugin-paster-66240

    Rotate the square, paste it onto the Paster object, then resize the Paster.

  • SparkleNaut Looking at your screenshot - that is a very wrong way to do loops in Construct! If you want to compare each letter one by one, do something like this:

    System Repeat len(s) times
     System compare two values mid(s, loopindex, 1)="_" -> Add 1 to counter
    

    Note, line #2 is a sub-event under #1.

    This whole loop will be done in one tick.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 9 Feb, 2025

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