dop2000's Recent Forum Activity

  • you can also use lerp function: Set max speed to lerp(currentSpeed, targetSpeed, dt*4)

  • Ok, multiplying by 1.05 is not a good idea - when the value drops too low, it takes a long time to increase it.

    Try this:

    Is touching GasPedal
    	Set pathfinding max speed to min(Self.Pathfinding.MaxSpeed+4, 200)
    
    Else
    	Set pathfinding max speed to max(Self.Pathfinding.MaxSpeed-4, 0)
    

    min() expression will choose the smallest of two values, so yes, 200 is the highest possible speed.

    max() will choose the biggest of two values, in this case it will not allow the speed to drop below zero.

  • I think the best solution would be temporary pinning the character sprite to the platform (when player is not pressing any keys).

  • You can change pathfinding max speed like this:

    Is touching GasPedal
    	Set pathfinding max speed to min(Self.Pathfinding.MaxSpeed*1.05, 200)
    
    Else
    	Set pathfinding max speed to Self.Pathfinding.MaxSpeed*0.95
    
  • You can try setting global time scale to 0.5 and object time scale to 2. (System -> Set Time Scale action)

  • You can put sprites and text onto layout and make a snapshot, and then share this snapshot. See this post:

    construct.net/en/forum/construct-2/how-do-i-18/share-screenshot-130409

    It's much easier to share in Construct 3, as it has a native Share plugin now.

  • It's not recommended to move Physics objects with non-physics actions or behaviors. (In your case "Set position")

    I would probably attach two objects together with a revolute joint and rotate the bigger object by applying force.

  • You don't need 8direction, see this demo:

    dropbox.com/s/9vw1izsg97svbvo/WallClimbing.capx

  • You've already asked this question 10 months ago and many people told you that this is a bad idea and won't work.

    You need to re-think the way you do zooming in your game, use different images or even layouts for different zoom levels.

  • Unfortunately, it's not possible to access variables by their string name. So the only option for you is to add a bunch of events like this:

    If var_name="FRA_hue_red" then Set Result=FRA_hue_red
    Else
    If var_name="FRA_hue_blue" then Set Result=FRA_hue_blue
    Else
    If var_name="FRA_hue_green" then Set Result=FRA_hue_green
    etc..
    

    Another solution is to use a dictionary instead of global variables. With dictionary you can easily access keys by name - Dictionary.Get("FRA_hue_red")

  • You can do this with image points only. On click, check distance to image point, for example:

    Mouse on Enemy clicked
    If distance(Mouse.x, Mouse.y, Enemy.ImagePointX("LeftLimb"), Enemy.ImagePointY("LeftLimb"))<50 
    	Destroy LeftLimb
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Bill's Yield: " & (round(tmpBill3 * 100) / 100)

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies