How to approach -hd files

前端 未结 1 1405
慢半拍i
慢半拍i 2021-01-25 01:06

EDIT: following the first answer I have looked more into stackoverflow and rephrased the problem as °how can I use only hd files?\" and found this: How do I stop Cocos2D

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-25 01:27

    In order to use retina images, you must include both the -hd and non-hd files with your project. They don't have to necessarily be the proper sizes, but they must both exist.

    So if you want to use a file called 0-red.png, you must include 0-red.png and 0-red-hd.png. Also, take note to have the -hd be at the end of the filename.

    0 讨论(0)
提交回复
热议问题