简体   繁体   English

2D恐怖游戏手电筒

[英]2D Horror Game Flashlight

I'm trying to make a 2D horror game, which some can argue are less scary than 3D horror games. 我正在尝试制作2D恐怖游戏,有些人可以认为它不像3D恐怖游戏那么恐怖。 To compensate, I'm trying to make everything around the character dark except for a circle around the player. 为了弥补这一点,我正在尝试使角色周围的所有物体变暗,除了玩家周围的一个圆圈。 How can I accomplish this with paint? 我该如何用油漆做到这一点?

I can draw over the background with black, and make the darkness move when the player does, but how can I make the light around him circular? 我可以用黑色绘制背景,并在玩家移动时使黑暗移动,但是如何使他周围的灯光变成圆形呢?

Take a black image and create a transparent circle in the center. 拍摄黑色图像,并在中间创建一个透明的圆圈。 Then you just need to stick the center of the image to your character. 然后,您只需要将图像的中心粘贴到角色上即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM