Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
hi in my app i need to add lasers who are shoot from the cockpit of my ship, how to make the sprites go very far to the center of the screen?
here is my ship cockpit (wip).
https://s3.postimg.org/42on5ok4h/ship.jpg
can someone help?
Develop games in your browser. Powerful, performant & highly capable.
Something like this?
https://www.dropbox.com/s/fcst2wdhp2i4f ... .capx?dl=0
Left click to shoot to mouse point,
Right click to shoot to screen centre.
You could also add in some fancy stuff like particle effects that move from the laser origin to the mouse co-ords/screen centre.
thanks a lot mekonbekon
imothep85
No worries <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
You might also find this useful for other weapon effects:
https://www.dropbox.com/s/hrr7lggb5b3sh ... .capx?dl=0
mekonbekon can you explain me how to control the red bullets in your capx, firing with the joypad xbox if i push the button B for firing, and control the directions with the analog left joystick?
i dont use the mouse for my game, thanks
Hi imothep85
I haven't used the joypad plugin, but I would guess that you could use:
Axis(Gamepad, Index)
...to move an invisible object on the screen, and then use the co-ordinates of that object in place of the mouse (x,y).
i solved it using your file and doing some changes mekonbekon