THÔNG TIN TÀI LIỆU
Thông tin cơ bản
| Tiêu đề | Learning Quartz Composer |
|---|---|
| Tác giả | Graham Robinson, Surya Buchwald |
| Trường học | Pearson Education |
| Chuyên ngành | Computer Animation |
| Thể loại | Handbook |
| Năm xuất bản | 2013 |
| Thành phố | Upper Saddle River |
| Định dạng | |
|---|---|
| Số trang | 181 |
| Dung lượng | 12,05 MB |
Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này
Nội dung
Ngày đăng: 15/03/2014, 02:20
Nguồn tham khảo
| Tài liệu tham khảo | Loại | Chi tiết | ||
|---|---|---|---|---|
| 8. Search for “Quartz” in your Library to bring up the four Quartz Composer–related items. Drag the first item—a Quartz Composer View—to the empty window titled “First-Particles” in Interface Builder (in Leopard, this window is labeled “QCView”). When you mouse over it with the Quartz Composer View in tow, it should zoom to the window a bit and present you with a green bubble with a plus sign inside. Resize the Quartz Composer View to fill the window | Sách, tạp chí |
|
||
| 12. In the Rendering Options section of the Inspector, check the box next to “For- ward all events.” This way, Quartz Composer will respond to your mouse | Sách, tạp chí |
|
||
| 1. Let’s prep an old file of ours. Open the Mouse-Following Particles patch you created in Chapter 7, or the one in the Lion section of this Chapter’s Part 1 folder on the Resource DVD. Disconnect the Mouse’s Left Button from HSL’s Alpha connection, and set the Alpha to 1. Save and close the composition | Sách, tạp chí |
|
||
| 2. Launch Xcode. You can find it in Applications/Xcode.app . TipIf this is the first time you have ever launched Xcode, you’ll be greeted by this: “Welcome to Xcode.” You can choose the option “Create a new Xcode project” instead of following the path File > New Project | Sách, tạp chí |
|
||
| 9. Now you need to set the attributes of this QCView. Open the Attribute Inspec- tor with the keyboard shortcut Command-1, or choose it from the Menu under Tools > Attribute Inspector. This Attribute Inspector is quite similar to the Inspector from Quartz Composer, isn’t it? Make sure you have selected the QCView in your window (it should be highlighted in blue) | Khác | |||
| 11. An Open dialog appears. Navigate to the folder where you saved the Particles composition you prepared at the beginning of this tutorial and choose Open | Khác | |||
| 13. To test it out, choose File > Simulate Interface from the toolbar or press Com- mand-R. You should see a window full of particles that respond to your mouse.If it’s not working, check that you loaded the new version, which doesn’t require the mouse button to be held down | Khác | |||
| 14. Quit the Simulator and you will return automatically to your project in Interface Builder. Save your project, and then choose File > Build and Go in Xcode | Khác | |||
| 15. This will send you back to Xcode and set the Build Automation tools in motion. In a few seconds, you should see your application pop up on the screen again.If it does, this means that Xcode has successfully built your application. Play around a bit to see that things are working, and then quit this app | Khác |
Xem thêm
TỪ KHÓA LIÊN QUAN
TÀI LIỆU CÙNG NGƯỜI DÙNG
TÀI LIỆU LIÊN QUAN