

Features:
- Card Hand Widget with customizable display settings, and a Card Widget with events set up (like on move, on dragged, on activated and so on) to build custom functionality
- An Example Map with a HUD widget for testing settings, and inputs set up
- An Example Card to showcase basic functionality implementation
Number of Blueprints: 2 (CardHand and Card) + 8 Example files
Input: Mouse, Keyboard, Gamepad all preconfigured
Supported Development Platforms:
Windows: Yes
Mac: Yes
Documentation: The included Example Map showcases most of the settings, the example cards include tips for basic use.
特征:
- 具有可自定义显示设置的卡片小部件,以及设置事件(如移动、拖动、激活等)以构建自定义功能的卡片小部件
- 一个带有HUD小部件的示例地图,用于测试设置和输入设置
- 展示基本功能实现的示例卡
蓝图数量:2个(卡片和卡片)+8个示例文件
输入:鼠标,键盘,游戏手柄全部预配置
支持的开发平台:
Windows:是的
Mac:是的
文档:包含的示例地图展示了大部分设置,示例卡包括基本使用的提示。
Orbital Market Link (for old Reviews/Questions)
The Card Hand widget handles displaying and manipulating an array of Card widgets.
It includes a dozen of settings to control how the cards are displayed to fit different games and requirements, and it’s all made to be easily expanded or adapted to your game logic.
Cards can be:
-
Added/Removed
-
Moved around either by dragging with the mouse, or with keyboard or gamepad
-
Dragged out of the hand to activate them
This template is meant as a starting point for a card game to handle the player hand logic.
Patch notes:
July 10th 2024
-
Bugfix: The first card added after the hand is emptied was not interactable until another card is added
October 7th 2023
-
Improved cards display when there’s only one or two cards in the hand
-
Fixed some inconsistencies in card angles and total hand width
-
Added a boolean parameter KeepStackOnLeft: If StackOnSides is enabled and there’s no card hovered, it keeps on view the rightmost (latest) cards instead of the start of the hand
-
Reworked the cards positioning method to improve appearance when StackOnSides is enabled
-
Added a StackMessiness parameter to determine how scrumbled should the stacked cards be on the side
-
Added a boolean parameter to utilize the old positioning method if preferred.
June 19th 2023
Card Hand Widget:
-
A card is now unselected if the mouse moves outside of it
-
Added an option to determine if after using a card, the next card should be selected or not.
-
The cards now stick to the bottom of the CardHand widget bounds.
-
Added an ExtraYOffset variable to control the vertical position of the cards in the hand.
-
In situations where a dragged card would have been stuck out of place, like when moving the mouse too fast
outside the widget bounds or when exiting the viewport, the card is now unselected and goes back in the hand.
-
Fixed various crashes related to trying to initiate actions without a card selected.
-
Fixed a focus issue
Example HUD Widget:
-
Expanded the size of the CardHand widget in the ExampleHUD widget. The expanded area allows better tracking
of the dragged cards.
-
Added a slider to control the ExtraYOffset variable
卡片手小部件处理显示和操作卡片小部件的数组。
它包括十几个设置来控制卡片的显示方式,以适应不同的游戏和要求,而且这一切都可以很容易地扩展或适应您的游戏逻辑。
卡片可以是:
-
添加/删除
-
可以用鼠标拖动,也可以用键盘或游戏手柄移动
-
从手中拖出来激活它们
这个模板是作为一个起点的纸牌游戏来处理玩家手逻辑。
补丁说明:
2024年7月10日
-
修正:在手被清空后添加的第一张卡在添加另一张卡之前是不可交互的
2023年10月7日
-
改进的卡片显示时,只有一个或两个卡在手
-
修正了卡角和总手宽的一些不一致
-
添加了一个布尔参数KeepStackOnLeft:如果启用了StackOnSides并且没有卡悬停,它会继续查看最右边的(最新的)卡,而不是手的开始
-
重新设计卡片定位方法,以改善启用StackOnSides时的外观
-
添加了一个StackMessiness参数,以确定堆叠的卡片应该在侧面有多混乱
-
添加了一个布尔参数来使用旧的定位方法,如果首选。
2023年6月19日
卡片手小部件:
-
如果鼠标移到卡片之外,卡片现在就不会被选中
-
增加了一个选项,以确定是否使用一张卡后,应选择下一张卡或不。
-
卡现在坚持卡和小部件边界的底部。
-
添加了一个ExtraYOffset变量来控制手牌的垂直位置。
-
在拖动的卡片会被卡住的情况下,比如移动鼠标太快
在小部件边界之外或退出视口时,卡现在未被选中并返回手中。
-
修复了与尝试在没有选择卡的情况下启动操作相关的各种崩溃。
-
修正焦点问题
示例HUD小部件:
-
在示例窗口小部件中扩展了CardHand窗口小部件的大小。 扩大的区域允许更好的跟踪
拖拉的卡片。
-
添加了一个滑块来控制ExtraYOffset变量

评论(0)