设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索

如何实现战争迷雾效果?

查看数: 5763 | 评论数: 4 | 收藏 3
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2017-5-27 15:10

正文摘要:

如图的效果 走过的地方和人周围是亮的 其他地方是暗的 应该用什么脚本 之前看到过 现在找不到了 求救~

回复

shitake 发表于 2017-5-29 23:19:13
用 shader
别指望 cpu 了
楼上诸位不要把战争迷雾和地图遮罩等同。
tseyik 发表于 2017-5-27 20:07:30
本帖最后由 tseyik 于 2017-5-30 12:46 编辑

Silvers Advanced Minimap (now with Fog of War!)
https://forums.rpgmakerweb.com/i ... h-fog-of-war.51307/
但只是Minimap有



測試了:Map Hidden設定true即可,詳細看挿件



https://github.com/cityshrimp/rmmv_fow
rmmv_fow
視頻
https://www.youtube.com/watch?v=VX62Lba6XM0&feature=youtu.be
Fog of War System for RPG Maker MV

Author: CityShrimp

Version: 1.1.2
Features

    Player Vision - Player can have vision (to clear fog)
    Event Vision - Events can have vision. These events will be referred to as origins
    Vision Range - Each origin has it's own vision range.
    Vision Type - Different vision shapes - diamond, square, circle, directional. Each origin can have it's own type
    Flying Vision - An origin can have flying vision (see through mountains, forest, etc).
    Vision Brightness - Each origin has it's own vision brightness
    Map Hidden - Entire map is initially blacked out, and map is revealed by origins
    Strict Diagonals - Can configure whether origins can see past two diagonally-placed blocked tiles
    Targets - Events can be marked as a target. Targets will disappear when it stands on a fogged tile
    Blockers - Events can be marked as a blocker. Blockers can block vision.
    Tile Type by RegionId:

    Plain: Can always see through
    Forest: Cannot see through unless on a hill, mountain, watchtower, or have flying vision
    Hill: Cannot see through unless on a hill, mountain, watchtower, or have flying vision
    Mountain/Wall: Cannot see through unless have flying vision
    Dark: Can always see through, but can never be revealed
    Blocked: Cannot see through unless have flying vision. Can never be revealed.
    Watchtower: Can always see through. Have elevated height (can be configured)

    Multiple ways to configure: Plugin Parameters, Map/Event notetags, Plugin Commands
linphy 发表于 2017-5-27 19:00:06
个人觉得通过把走过的地方设置为特殊的region id,可以实现
guoxiaomi 发表于 2017-5-27 15:13:54
烛光系统?

Dungeons of Dredmor 这游戏还有中文?
拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-12-1 03:39

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表