Sliding Portraits
Pages 14
Clone this wiki locally
Sliding portraits allow you to move your character portraits each time select screen is called. They will slide until they hit a defined value. This feature is not configurable via .ini, but via your screenpack definition files so you can make screenpacks aware of this feature. You need to enable them with bEnableSlidePortraits.
Currently sliding only on X axis is available (left-right), more axis are planned.
Player 1 (red) movement should be positive and negative for player 2 (blue), logic is currently hardcoded to following scheme:

There are new variables which you can add to your system.def, these are required to be in Select Info!
pX.portrait.slide.speed
How fast will the portrait move, X can be 1 or 2. Use a negative number for p2 (eg. -10.0)
pX.portrait.axis
Default 0
pX.portrait.slide.max.dist
If current portrait position hits this value, it will stop.
0.5.4
0.5.4 update adds new params:
portrait.slide.reset
Can be set to 1 (enabled) or 0 (disabled), this parameter will reset sliding each cursor move. Sliding will work like in Injustice or Jojo's Bizarre Adventure (https://www.youtube.com/watch?v=gCH_UjRkIow&ab_channel=Aubue)
If your character graphic displays wrong after some movement, adjust your box!