realtlacitka.png (1143 bytes) Real3D Amiga Environment Real3D Amiga Tutorials Real3D Amiga Projects Real3D Amiga Macros Real3D Amiga Other Back to Real3D Amiga home page

6.22.1 An Easy Way to Write a RPL Procedure

The easiest way to write such a procedure is to use the Macro function. So, let's try this:

1. Create a sphere.

2. Record a macro in which you move the object a bit.

3. Create a RPL method to the same level with the sphere.

4. Add the following tag to the method:

                   SRPL "t:macro.rpl" LOAD

Play the animation and the sphere moves. The RPL function LOAD loads the current macro "t:macro.rpl" and executes it.

Whenever you use this method, there must be the tag SRPL associated with it. The contents of this tag is executed in each frame and it must be a RPL program. Usually the tag contains a function call to the actual procedure, which is a speed-efficient way.

ghh don'tpanic