we need more info. How are you firing the bullet? Button, touch? This affects how you write the code. I would suggest watching my GSLogic series. This will help you learn to code in GS.
Hi,
Gun (Actor) should fire a bullet(Actor) at the touch position of the screen. there is no button, and the gun should rotate and aim to the touch position.
I'm presuming by the 'clever bit' you mean the normalising of VectorToAngle ? Pretty useful stuff, I was actually trying to work that out, I know @RThurman has posted in the past, but I couldn't find an example.
Comments
we need more info. How are you firing the bullet? Button, touch? This affects how you write the code. I would suggest watching my GSLogic series. This will help you learn to code in GS.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Hi,
Gun (Actor) should fire a bullet(Actor) at the touch position of the screen. there is no button, and the gun should rotate and aim to the touch position.
My Games Link:
https://itunes.apple.com/au/app/real-ants/id932999551?mt=8
lhttps://itunes.apple.com/au/app/horse-challenge/id930967102?mt=8
Help me if any one knows or have a tutorial on it ??
My Games Link:
https://itunes.apple.com/au/app/real-ants/id932999551?mt=8
lhttps://itunes.apple.com/au/app/horse-challenge/id930967102?mt=8
Something like this?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Nice !
The only clever bit was worked out years ago by @RThurman
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline
Thank you
My Games Link:
https://itunes.apple.com/au/app/real-ants/id932999551?mt=8
lhttps://itunes.apple.com/au/app/horse-challenge/id930967102?mt=8
I'm presuming by the 'clever bit' you mean the normalising of VectorToAngle ? Pretty useful stuff, I was actually trying to work that out, I know @RThurman has posted in the past, but I couldn't find an example.