angular velocity (circular motion)

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Circular motion requires the input of X and Y coordinates (among other values). But different phones are of different sizes, so if you want, for example, the center of your circle to be in the center of the frame, how can you provide those coordinates without the use of variables. Circular motion will only accept actual numbers, entered in the property's window for an object. If you enter a variable calculated from something like frame width / 2, it will insert a zero for the X coordinate. How do I solve this problem?

    The property's window requires angular velocity, radius, centreX, centreY, and starting angle. These values must be entered before runtime except for angular velocity which is set by a "speed" command. I know of no way to change the other values at runtime unless you code the formulas. Did Andrew Mather (the author of circular motion) leave behind any documentation, especially, it is hoped, actual available code.

    Thanks!

  • Thanks Danjo for your reply. However, I think we may be discussing two different things. I know about the movement controller, but my issue for circular motion is I need to dynamically update DURING runtime the various values of the X and Y axis, the radius, the starting position, the velocity etc. These values are originally established in the property's section for the object before the game is even loaded into a phone, but I believe they need to be repositioned relative to the pixel dimensions of the individual's phone. An Androd phone may be different than an iphone, so I need to recalculate the location of the circle on which the object travels. If I am mistaken in that, let me know, but it seems logical to me. BTW, this is my first game for a phone so maybe I don't know what I am doing.

    Won't be the first time. Anyway, thanks for responding to me when nobody else has over the last couple of months.

    Ruddy_salt (Pat)

  • dynamically update DURING runtime

    Yea, Clickteam Movement Controller can do that. If you set in the actions following a create action, same event, it'll apply only to that created one. Similarly you can use conditions to filter which extension instances the actions apply to.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!