level 13
heifung
楼主
也许你对一般的RMXP 中2D显示的模式已经有点厌倦这时候你可以用一下以下伪3D的脚本来改变一下RMXP的显示此脚本的视觉弧度有不同的改变用法如下:在地图的名称后面加入[#14] 就能得到跟下图一样的效果...弧度能除你输入的数字不同而改变另外此脚本还有一个功能,就是把主角人物变小..有的时候RPG经常有大地图...但是如果大地图的人物角色跟在村庄内的角色大小一样..会有点奇怪...如果在大地图的名称加上[OV],就能达到主角人物变小的效果当然你也可以同时在地图名称后面加上[OV][#14]加上大地图的弧度。更具体的应用可以自行把下面脚本插入至你的rmxp游戏中进行测试=beginMode07 on the Map!Includes: Mode07 v0.6 Overworld Sprite Resize Written by mewsterusSpecial Thanks: Fanha Giang (for a reverse engineered Tilemap class)--------------------------------------------------------------------------------Instructions:--------------------------------------------------------------------------------To install, just insert this in a descriptive code slot right above Main. This is different than previous instructions; please read the next paragraph.If you had a previous install of this script and need an original version of Spriteset_Map, one can be found at: http://www.rpg-palace.com/scripts/spriteset_map.txtTo activate Mode07, add [#XX] to the map's name, replacing XX with the percentage of Mode07 to apply. Greater numbers will result in a more slanted world. To activate overworld sprite resize, add [OV] to the map's name. This will make sprites smaller on that map.For the purposes of location scripts, these identifiers will not appear.Examples:"Overworld[#40]" will result in a slant identical to the second screenshot."Underworld[OV]" will resize only the player character to a small size, as if seen from high above."Atthelevelworld[OV][#12]" will result in the player being resized, and a modest slant of 12%"JustPlainWorld" will result in the same old map you've always seen.To add a sky, simply use the panorama with the tileset. Also, events will not be drawn flat with the map. Any vertical objects such as trees should be put in events and displayed that way.You can also add a sky by adding a fog. If you add this, you can make it look like the first screenshot.A note on the $strip_size variable; the default value is 8, however there is extremely minimal, almost nonexistant lag with 16. The screen is extremely smooth with 4, or even 2. If you're having major problems with lag, you may need to use 32, but it won't look too pretty.--------------------------------------------------------------------------------* Draw_Tilemap v1.72-0.6Fanha Giang, 02/12/2006 (mm/dd/yyyy)Edited for Mode07 by mewsterus 08/08/2006 (mm/dd/yyyy)=end#===============================================================================$width = 640 # Screen width (will not change resolution,$height = 480 # Screen height here for compatibility)$ov_zoom = 0.6 # Overworld zoom multiplier$strip_size = 8 # Size of each strip of the map. Higher numbers will lag less.
2008年04月25日 10点04分
1