Ren’Py預留了所有不以數字和字母開頭的檔案名,以及所有以“00”開頭的檔案名。有個非常特殊的例外,Ren’Py內部使用以“00”和“_”開頭的文件。
Ren’Py預留了所有以單下劃線(_)開頭的名稱。不要以單下劃線開頭定義任何名稱,因為有可能未來的某個Ren’Py版本就會將那個名稱用作預留名,這會讓你的遊戲崩掉。
下面是一個Python所使用的預留名列表。復用這些名稱可能會導致“令人抓狂/無法除錯/拍壞鍵盤”的問題。
下面是一個Ren’Py所使用的預留名列表。儘管在某些情況下重定義這些名稱也情有可原,不過我們還是要儘量避免,不然容易出現“令人抓狂/無法除錯/拍壞鍵盤”的問題。
AddToSet()AlphaBlend()AlphaDissolve()AlphaMask()AnimatedValue()At()Attribute()AudioPositionValue()BarValueBorders()Call()Character()ColorComposeTransition()Composite()Condition()ConditionSwitch()Confirm()Crop()CropMove()DictInputValue()DictValue()DisableAllInputValues()Dissolve()DragDragGroupDynamicDisplayable()DynamicImage()EndReplay()Fade()FieldInputValue()FieldValue()FileAction()FileCurrentPage()FileCurrentScreenshot()FileDelete()FileJson()FileLoad()FileLoadable()FileNewest()FilePage()FilePageName()FilePageNameInputValue()FilePageNext()FilePagePrevious()FileSave()FileSaveName()FileScreenshot()FileSlotName()FileTakeScreenshot()FileTime()FileUsedSlots()Fixed()Flatten()FontGroup()Frame()Function()GalleryGamepadCalibrate()GamepadExists()GetTooltip()Grid()HBox()Help()Hide()HideInterface()If()Image()ImageDissolve()InputValueInvertSelected()Jump()Language()LayeredImage()LayeredImageProxy()MainMenu()MixerValue()MouseMove()MoveTransition()Movie()MultiPersistentMultipleTransition()MusicRoomNoRollbackNotify()Null()NullAction()OpenURL()ParameterizedText()Pause()PauseAudio()Pixellate()Placeholder()Play()PlayCharacterVoice()Preference()PushMove()Queue()QueueEvent()QuickLoad()QuickSave()Quit()RemoveFromSet()Replay()RestartStatement()RollForward()Rollback()RollbackToIdentifier()ScreenVariableInputValue()ScreenVariableValue()Screenshot()Scroll()SelectedIf()SensitiveIf()SetCharacterVolume()SetDict()SetField()SetMixer()SetMute()SetScreenVariable()SetVariable()SetVoiceMute()Show()ShowMenu()ShowTransient()ShowingSwitch()SideImage()Skip()SnowBlossom()Solid()SpriteSpriteManagerStart()StaticValue()Stop()StyleStylePreference()Text()Tile()ToggleDict()ToggleField()ToggleMute()ToggleScreen()ToggleScreenVariable()ToggleSetMembership()ToggleVariable()ToggleVoiceMute()TooltipTransformVBox()VariableInputValue()VariableValue()VoiceReplay()With()XScrollValue()YScrollValue()advblindscenterdissolveeasefadehpunchirisinleftmain_menumenumouse_visiblemovemoveinrightmoveoutrightname_onlynarratornvl_clear()nvl_hide()nvl_menu()nvl_show()offscreenleftoffscreenrightpixellatepushrightresetrightsave_namesayslideawayleftslideleftsquarestoplefttoprighttruecentervoice()voice_can_replay()voice_replay()voice_sustain()vpunchwipeleftzoominzoominoutzoomout