dMZX Forums: End-of-tick global robot -> MegaZeux Feature Requests -> Tracker

Jump to content

Report ID 862 Title End-of-tick global robot
Product MegaZeux Feature Requests Status UNFILED (Severity 0 - None Assigned)
Version - Fixed in -

Page 1 of 1
  • Cannot start a new Issue
  • You cannot reply to this issue

Report ID #862: End-of-tick global robot

#1 User is offline  
Noser 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 01-May 24

Posted 20 June 2024 - 12:03 PM

After conversation in Discord about engines that introspect the board for visual effects, it's occurred to me that giving the global robot the ability to run something at the very end of a tick, in addition to the beginning, would be in line with the same design spirit as having the global robot in the first place, and would allow bypassing a few quirks relating to the reverse scan phase and slowtime/freezetime robot behavior.

I can think of a few possible implementations:
- At end of tick after the reverse-scan over the board, look for a particular label on the global robot and run it if present
- Allow the global robot to be a part of the reverse scan, so if it's just running a bare "end" on the forward pass and it gets a send, it'll do its work at the end of the reverse scan
- Have a second global robot with its own code, which always runs after the reverse scan
- Have a world flag that puts the global robot at the end when set (and maybe expose it as a built-in counter so it doesn't have to be a whole-world decision)

The third and fourth would require finding new places to put things in editor UI, which I understand to be getting increasingly hard. Of the first two, the first seems preferable to me since it doesn't require any on-board cooperation, but the second might be more in line with existing codepaths and design aesthetic.


Page 1 of 1
  • Cannot start a new Issue
  • You cannot reply to this issue

1 User(s) are reading this issue
1 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2025  IPS, Inc.