View Single Post
XxMoNsTeRXM XxMoNsTeRXM's Avatar

JCF Member

Joined: Sep 2013

Posts: 191

XxMoNsTeRXM is doing well so far

Feb 28, 2017, 03:41 AM
XxMoNsTeRXM is offline
Reply With Quote
Hi, I have suggestions for JJ2+.

Spectator Text Changes


It's really annoying that the spectator text appears above other AS drawn text/sprites/pixels/rectangles on the screen. It would be nice if a onDrawSpectatorText was added to AS, so scripts can interact with that and maybe even change spectator text. Something like this:
Code:
bool onDrawSpectatorText(jjPLAYER@ p, jjCANVAS@ canvas, jjOBJ@ spectatedObject/Player) { 
       return true; 
}
Update:
It might actually be better to add the spectated object/player as a jjPLAYER property. Then it will be like this:
Code:
bool onDrawSpectatingText(jjPLAYER@ p, jjCANVAS@ canvas) {
       jjAlert(p.spectatedObject + "");
       return true;
}

Spectator List


It would also be nice to be able to have a property in jjPLAYER which has a list of the players that are spectating you. Like this:
Code:
void onPlayer(jjPLAYER@ p) {
      for (uint i = 0; i < p.spectatorList.length(); i++) {
               jjAlert(p.spectatorList[i] + "");
      }
}
^
That would show which players are spectating you.
__________________
~XxMoNsTeR

Last edited by XxMoNsTeRXM; Feb 28, 2017 at 08:30 AM.