This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:orx:tutorials:community:acksys:scroll0 [2012/05/21 21:20 (12 years ago)] – Added sections for TOC acksys | en:tutorials:orxscroll:introduction-orxscroll [2022/07/14 05:28 (22 months ago)] (current) – [Before You Begin] sausage | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== An Introduction to Scroll ====== | + | ====== An Introduction to Scroll ====== |
===== What is Scroll? ===== | ===== What is Scroll? ===== | ||
Line 8: | Line 8: | ||
* Scroll supports “object binding” to custom classes. This means when a Scroll Object is created, it can automatically be set to use a C++ of choice for its implementation. This makes it easy to implement behavior that is specific to certain object types. | * Scroll supports “object binding” to custom classes. This means when a Scroll Object is created, it can automatically be set to use a C++ of choice for its implementation. This makes it easy to implement behavior that is specific to certain object types. | ||
* Additionally, | * Additionally, | ||
- | * Scroll supports saving and loading of .map files for easier Scene management. Scroll includes an embedded Map Editor called ScrollEd. | + | * Scroll supports saving and loading of .map files for easier Scene management. Scroll includes an embedded |
- | ===== Before You Begin ===== | + | {{page> |
- | + | ||
- | This tutorial assumes proficiency with Orx. In particular, you should be comfortable creating a new Orx project as a standalone application. | + | |
You should also be familiar with the concepts of inheritance and polymorphism and how to use them in C++. | You should also be familiar with the concepts of inheritance and polymorphism and how to use them in C++. | ||
- | ===== Trouble? === | + | ===== Trouble? |
If you encounter trouble at runtime, check the console log output or debug assertions for error messages. Make sure your Orx config .ini file is loading at runtime and is complete. At a minimum, the config file must define the Display, MainViewport, | If you encounter trouble at runtime, check the console log output or debug assertions for error messages. Make sure your Orx config .ini file is loading at runtime and is complete. At a minimum, the config file must define the Display, MainViewport, | ||
Line 24: | Line 22: | ||
===== Getting the Sources ===== | ===== Getting the Sources ===== | ||
- | Getting started with Scroll is easy. iarwain maintains the latest version of Scroll in a Bitbucket | + | Getting started with Scroll is easy. Scroll |
- | If you use the Mercurial version control system, you can pull the latest version of Scroll with this command: | + | You can clone the latest version of Scroll with this command: |
- | < | + | < |
- | Otherwise, you can download the source code directly from Bitbucket | + | Otherwise, you can download the source code directly from GitHub |
===== Creating the Project ===== | ===== Creating the Project ===== | ||
- | First, create | + | You can find instructions for this here: [[en: |
- | Then, extract the Scroll files to their own directory | + | Then, extract the Scroll files to their own directory. Add that directory to the include path of the Orx project. |
===== About the Scroll class ===== | ===== About the Scroll class ===== | ||
Line 121: | Line 119: | ||
This is just the same class as the standalone tutorial, you might be thinking. So far, you’re correct. What we’ve created in this tutorial is the bare minimum running Scroll project. The advantages of Scroll come in all the other functions available in the Scroll classes. Look into the header files to see what is available in the Scroll code; these features will be covered in future tutorials. | This is just the same class as the standalone tutorial, you might be thinking. So far, you’re correct. What we’ve created in this tutorial is the bare minimum running Scroll project. The advantages of Scroll come in all the other functions available in the Scroll classes. Look into the header files to see what is available in the Scroll code; these features will be covered in future tutorials. | ||
- | The next tutorial will introduce object creation (the Scroll way) and object binding. | + | The [[en: |