brushfe's Recent Forum Activity

  • If I understand right, it just means you can't call a return-value function without caring about its return value (Logical, sure, but C2 gave you a lot more flexibility)

    In C2 I'm sure that I could call this function without worrying about its return value:

    But in C3, it seems like I have to do this:

  • Thanks for the quick reply!

    But if these functions can only be called as expressions, doesn't that mean they can't be used for anything else (actions like changing animation, adjusting effects, etc)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • (I'm still getting used to the C3 functions, so I may be missing something obvious)

    I have a function called "SetNextRoom" which (among other things) is supposed to return a number. I've set its return type to "Number.

    But when I try to reference this function, it doesn't appear on the function list with the others.

    And when I set the return type to "None", it suddenly appears on the list.

    I'm used to this in C2 — am I missing something?

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • This is fantastic! What a great approach... so much simpler looking backwards. This has really helped me out.

    Never sure how to say a proper thanks, but thanks very much!

  • I've been building a baseball game based off this great ball formula from rojohound, and I'm now building the AI that needs to chase the ball.

    https://www.construct.net/en/forum/construct-2/how-do-i-18/design-2d-baseball-physics-135768

    What I've been trying to figure out is a way to predict where the ball will end up, and have the AI move to that location (rather than needlessly chasing the ball's current location).

    I've tried making a second copy of the ball, and multiplying the values in the formula, but I'm getting lost in the math and can't get it to slow down properly.

    If anyone has any thoughts or insight, it's much appreciated!

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

brushfe's avatar

brushfe

Member since 21 Jul, 2013

Twitter
brushfe has 2 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • 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
  • RTFM Read the fabulous manual
  • x10
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x3
    Lightning Draw First person to up-vote a new Construct 3 release
  • x3
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies