In this simple app, I am trying to make a projectile flying from the middle of the screen to wherever the user touches, and beyond, to the edge of the screen. For whatever reason, the projectile will only fly to destinations with positive x coordinates, no matter when the user presses. If you imagine an x y plane, with the center of the screen (and at this point, the only spot the player can be) being origin, the projectile will only fly to places on in the quadrants to the right of origin. If the user touches a point on the left two, the projectile flies in the opposite direction, on the same slope as the ratio of the touch to origin. .... .........? Any ideas, thanks in advance
Related Article:C++ on iOS
is a Mobile Development discussion thread by SasseMan that has 2 replies and was last updated 1 year ago.