I am pretty new to Construct 2 and this is my first post in these forums!
I'm creating a platform game. When I hold down the RMB, I want my player to hold a shield.
So, I tried that by creating an object on mouse holding down, but when my player moves he creates shields all the time.
On release of the button all shields are destroyed.
My questions are:
-How do I create only 1 shield that is attached to the player.
-How do I position the shield according to my player.
-How do I make my shield rotate around my player depending on the mouse angle.
Develop games in your browser. Powerful, performant & highly capable.
Try this, there are more advanced ways, but that is one of the simpler
https://dl.dropboxusercontent.com/u/108 ... hield.capx
Just have a shied there all the time but invisible. When the mouse button is down set the shield to visible (or set a variable and have the shield trigger of that). Only have the shield work to protect the player when it is visible.
Thank you all for your quick responses. This really helped a lot!