Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Gun Sight
   
奖励
收藏
已收藏
取消收藏
Microcontrollers: Calculation, Microcontroller
标签: v1.10.9
文件大小
发表于
更新日期
176.263 KB
2023 年 5 月 21 日 上午 8:44
2024 年 4 月 14 日 上午 4:46
2 项改动说明 ( 查看 )

订阅以下载
Gun Sight

描述
Microcontroller is 2x3.
Draws a nice crosshair with an adjustable colour and transparency. Optionally displays your range setting, if your cannon is loaded and how much ammo you've got and a nice black circle around your sight to give you that tunnel aesthetic (gun not included).

If you have any issues or further questions, drop a comment.

Feel free to use in your own creations

UPDATE:
Added a property setting to reduce the rendering step for the crosshair circle drawer. In simple terms, reducing the step makes it draw more circles which eliminates holes in 1x1 sights, at the cost of performance. I'll look into making a more elegant fix in the future.



21 条留言
funiek  [作者] 7 月 7 日 下午 5:52 
the viewing scope works like a hud, black becomes transparent
Chez :3 7 月 7 日 下午 12:32 
it doesnt seem to work with the viewing scope
funiek  [作者] 3 月 26 日 上午 10:08 
nice, glad you found it useful
m3 3 月 25 日 下午 5:17 
i made a tank using this
maksslime 2024 年 6 月 11 日 上午 11:51 
a good controller!:superhotprototype:
Hex3eGone 2024 年 4 月 14 日 上午 5:09 
Ok, thank you!
funiek  [作者] 2024 年 4 月 14 日 上午 4:47 
done, decrease step to minimum in the new settings to remove holes in 1x1 monitors
note that this is performance intensive, i have a better solution in mind but its gonna take some effort to implement it, this works ok for now i think
Hex3eGone 2024 年 4 月 14 日 上午 4:33 
OK, thx!
funiek  [作者] 2024 年 4 月 14 日 上午 4:26 
yeah, its an issue with stormworks circle rendering.
for context, the circle works by drawing a circle of a certain radius and then drawing many more bigger than that radius. if you advance the radius in steps of 1 pixel, it's not even slightly filled, so you must advance it in steps of less than 1.
to be honest, i never expected this thing to become relatively popular so i mostly ignored the issues at certain sizes, ill look into it today
Hex3eGone 2024 年 4 月 14 日 上午 1:06 
The 1x1 "circle around crosshair" has holes in in.