Openning door like Resident evil - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Archives (https://www.save-point.org/forum-105.html) +--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html) +---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html) +----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html) +----- Thread: Openning door like Resident evil (/thread-6861.html) |
Openning door like Resident evil - Berith - 12-31-2005 Openning door like Resident Evil Berith Dec 31 2005 This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss. No support is given. If you are the owner of the thread, please contact administration. i've made this for people who make Resident evil fan game this script work for the door only because if you alot door and scripting all animation will be boring. it's just required 4 picture to put in game folder picture door = 1 closed door = 2 open a little door = 3 open at middle door = 4 open totally you can use your own picture instead. Door picture see under the code for people who want customize it to call it call script: Code: $scene=Scene_Door.new Code: #========================================================= it's a small code to show the picture if i want to change it for an other door like Hall gate @hallgate_0 = Sprite.new @hallgate.bitmap = RPG::Cache.picture("hallgate") Graphics.transition(35) Graphics.freeze @hallgate.dispose however use a space between each easy viewing for other picture just add 1 like Hallgate1,2,3......and you can add more picture just add this bloc Code: @door= Sprite.new and add the sprite dispose under the last dispose. @yourdoorname.dispose hope this can help you |