开发者

Using XML to program game levels in Cocoa

开发者 https://www.devze.com 2023-02-21 13:53 出处:网络
Im making a fairly big game for Mac appstore, and i would like to control my levels using XML. Basically I just need to be able t开发者_如何学编程o read co-ordinates out of the XML document and into c

Im making a fairly big game for Mac appstore, and i would like to control my levels using XML. Basically I just need to be able t开发者_如何学编程o read co-ordinates out of the XML document and into cocoa, where I can use them to move objects for each level. How do i parse this file in cocoa?

Thanks for your help


NSXML should have everything you need to get started.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号