简体   繁体   中英

How do I draw a new image without making a new UIImageView

I have a character in an iPod Touch game I am making that moves around the screen. That I have under control... However I want him able to shoot fireballs, and I don't want to have to make a new UIImageView for every fire ball he shoots. I have the image and everything... I think i need to use quartz core or openGL ES, but I can't make sense of the apple documentation.

另一种选择是在您的视图中实现drawRect ,并在那里绘制火球。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM