测试能否修改

马里奥 2人参与 0 次点击

在 “灌水区” 中创建新话题

    2 讨论 | 直到 2019-05-10 12:29:14
  • noneByte
    1
    # Defined at class level
    const THEMES = [# Theme 1{
            tileset = 'tileset_1',
            NPC_mid_boss = 'folder_1/mid_boss',
            NPC_end_boss = 'folder_1/end_boss',# ...},# Theme 2{
            tileset = 'tileset_2',
            NPC_mid_boss = 'folder_2/mid_boss',
            NPC_end_boss = 'folder_2/end_boss',# ...},# ...
    ]
    
    
    func my_func():# Pick a random theme
        var theme = THEMES[randi() % THEMES.size()]
        tileset_to_use = theme.tileset
        # ...
    
  • noneByte
    2
    /*** comm ***/
    .site{
    	background-color: #eff3f5;
    }
    .hidden{
    	display: none;
    }
    /*** header ***/
    .site-title{
    	line-height: 32px;
    }
    .menu-top ul > li > a{
    	font-size: 16px;
    	font-weight: 400;
    }
    .menu-top{
    	margin-left: 240px;
    }
    .logo{
    	height: 32px;
    	width: 150px;
    }
    /*** widget ***/
    #bbp_search_submit{
    	display: none;
    }
    #bbp_search{
    	width: 100%;
    	padding: 10px;
    	border: 0;
    }
    /*** footer ***/
    .site-footer{
    	border-top: 1px solid #fff;
    }
    .footer-right .logo{
    	height: 30px;
    	width: 124px;
    }
    /*** mobile ***/