JoystickDirectional improvements. Now you can use Alignment.
JoystickAction improvements. Now you can use Alignment.
Adds param PlayerControllerListener? observer in Joystick. If pass this param, the joystick will controll this observer and not the Component passed in player param.
Adds param PlayerControllerListener? observer in Keyboard. If pass this param, the keyboard will controll this observer and not the Component passed in player param.
BonfireWidget expect List<PlayerController>? playerControllers instead of joystick. With this improvements is possible pass multi ways to control de player or any component that contains the mixin PlayerControllerListener(use MovementByJoystick to move automatic by PlayerController interactions). With this improvements it's possible create a local multiplayer.
Removed keyboardConfig param from BonfireWidget. Now pass Keyboard instance in playerControllers.
Example using joystick and keyboard:
JoystickDirectional
improvements. Now you can useAlignment
.JoystickAction
improvements. Now you can useAlignment
.PlayerControllerListener? observer
inJoystick
. If pass this param, the joystick will controll this observer and not the Component passed inplayer
param.PlayerControllerListener? observer
inKeyboard
. If pass this param, the keyboard will controll this observer and not the Component passed inplayer
param.BarLifeDrawPosition
. #515Breaking Changes:
BonfireWidget
expectList<PlayerController>? playerControllers
instead ofjoystick
. With this improvements is possible pass multi ways to control de player or any component that contains the mixinPlayerControllerListener
(useMovementByJoystick
to move automatic by PlayerController interactions). With this improvements it's possible create a local multiplayer.keyboardConfig
param fromBonfireWidget
. Now passKeyboard
instance inplayerControllers
. Example using joystick and keyboard: