Cocos2d-x_3.2 Demo -----------testResource.cpp文件

 1 static const char s_pathGrossini[]       = "Images/grossini.png";
 2 static const char s_pathSister1[]        = "Images/grossinis_sister1.png";
 3 static const char s_pathSister2[]        = "Images/grossinis_sister2.png";
 4 static const char s_pathB1[]             = "Images/b1.png";
 5 static const char s_pathB2[]             = "Images/b2.png";
 6 static const char s_pathR1[]             = "Images/r1.png";
 7 static const char s_pathR2[]             = "Images/r2.png";
 8 static const char s_pathF1[]             = "Images/f1.png";
 9 static const char s_pathF2[]             = "Images/f2.png";
10 static const char s_pathBlock[]          = "Images/blocks.png";
11 static const char s_back[]                = "Images/background.png";
12 static const char s_back1[]               = "Images/background1.png";
13 static const char s_back2[]               = "Images/background2.png";
14 static const char s_back3[]               = "Images/background3.png";
15 static const char s_stars1[]              = "Images/stars.png";
16 static const char s_stars2[]              = "Images/stars2.png";
17 static const char s_fire[]                = "Images/fire.png";
18 static const char s_snow[]                = "Images/snow.png";
19 static const char s_streak[]              = "Images/streak.png";
20 static const char s_PlayNormal[]          = "Images/btn-play-normal.png";
21 static const char s_PlaySelect[]          = "Images/btn-play-selected.png";
22 static const char s_AboutNormal[]         = "Images/btn-about-normal.png";
23 static const char s_AboutSelect[]         = "Images/btn-about-selected.png";
24 static const char s_HighNormal[]          = "Images/btn-highscores-normal.png";
25 static const char s_HighSelect[]          = "Images/btn-highscores-selected.png";
26 static const char s_Ball[]                = "Images/ball.png";
27 static const char s_Paddle[]              = "Images/paddle.png";
28 static const char s_pathClose[]          = "Images/close.png";
29 static const char s_MenuItem[]            = "Images/menuitemsprite.png";
30 static const char s_SendScore[]           = "Images/SendScoreButton.png";
31 static const char s_PressSendScore[]      = "Images/SendScoreButtonPressed.png";
32 static const char s_Power[]               = "Images/powered.png";
33 static const char s_AtlasTest[]           = "Images/atlastest.png";
34 
35 // 地图
36 static const char s_TilesPng[]            = "TileMaps/tiles.png";
37 static const char s_LevelMapTga[]         = "TileMaps/levelmap.tga";
38 
39 // 用于9宫格图片
40 static const char s_s9s_blocks9[]         = "Images/blocks9ss.png";
41 static const char s_s9s_blocks9_plist[]   = "Images/blocks9ss.plist";
42 static const char s_s9s_ui[]              = "Images/ui.png";
43 static const char s_s9s_ui_plist[]        = "Images/ui.plist";

 这个文件里定义需要的图片路径,其他没什么了。

你可能感兴趣的:(Cocos2d-x_3.2 Demo -----------testResource.cpp文件)