ios - spawn images with the coordinates of a moving image in Xcode -
i want bullets (images) can "fired" x-axis-moving spaceship.
individual bullets bullet.center = cgpointmake (bullet.center.x, bullet.center.y - 3); repeatedly regenerated. however, will, if have x-axis specified indeed spawned , go on fly x axis of spaceship on screen.
what did wrong?
-sorry english, high german :)
it sounds added bullets subview / kid of spaceship. seek adding them spaceship's superview/scene.
ios xcode uiimageview xcode5 coordinates
No comments:
Post a Comment