Not really, you want to set the angle toward a position if it is like a homing missile. Your object with the bullet behaviour is a sprite? Use sprite - set angle toward player.
Develop games in your browser. Powerful, performant & highly capable.
Set angle toward position : player.x,player.y
You do not have permission to view this post
Umm you are not destroying the objects? You need an event when the bullet on collision with family, destroy family.
Hiya, it's system (the cog icon) > compare 2 values. First value, family.count. 'equal to' Second value, 0. Then the action on the right side is 'restart layout'.
Hmm you said 3 guns. You mean one gun object that animates between 3 frames? You use a condition, depending on frame=0 or 1 or 2, you set the angle of the bullet to 0, 90 or 180.
Clicking the text object to exit the game works fine for me...
As for the question, you can says if family1.count=0 then restart layout. count is the number of family1 objects in the layout which is 2 to begin with.
This is just guess work without the file, please share the Construct 3 file.
For some reason I particularly like the flame on the staff before we shoot.
You're welcome xD
The visuals look great, but is it fun? Where can I play it? Thanks
Member since 5 Aug, 2013 Last online 7 Feb, 2025