This list contains the actions that must be performed for the current event. Between the events and the actions there is the action list. In the next chapter you will find descriptions of all the actions and what they do. They are grouped in a number of tabbed pages. At the right there are all the actions represented by little icons. You can change the selected event by clicking on it. This is the event we are currently changing. Below you find a complete list of the different events plus descriptions. For example, for the keyboard event you must select the key. Sometimes a menu pops up with extra choices. Here you select the event you want to add. A form will appear with all different types of events. You can add events to it by pressing the button labeled Add Event. In the middle of the object property form there is a list of events to which the object must react. For the events where something must be done you can use a very simple drag-and-drop approach to indicate the actions. First of all, for most events the object does not have to do anything. This may sound complicated but is actually very easy. For each object you must indicate to which events it responds and what actions it must perform when the event occurs. The instances can then react to these messages by executing certain actions. Whenever something happens in the game the instances of the objects get events (kind of messages telling that something has happened). Key Terms Lots of tabs Actions are what the object does after an eventġ1 Events Key Press is used when you want a single event when you press a key Keyboard is used when you want to hold a key down Events Game Maker uses what is called an event driven approach. Key Terms Events are things that happen to objectsġ0 Actions are what the object does after an event SprName …so they have to wear costumes, called… Use the same name as the object…ĩ Events are things that happen to objects Key Terms Objects do things in games NAMING CONVENTION objName But objects are invisible… Use meaningful names…Ĩ Key Terms Sprites are the costumes that objects wear NAMING CONVENTION Key Terms Games take place in rooms NAMING CONVENTION Level01 You can think of rooms as levels in a game…ħ Objects do things in games But objects are invisible… On Moodle, copy & learn 1 How to Make Games ĥ User Interface Resource Explorer GameMaker “Form”Ħ Games take place in rooms You can think of rooms as levels in a game… Game Maker User Interface & Bouncing Ball Game 1 UI & Key Terms 2 Gather Resources 3 Sprites & Objects 4 Sounds 5 First Room 6 Events & Actions 7 Testing 8 ExtensionsĢ Today’s Objectives 1 Start to have an understanding of event driven programming 2 Know the interface of Game Maker and be able to add resources 3 Make objects that has events that triggers actions Practical Tasks: Make a bouncing ball basic gameģ Homework Subject Homework Date Done Computing Presentation on theme: "User Interface & Bouncing Ball Game"- Presentation transcript:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |