DMDTools / DOF2DMD

Utility for arcade cabinets to display game marquees, score and animations on a DMD device.
GNU General Public License v2.0
4 stars 1 forks source link

New score from DOFLinx 8.11 #6

Open ojacques opened 1 week ago

ojacques commented 1 week ago

text from exchanges with DDH69:

With DOFLinx >=8.11, DOFLinx will introduce a new scoring. DOFLinx can monitor up to 2 players (not 4). The challenge is that DOFLinx has no mean to know how many players there are, until scores start to change. So, in other words, start each game in a score format for 1 player until more players are discovered, then DOFLinx can send the max known players for the life of that game.

Examples:

For 1 player:

  1. Game starts, single player
  2. players=1,player=1,score=x
  3. Keep doing 2 until game ends then players=1,player=1,score=0

For 2 players:

  1. Game starts, 2 players
  2. players=1,player=1,score=X
  3. Keep doing 2 for first life of P1
  4. players=2,player=2,score=Y
  5. Keep doing 4 for first life of P2
  6. players=2, player=1,score=X
  7. Keep doing 2 for first life of P1
  8. players=2,player=2,score=Y
  9. Keep doing 4 for first life of P2
  10. Keep doing 6 - 9 until game ends then players=1, player=1,score=0

This is meant to be backward compatible with DOF2DMD original version.

The intent of this issue is to ensure scoring works the best we can with DOFLinx>=8.11

gustavoalara commented 1 week ago

Removed the v2 score board API call and modified the v1 score board API call to add the new DOFLinx Scored Board system