theseanmullins's Recent Forum Activity

  • I understand what you are saying, but I am still curious as to why the code seems to skip the set angle of motion and speed for 1 second in the function on line 15. I guess I am looking more for why is it doing that rather than how should I do it.

  • I wanted to see if I could call a function with another function, alas, it works.. Kind of. At least not what I had in mind. I wanted every 1 second to call the first function that would:

    1. Call a 2nd function that would prepare a sprite (bullet) to be pinned to an invisible sprite and position it at a certain imagine point, set a rotating motion to the sprite. then

    2. Set the angle of motion and speed that is listed in the first function

    What I get is, the first function is called, then second function is called to create the bullet, start spinning etc. but it does NOT set the direction and speed as I thought. It waits 1 seconds to send the first created bullet on its way then creates another bullet which hangs out for a second.

    Can someone walk me through what is going on and why the bullets are being created but the speed and direction are NOT set at the same time?

    The link at the bottom should have a Capx.

    https ://drive .google.com/open?id=1PIcyflt3Lxos5Mm91oNh210tGy_iP-aB

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

theseanmullins's avatar

theseanmullins

Member since 14 May, 2017

None one is following theseanmullins yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies