project-navigation
Personal tools

Author Topic: Message system blues  (Read 3209 times)

Amtep

  • Guest
Message system blues
« on: November 01, 2008, 01:00:03 pm »
This is about the geoscape, and my experience in playing a campaign with the svn trunk.

The main thing that interfered with gameplay (other than the bugs) was that when multiple messages appear, only the latest one is shown. There is no indication that there were multiple messages. The consequence of this is that every time I see a new message at the top, I have to check the message history to see if I missed anything. Since most game events are announced with a message (or two, or three...) I was checking that history a lot. Keeping the message history pulled down doesn't really work since it obscures half of the geoscape.

I think this can be improved by adding some flexibility to the number of messages that are displayed at the top. I would want it to show all the 'new' messages when new messages appear, without taking up a lot of screen space in the normal case.

I propose to add a counter that controls how many messages are shown. When new messages appear, the counter goes up by that many messages, so that it will show them all. In addition, once per real-time second it will count down by 1, to a minimum of one message. (There should also be a maximum, so that it doesn't run off the screen.)

The effect is an instant visual indication that multiple messages have arrived, and a short time to read them before they go away and stop bothering the player. If the player didn't read them in time, that's still okay, because the player now knows that they missed a message and can look it up in the message history.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: Message system blues
« Reply #1 on: November 01, 2008, 03:19:33 pm »
We maybe easilly can do what you say. The button talk about can respectivelly set the size of the list 1, 2, 5, 10... half of the screen... 1... when we click more than one time. But I dont look at the code yet.

Offline RudolfoWood

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Message system blues
« Reply #2 on: November 01, 2008, 05:31:36 pm »
How many messages would be there at exactly the same time? Perhaps this could be used as an indicator whether messages should be showed.

I know that there was some discussion about this on irc.

In my opinion the most difficult part would be to know whether a message breakes into 2 lines or uses only one line - this must be known to show appropriate lines.

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Message system blues
« Reply #3 on: November 01, 2008, 06:36:44 pm »
I guess that better idea will be to use "…" and string truncating in normal view, show all unread messages (mark its as readed when user click on messages or button). And show uncutted messages in full view.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Message system blues
« Reply #4 on: November 01, 2008, 06:48:27 pm »
I was thinking about how to do it. The size and height can be set (increased) on that text node easily and we could use timeout event (menuscript) to reduce them again. Oppinions?

-geever