arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

Allow scripts to show messages to players #439

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Scripts should be able to show messages/alerts to players in a way that is a 
little more obvious that sending a chat message.  Think about a way to do this. 
 Perhaps a floating message in the center of the screen that does not obscure 
the action underneath?

Original issue reported on code.google.com by watusim...@bitfighter.org on 1 Jun 2014 at 11:41

GoogleCodeExporter commented 9 years ago
Scripts can send private messages which appear yellow.  Is this not enough?

Original comment by buckyballreaction on 29 Jun 2014 at 10:07

GoogleCodeExporter commented 9 years ago
I was thinking more of levelgens making general announcements, rather than 
personal messages to players.  Something like "Here come the zombies!!"

Original comment by watusim...@bitfighter.org on 29 Jun 2014 at 11:04

GoogleCodeExporter commented 9 years ago
I have already coded in the ability for levelgens to do the /announce command, 
which sends that big red message.

Original comment by buckyballreaction on 29 Jun 2014 at 11:15

GoogleCodeExporter commented 9 years ago
I forget the original use case for this, but imagine the zombie game that 
bobdaduck created.  Would that announcement be useful for letting players know 
that the zombies were about to attack?  If so, perhaps we can close this case.

Original comment by watusim...@bitfighter.org on 29 Jun 2014 at 11:39

GoogleCodeExporter commented 9 years ago
Yes.  And in fact, it was used in several of bobdaduck's newer levels to alert 
players of impending doom.

But maybe I misunderstood what this issue is about - are you thinking of 
allowing other UI manipulation with scripts?

Original comment by buckyballreaction on 30 Jun 2014 at 12:39

GoogleCodeExporter commented 9 years ago
I was not specifically thinking about that... we've never had what I felt was a 
compelling use case for that.  I was just requesting a way for levelgen 
scripters to add another dimension to what they could do, and was thinking 
specifically of the zombie level as a good example of where a non-intrusive 
message display could be used.

Original comment by watusim...@bitfighter.org on 30 Jun 2014 at 7:53