RPG

Tasklist

FS#670 - Simplify control logic

Attached to Project: RPG
Opened by neb (neb) - Tuesday, 16 February 2010, 14:45 GMT-7
Last edited by neb (neb) - Tuesday, 17 August 2010, 07:48 GMT-7
Task Type Usability
Category Platform
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority High
Reported Version 0.8
Due in Version 0.9
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This task comes from the investigation of  FS#627 . The control logic is overly complex (and not working properly). Its concept of queuing tasks (at various priorities and precedence) is overkill for what is needed to support the gameplay (namely, coordination of character activities). This is especially evident in that only walking and attacking are currently trying to use this system, and cannot coordinate themselves (causing at least the  FS#627  bug).

Make the rpg.control system obsolete. Replace it with an rpg.activity system, which allows the character to perform one (possibly repeating, timed) activity at a time. This is essentially the control system with one task at a time (which always preempts any existing task).
Closed by  neb (neb)
Tuesday, 17 August 2010, 07:48 GMT-7
Reason for closing:  Implemented
Comment by neb (neb) - Wednesday, 17 February 2010, 16:55 GMT-7
The control logic is implemented, but users (navigation and combat) must be tweaked to function properly under the new (simplified) activity approach.
Comment by neb (neb) - Thursday, 18 February 2010, 12:39 GMT-7
Control logic working for navigation and attack, but need to review announcements to make sure activities being coordinated according to new contract (else future activities will have issues).

Loading...