Maverick1912's Recent Forum Activity

  • Hi RBuster, these are my answer

    - I defined the array's width to 4 but I am getting 14 rewards around the circle. Do you know why?

    -> Yes, you need to set the width of the array to 0 in the properties section.

    - I intend to use images instead of text. How can I do to detect the image that was awarded? I would like to make it blink.

    -> You can add the value of the array into an instance variable of sprite.

    - in this example, the circle rotates and the pointer does not move. I would like to offer two modes: this one and a reverse of this? (the circle does not move and the pointer rotates)

    -> You can set speed to the pointer to make it rotates, if you want to reverse, add (-) into the speed.

  • And here is the screenshot of event sheet:

  • Ah I see, you can have a array to contain all your rewards.

    Then create the name reward around the center with this

    Repeat Array.Width times: Create Object: at position x,y

    Set text to Array.At(loopindex )

    Then set position

    X: center.X + radius *cos(360/Array.Width*reward.IID)

    Y: center.Y + radius *sin(360/Array.Width*reward.IID)

    And set angle to angle(center.X, center.Y, reward.X, reward.Y)

    At last you will need to pin it to the center.

  • You mean random frame of your sprite, right?

    If yes, you can set frame right after create it to random(0, spinner.AnimationFrameCount)

    Notice that you need to set animation speed to 0.

  • You can go to project > save as and choose download a copy.

  • What do you mean with "duplicate a project"?

    Just copy and paste to another version.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can try this:

    The light will follow the mouse within a radius less than 400.

  • There you go:

  • That's all I want to tell you at the beginning.

    But glad that you solved it.

  • You do not have permission to view this post

  • I mean you only set text when adding the score and forgot to set it back when decrease it.

    You will need to compare Y of enemy > Your MC.Y

    Then you destroy that Enemy to avoid the score keep decreasing.

  • Have 2 variables

    numberTemp and numberMax

    When you have a value, set it to numberMax.

    Compare numberTemp with numberMax

    If it smaller, add 1/X of numberMax into numberTemp.

    If it bigger, set it equal numberMax.

Maverick1912's avatar

Maverick1912

Member since 13 Nov, 2014

Twitter
Maverick1912 has 17 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x8
    Coach One of your tutorials has over 1,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
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies