randomly's Recent Forum Activity

  • pmerineau

    Are you looking for an arc prediction that includes movement prediction of the enemy?

    ___________

    darkrealos

    Do you want arrows at the point where the object will hit the ground after it flies across the arc?

    You can use the above mentioned thread for that.

  • Those links are still online and should answer your question.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You should be able to use the "bar" function of the Pin behavior for this.

    See this example .capx.

  • I created a commented .capx for you, hope this helps.

    You can download it here.

  • Could you provide a .capx or at least a screenshot of the important sections of your event sheet please?

    That would help a lot.

  • I don't think that I completely understand what you mean.

    Could you try to more into the details please?

  • The best way to do this would be to store the maximum and current hitpoints in an (instance) variable and use the variables to display it.

    Set the text to "[currentHP] & "/" & [maxHP]"

  • Use the textbox event "On text changed".

    When that triggers, put the action "Textbox: Set text to:"

    Set the textbox text to:

    replace(Textbox.Text, "+", "")[/code:234wu1iz].
    If you want to remove [b]-[/b] as well, simply add
    [code:234wu1iz]replace(Textbox.Text, "-", "")[/code:234wu1iz]
    as well.
    
    If you want to put all in one action, you can use regex for the Textbox text.
    [code:234wu1iz]RegexReplace(Textbox.Text, "\+|\-", "", "")[/code:234wu1iz]
  • Download link is down, can you please reupload it? Thanks!

  • R0J0hound you never let me down.

    Actually, when I posted this, I hoped that you would answer.

    Thanks so much!

  • Here I am, struggling with math that goes above my head.

    Some days ago, I saw an animation of a sphere with white dots attached to it, rotating.

    Example:

    I thought that looked pretty neat and thought that it must be possible to recreate this in C2 with some simple math.

    How wrong I was.

    I found this page explaining how it should work.

    At some point reading through the article, I figured I still need to learn a lot to be able to understand this.

    So I kinda gave up on understanding it.

    But I didn't want to give up on at least having a finished version of it in C2, maybe even learning something in the process.

    So I went ahead and more or less copied the code in the article ( + the source code provided in the article) into C2.

    And of course it didn't work.

    Now I know that to help me with this is quite the request, but maybe someone got some free time and motivation and is up for this challenge.

    This is what I've gotten so far by simply copy&paste and that doesn't work at all.

    Now, again, I am no math expert, by no means, I simply want to complete this to go to sleep happily.

    Any feedback is hugely appreciated!

  • Object.PickedCount = Object.Count[/code:hx6ncj5q]
    

    So this condition picks all the objects again?

    Doesn't it work so that the first condition eliminates all objects out of the PickedList that don't meet the condition and the next condition works with that new PickedList?

randomly's avatar

randomly

Member since 26 Sep, 2016

Twitter
randomly has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies