在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:phoboslab/TwoPointFive开源软件地址:https://github.com/phoboslab/TwoPointFive开源编程语言:JavaScript 97.3%开源软件介绍:TwoPointFive for ImpactTwoPointFive is a plugin for the Impact HTML5 Game Engine that provides a 3D viewport for the game world. DemoA demo game that uses this plugin is included in this repository. Please note that you need a license for Impact to actually run the demo. The UsageThe demo game and its sources in The most importantant thing for your entities is to subclass them from The layers in your level need to be named in a certain way for TwoPointFive to recognize them. The tile layers for the graphics need to be named TwoPointFive comes with some additions to Impact's Debug Module. To load it, simply require the A note about Tile SeamsWhenever drawing parts of an image in WebGL, such is done here when drawing tiles, WebGL may sample pixels from a region of the image that is outside the one you specified. This happens mostly due to rounding errors and will result in ugly seams between tiles. TwoPointFive attempts to work around this issue by redrawing your tileset into a slightly larger image and adding a 1 pixel border around each tile. This 1px border is a copy of the neighboring pixels. Whenever WebGL now samples a texture slightly outside the tile boundary, it will sample from this 1px border and thus avoid any seams in your map. If you do not want this behaviour, you can disable it by setting |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论