本帖最后由 漫漫人生路 于 2014-9-14 23:08 编辑  
 
您点的脚本。 
点我  
 
还有脚本的必须图片 
度娘  
 
使用方法直接仍在 Main脚本上方。 
文件都已经分好文件夹了,直接丢Graphics里。 
 
第32行的内容给你解释下。 
LOAD_BACKGROUND_PICTURES = [    "Background_1",    "Background_2",    "Background_3",    "Background_4",    #"Background_5",    #"Background_6"    #"Background_7",    #"Background_8",    #"Background_9",    #"Background_10",    # ...    ] 
 
 LOAD_BACKGROUND_PICTURES = [  
   "Background_1",  
   "Background_2",  
   "Background_3",  
   "Background_4",  
   #"Background_5",  
   #"Background_6"  
   #"Background_7",  
   #"Background_8",  
   #"Background_9",  
   #"Background_10",  
   # ...  
   ]  
 
  
这个内容就是你Graphics\Pictures下的图片名称。你可以随意添加。记得把图片名写进数组。 
载入画面图片背景就是在这个数组里随机一个。 |