====== ScrollObject to ScrollObject Communication ======
Your ScrollObject might want to know what is going on in the world around it.... ce game. Imagine you had a tower in the form of a ScrollObject. It wants to know about the closest robot e
===== Creating Maps in ScrollEd =====
ScrollEd is a map/level editor that can be used with [[en:tutorials:orxscroll:introduction-orxscroll|Scroll]].
==== Compiling ScrollEd with Scroll ====
ScrollEd is included in the Scroll header files, so you don
====== Scrolling tutorial ======
===== Summary =====
See previous basic tutorials for more info about ba... his tutorial shows how to display a [[wp>Parallax_scrolling|parallax scrolling]].
As you can see, there's no special code for the [[wp>Parallax_scrolling|parallax scrolling]] itself.\\
Actually, orx's
====== The Binding of Objects in orx/Scroll ======
The code for this tutorial is available at https://github.com/orx/scroll-tutorial
===== What is "Object Binding"? =====
... behaviors of the object.
This means when an Orx/Scroll Object is created, it can automatically be set to... or the Development Version]].
===== Create a new Scroll Project =====
Before you begin this tutorial, yo
====== An Introduction to Scroll ======
===== What is Scroll? =====
Scroll is a C++ convenience layer built on top of orx.
===== Features =====
* Scroll supports “object binding” to custom classes. This
====== Creating your own orx/Scroll project using 'init' ======
You can easily generate an orx/Scroll project using ''init'' from the github version of... ave built Orx.
===== How to Create your own orx/Scroll project =====
There are two ways to create an orx/Scroll project. Firstly, using Interactive Mode:
init
====== Accessing the Scroll class from a ScrollObject ======
Being able to access common functions in the Scroll class is pretty essential in a Orx/Scroll based game. The ''Scroll'' class provides a singleton which can
====== Colliding ScrollObjects with Orx Objects ======
ScrollObject classes provides a lot of functionality and organisation fo... g Orx object.
For testing collisions between one ScrollObject and another, the class provides the ''OnCol... ' function eg:
<code c>
orxBOOL Truck::OnCollide(ScrollObject *_poCollider,
orx
hese for your game.
{{page>snippets:init_new_orx_scroll_project&nofooter&noeditbutton}}
===== Class for ... _
#include "mygame.h"
class ProgressBar : public ScrollObject
{
public:
protected:
void O... tion:
<code c>
void myGame::BindObjects()
{
ScrollBindObject<ProgressBar>("ProgressBar");
}
</code>... ogressBar");
</code>
And declare the progressBar ScrollObject pointer at the top of the the mygame.cpp fi
[+/-mod] [+/-movie] [+/-nuklear] [+/-remote] [+/-scroll] [+/-sndh]
- name: Project name (relative or f... ed on a web server, HTTP-only)=[no], optional
- scroll: C++ convenience layer with config-object binding... eate a [[en:tutorials:orxscroll:creating_your_own_scroll_project_using_init|Scroll-based]] or [[en:tutorials:ui:imgui|ImGui-based project]] (or both).
===== Scr
he default application configuration file for orx/Scroll ======
The format for bootstrapping the starting... ng_default_config_file|shown here]].
When an orx/Scroll game or application starts, the matching config d... hange this, add a ''Bootstrap'' prototype to your Scroll header:
<code cpp>
class MyGame : public Scroll<MyGame>
{
private:
virtual orxSTATUS Bootstrap() const;
====== Moving a ScrollObject along a curve segment ======
In this tutorial we'll go work through how to m... avel along a curve segment.
===== Set up an orx/Scroll project =====
You can follow [[en:tutorials:orxscroll:creating_your_own_scroll_project_using_init|this tutorial to help you set up a new orx/Scroll project]]. Once set up, create a ScrollObject cla
into separate documents.
</WRAP>
====== Xcode4 Scroll setup, Console-less apps and Resources ======
Or... /premake subdirectory of orx project tree.
===== Scroll Build Configuration in XCode 4 =====
If all ORX ... contains game project
./orx/ contains orx clone
./scroll/ contains Scroll clone
</code>
<sup>Note:</sup> The model above is great for keeping up to date with ext