Egg's Recent Forum Activity

  • Thanks for the quick answers

    I try to set cross-domains

  • I need to get data from a xml file from my website, but I get no data with: AJAX get http://mysite.nl/myfile.xml

    If I place the file in my project/Files/myfile.xml I get the data as expected

    Please help

  • Thanks! Keep on this good work.

  • this is just the begin... <img src="smileys/smiley17.gif" border="0" align="middle" />

  • R0J0hound

    Thanks of your help with just 5 events, all the eggs are picked

    After 20 years C++ programming, I have to learn the Ashley Language

    Let's call it A++ <img src="smileys/smiley36.gif" border="0" align="middle">

    C2 is Amazing, very fun to work with!

    EggShooter

  • Thanks a lot

    I look on it and try it out...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • here is the EggShooter so far: EggShooter with Construct 2 <img src="smileys/smiley1.gif" border="0" align="middle"> scirra.com/FORUM/smileys/smiley17.gif

  • I am making a EggShooter like BubbleShooter.

    If the player hit a egg, the program have to collect all eggs around with the same color.

    after using this function all the eggs with property net = 1 can be removed.

    In code I do it this way, and I wonder how to do this in Construct 2

    function BuildNetByColor(xx, yy, color)

    {

        For Each(egg in Eggs)

        {

            if (egg.net == 0)

            {

                if (egg.visible)

                {

                   if (egg.AnimationFrame == color)

                   {

                        if (egg.distance_to_point(xx,yy) < 40)            

                        {

                            egg.net = 1;

                            BuildNetByColor(x, y, col);//recursion

                        }

                   }

                }

            }    

        }

    }

Egg's avatar

Egg

Member since 18 Jul, 2011

None one is following Egg yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies