User Interface Development Plan By: Bentley Johnson Jr' - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

User Interface Development Plan By: Bentley Johnson Jr'

Description:

Lighten() Callback (need class?) delay time. function pointer. 2D Display Objects. Inventory ... Loads fonts from .glf files (includes windows based .exe to ... – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 14
Provided by: www2H7
Category:

less

Transcript and Presenter's Notes

Title: User Interface Development Plan By: Bentley Johnson Jr'


1
User InterfaceDevelopment PlanBy Bentley
Johnson Jr.
2
Tasks
  • 3D Object Interaction
  • 2D Display Objects
  • 2D Text

3
3D Object Interaction
  • Mouseover
  • Highlighting
  • Cursor Changes (image or color)
  • Clicking
  • Picking
  • Callback methods

4
3D Object InteractionClasses
  • bzItem additions
  • Highlight flag
  • callback function
  • Rendering addition(class TBD)
  • Highlight()
  • MouseEventHandler
  • position
  • EnterObject()
  • LeaveObject()
  • Picking()
  • DistanceToObject()

5
3D Object InteractionClasses
  • Cursor
  • currentIcon
  • List of Icons(with names)
  • SetIcon(char name)
  • Darken()
  • Lighten()
  • Callback (need class?)
  • delay time
  • function pointer

6
2D Display Objects
  • Inventory
  • Internal representation
  • Graphical output
  • Icons / Labels
  • Mini-Map
  • Position Rendering
  • Other features?

7
2D Display ObjectsClasses
  • Icon
  • 2D position
  • texture
  • Draw()
  • bzItem addition
  • Icon
  • Character addition
  • Inventory
  • Inventory
  • List of Items
  • 2D position/Region
  • AddItem()
  • RemoveItem()
  • HasItem()
  • Draw()

8
2D Display ObjectsClasses
  • MiniMap
  • 2D position
  • viewport
  • Camera instance
  • Height above player
  • Render()
  • Other MiniMap Features
  • To Be Determined

9
2D Text
  • Research a Text/Font ToolKit
  • Implement Toolkit into Bronze
  • On screen text with background
  • Drop Shadowing
  • Fonts and colors
  • Connect to Conversation module

10
2D TextToolkit Research
  • glFont
  • Loads fonts from .glf files (includes windows
    based .exe to create .glf files from any font)
  • Stores as a Texture
  • Simple calls to draw. Draws on GLQuad.
  • OpenGL Matrices can easily manipulate.
  • Needed extension Need to setup wrapping
  • If this doesnt work, will continue looking

11
2D TextClass Idea 1
  • Text (1 for all fonts)
  • Text region
  • currentFont
  • List of Fonts
  • fontSize
  • textColor
  • shadow - bool
  • shadowColor
  • backgroundTexture
  • Color?
  • AddFont(char filename)
  • SetFont(char name)
  • SetRegion()
  • SetFontSize()
  • Set Color/Shadow Color
  • TurnShadowOn/Off()
  • SetBackgroundTexture()
  • PrintText(char text)

12
2D TextClass Idea 2
  • Text (1 for each font)
  • Text region
  • font
  • fontSize
  • textColor
  • shadow - bool
  • shadowColor
  • backgroundTexture
  • Color?
  • SetFont(char filename)
  • SetRegion()
  • SetFontSize()
  • Set Color/Shadow Color
  • TurnShadowOn/Off()
  • SetBackgroundTexture()
  • PrintText(char text)

13
Questions / Suggestions?
Write a Comment
User Comments (0)
About PowerShow.com