Can someon please help me i would like to get my ti fighter to shoot | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someon please help me i would like to get my ti fighter to shoot

Can someon please help me i would like to get my ti fighter to shoot. My hope is that i could have it shoot the death star. https://code.sololearn.com/WJp8fZx7Z9bB/?ref=app

9th Dec 2018, 2:04 PM
Destroyer
2 Answers
0
Create and append new element for a projectile. Then use same move method that ti fighter has but put it in the loop, until it collide with the death star or edge of the screen. Dont forget to delete them once its no longer moving
9th Dec 2018, 3:19 PM
Taste
Taste - avatar
0
Thanks man.
9th Dec 2018, 3:21 PM
Destroyer