Heptagono's Recent Forum Activity

  • How do construct 2 could create a wave animation similar to the next image?

    <img src="http://www.clker.com/cliparts/8/J/O/V/S/0/radio-waves-hpg-hi.png" border="0" />

    I've tried with this project:

    dropbox.com/s/v3ni0y0gnvlcmrp/waves.capx

    But it just draws it, not animate a flowing displacement of that waves.

    How to solve it?

  • Hi everybody!

    I'm trying to animate some geometrical waves that came from a central point.

    By now, I'm using a canvas and using the arc property to draw them. But now, I want to animate them and I find problems.

    dropbox.com/s/wus1osezcq67rb1/waves.png

    I think that the proper use of loops could be key to solve this but I'm not able to finish it by myself

    Anyone could give a hand?

    Thanks in advance!

  • Hi everybody!

    I was wondering how to fill a geometric shape with color in the wonderful Canvas plugin found in this forum.

    So, I've tried to do so in this project. But something gone wrong. It seems that the floodfill command doesn't work fine:

    Anyone had faced the same experience?

    dropbox.com/s/7tz6c2fdatu33si/floodfill.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That was near the solution, thanks! But for some values, the line breaks.

    The formula I have finally used and works fine is:

    Y=((((X-x1)*(y2-y1))/(x2-x1))+y1

    Where x1,x2,y1,y2 and X are known values.

    Nevertheless, thanks a lot!

  • I had 2 points known. All are moving al time, like particules in a fluid. The thrird one is a wall. So I know only it's X. The only thing to find out is the Y.

    Because of that I must be careful of two moving points to obtain a straight line.

  • It works! Due to a factor: The final X is always known. The only thing left to find out is the Y. Easy!

  • Perhaps, this could be useful:

    If I want to have an X and Y whatever points in this space, I can use:

    ((X -x1)/(x2-x1))-((Y-y1)/(y2-y1))

    What do you think?

  • x1 is constant, y1 is variable.

    x2 is variable, y2 is constant.

    The ray (represented by this line, must go further x2,y2 to the infinite.

  • Yes, but there is a problem with that: The line must be straight. And the points 1 and 2 are moving all time...

    Seems quite difficult...

  • Humm

       I have a canvas object. And...

       I was wondering myself how to draw a line depending on three points. It's compulsory that it it passes through three points due its a light ray and a prism...

       But I only see an action wich is :Draw Line from X1,Y1 to X2,Y2 ...

    �Any experience in this?

  • Hi folks!

    I'm intented to spent this hollydays into development of a wordpress plugin that allows users to load html5 games exported by Construct 2, into pages, categories or posts of their wordpress blogs.

    By now, I solve the situation just adding an iframe that contains a isolated html website containing the html5 game. But this is not a clean solution, due to the security problems associated to iframes.

    Therefore, my aim is to develop that plugin and to share it with all the community. But, How can I start? Anyone is already in this project? Any idea on how to start it?

    Greetings!

Heptagono's avatar

Heptagono

Member since 25 May, 2012

None one is following Heptagono yet!

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies