MovingBlocks

Create a radial-menu based emote system

We have a radial menu widget, but no current functionality taking advantage of it. This task aims to create a radial menu offering access to a dynamic number of emotes, at first simply sending text notifications to the game chat console.

The task should provide the basic implementation of the system and offer a way for other modules to register available emotes to the system, expanding the menu as needed.

Note: Being that the widget hasn't been put to use before there is a chance it may have broken

Definition of 'Done'

  • A new module repo is created (ask a mentor for one under the Terasology org or start in your own repo at first)
  • 3+ screenshots are submitted as part of a thread in the Suggestions forum documenting the module (show a notification in the chat panel and at least two different amounts of entries in the radial menu - for instance disable a few defined emotes)
  • Bonus: Improve the documentation for the radial widget / NUI wiki

Where to start

  • See the general NUI tutorial at https://github.com/Terasology/TutorialNui/wiki
  • Find the radial menu example in the same repo to see how one works
  • Search the code base for uses of the NotificationMessageEvent class to see how notifications work
  • See the FrobButton for an example of how to make a new hot key (pick an idle key of your choice until discussing a permanent choice with a mentor) as well as how annotations can be used to auto-register hot keys (something similar could be used to auto-register emotes)

Task tags

  • radial menu
  • ui
  • emotes
  • registry

Students who completed this task

Aleksander Wójtowicz

Task type

  • code Code
  • web Design
close

2017