3D Game Programming All in One By Kenneth C. Finney.

Slides:



Advertisements
Similar presentations
Windows Basics An Introduction to the Windows Operating System.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
1 Excel Lesson 1 Understanding Excel Fundamentals Microsoft Office 2010 Fundamentals Story / Walls.
Excel Understanding Excel Fundamentals Microsoft Office 2010 Fundamentals 1.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Introduction To Form Builder
Chapter 13: Advanced GUIs and Graphics J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition.
1 Excel Lesson 3 Organizing the Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
CST JavaScript Validating Form Data with JavaScript.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
Java Software Solutions Lewis and Loftus Chapter 10 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Graphical User Interfaces --
Java Programming: From Problem Analysis to Program Design, 4e Chapter 12 Advanced GUIs and Graphics.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
© 2010 Delmar, Cengage Learning Chapter 8 Collecting Data with Forms.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Introduction to HTML Part 3 Chapter 2. Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Designer Basics.
® Microsoft Office 2013 Access Creating a Database.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Chapter 4 Working with Frames. Align and distribute objects on a page Stack and layer objects Work with graphics frames Work with text frames Chapter.
Chapter 1 – Matlab Overview EGR1302. Desktop Command window Current Directory window Command History window Tabs to toggle between Current Directory &
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 15 Creating User.
Practical Programming COMP153-08S Week 5 Lecture 1: Screen Design Subroutines and Functions.
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
User Interface Components Lecture # 5 From: interface-elements.html.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
© 2011 Delmar, Cengage Learning Chapter 4 Working with Frames.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Creating User Interfaces Chapter 13 CSCI CSCI 1302 – Creating User Interfaces2 Outline Introduction Common Features of Swing GUI Components Buttons.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
CMPF124 Personal Productivity With Information Technology Chapter 1 – Part 2 Introduction to Windows Operating Systems Manipulating Windows GUI CMPF 124.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Positioning Objects with CSS and Tables
MATLAB and SimulinkLecture 61 To days Outline Graphical User Interface (GUI) Exercise on this days topics.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
1 Word Processing Intermediate Using Microsoft Office 2000.
Adobe Flash Professional CS5 – Illustrated Unit A: Getting Started with Adobe Flash Professional.
Microsoft Excel Illustrated Introductory Workbooks and Preparing them for the Web Managing.
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
User Interface Components
Positioning Objects with CSS and Tables
Chapter A - Getting Started with Dreamweaver MX 2004
Program and Graphical User Interface Design
Chap 7. Building Java Graphical User Interfaces
Graphical User Interfaces -- Introduction
Program and Graphical User Interface Design
Chapter 2 Adding Web Pages, Links, and Images
Chapter 15: GUI Applications & Event-Driven Programming
Positioning Objects with CSS and Tables
TA: Nouf Al-Harbi NoufNaief.net :::
Presentation transcript:

3D Game Programming All in One By Kenneth C. Finney

Chapter 10 Creating GUI Elements

Creating GUI Elements GUI stands for Graphical User Interface Players use GUI screens to interact with the game software GUIs can display information to players GUIs can accept control and data inputs from players

Creating GUI Elements Push Buttons Radio Buttons Edit Boxes Check Boxes Menus Sliders

Creating GUI Elements Frames Labels Backgrounds

Creating GUI Elements Controls –allow the user to direct what the program does –mouse-click controls push buttons radio buttons –keyboard controls edit boxes

Creating GUI Elements GuiChunkedBitmapCtrl –display large images –breaks background image into pieces –usually used for background images for GUI screens

Creating GUI Elements GuiControl –Generic control container –Similar to frame container –Gathers together a collection of controls

Creating GUI Elements GuiButtonCtrl –Clickable control –Does not retain state information –Used as a command interface control –Accepts a text label

Creating GUI Elements GuiCheckBoxCtrl –Saves its current state information (checked or unchecked) –Analog of a locking push button switch –Toggles state to opposite condition when clicked –Accepts a text label

Creating GUI Elements GuiScrollCtrl –Used to make list displays that have one or two scroll bars –Vertical scroll bar on right –Horizontal scroll bar on bottom –Appearance of list and scroll bars is adjustable using properties

Creating GUI Elements GuiTextListCtrl –Displays 2D arrays of text strings –Cells can be resized –Adjustable columns –Would be used in a GuiScrollCtrl, for example –Can force duplicate rows to not be displayed

Creating GUI Elements GuiTextListCtrl –allows user to manually enter textual information –contents can be automatically stuffed into a script variable –built-in history function –built-in password character hiding

Creating GUI Elements Torque GUI Editor Content Editor Control Tree Control Inspector Tool Bar

Creating GUI Elements Torque GUI Editor Content Editor –Add controls –Select controls –Move controls –Resize controls

Creating GUI Elements Torque GUI Editor Control Tree –Lists controls in textual form –Shows controls in context of the control hierarchy –Can be used to select controls in the Content Editor

Creating GUI Elements Torque GUI Editor Control Inspector –Displays a control's properties –Allows user to manually change properties –The Apply button must be pressed to submit changes

Creating GUI Elements Torque GUI Editor Tool Bar –Create new controls –Align controls –Adjust control spacing –Create and save new GUI files

Creating GUI Elements Lab: Creating an Interface –Practice using the GUI editor –Create an original interface –Create and adjust controls –Manually edit control properties –Save an original interface –Test an interface with Torque using console commands

Summary GUI definition files—filename.gui GUI control files—filename.cs (they are regular script files) GUI Controls— interactive or display only Common GUI controls: GuiControl, GuiTextCtrl, GuiButtonCtrl, GuiCheckBoxCtrl, GuiScrollCtrl, GuiTextListCtrl, and GuiTextEditCtrl Use the GUI editor to create and adjust GUI interfaces and controls