-
What is Alice?
Alice is a programming environment that programs characters & objects in a virtual world using 3-dimensional space with each object containing properties.
-
What is an object?
Anything that can be represented by data in the memory of a computer and manipulated by a computer program.
-
Computer Program
A step-by-step set of instructions that tells a computer how to perform specific tasks
-
Object
Can be tangible or abstract
-
Properties
Describe the object, weight, location and direction
-
Object methods
Programs that manipulate the properties of an object
-
Class of objects
Set of similar objects that each have the same properties and methods but may have different values (like might be taller)
-
Instance
Each individual object is called an instance
-
Instantiation
The process of adding an individual object to a world
-
OOP
Object orientated programming
-
IDE
Integrated Development Environment--a computer program that is used to facilitate the writing of other computer programs has a Text editor, debugger and object library
-
Alice IDE
Alice interface
-
Function
Computes & returnes a value
-
Properties
- Describe the object in some way
- color
- position
- weight
-
Object method
- Programs that manipulate the properties on an object
- ex:
- Turn
-
State
Values that are stored in the properties of any one object
-
Object tree
- Has four object titles
- World
- Camera
- Light
- Ground
-
Detail area
Shows properties, methods and functions
-
Encapsulated methods
- Can be changed within other programs, but they cannot be changed or edited because their details are hidden
- No edit button
-
Primitive Method
Example of Encapsulated
-
Editor Area
Methods are assembled here by clicking & dragging titles
-
Events Area
Shows existing events & is used to create new events
-
Events
- Consists of a condition, called an event trigger & the name of a method called an event handler
- Ex:
- Pressing the "s" key
-
Clipboard icon
Used to copy instruction tiles in Alice methods drag & drop it
-
Object tree
To the left of the World window, shows the objects of the current Alice World
-
Event driven software
Software with events where user can manipulate with mouse & keyboard
-
User Created Methods
Has an edit button and user can change behaviors
|
|