<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.orx-project.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.orx-project.org/wiki/feed.php">
        <title>Orx Learning - en:examples</title>
        <description></description>
        <link>https://www.orx-project.org/wiki/</link>
        <image rdf:resource="https://www.orx-project.org/wiki/_media/favicon.ico" />
       <dc:date>2026-04-15T03:07:55+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/contributing?rev=1759253179&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/main?rev=1759253179&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/objects?rev=1759253179&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.orx-project.org/wiki/en/examples/writing_a_file?rev=1759253179&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.orx-project.org/wiki/_media/favicon.ico">
        <title>Orx Learning</title>
        <link>https://www.orx-project.org/wiki/</link>
        <url>https://www.orx-project.org/wiki/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/contributing?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Contributing to the Examples</title>
        <link>https://www.orx-project.org/wiki/en/examples/contributing?rev=1759253179&amp;do=diff</link>
        <description>Contributing to the Examples

If you would like to contribute an example, please follow the easy steps below:

Category

Please visit Examples and locate a suitable category. Click the category and move to the Example Headline section below.

If none exists you can make one with the following template:</description>
    </item>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/main?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Examples</title>
        <link>https://www.orx-project.org/wiki/en/examples/main?rev=1759253179&amp;do=diff</link>
        <description>Examples

Select a category below, or search for a topic.



Contributions very welcome.

----------

Categories

main 
Animation
main 
Cameras
main 
Color
main 
Config
main 
Clocks
main 
Debugging
main 
Display
main 
Drawing
main 
FX
main 
Input
main 
Maths and Vectors
objects 
Objects / Sprites
main 
Orx/Scroll
main 
Physics</description>
    </item>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/objects?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Object Examples</title>
        <link>https://www.orx-project.org/wiki/en/examples/objects?rev=1759253179&amp;do=diff</link>
        <description>Object Examples

create_object 
Create Object
object_get_set_rotation 
Get and Set Rotation on an Object
get_object_name 
Get the Name of an Object
coloring_an_object 
Coloring an Object
fixing_camera_to_object 
Fixing the Camera to an Object
object_with_children 
Object with Children
object_with_shadow 
Object shadow using a child
non_rotating_children 
Non-rotating Children
turning_or_steering 
Turning or Steering</description>
    </item>
    <item rdf:about="https://www.orx-project.org/wiki/en/examples/writing_a_file?rev=1759253179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-30T17:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Writing a file to disk</title>
        <link>https://www.orx-project.org/wiki/en/examples/writing_a_file?rev=1759253179&amp;do=diff</link>
        <description>Writing a file to disk

A short function to demonstrate writing strings to a file. If append (orxTRUE) is passed, the string is appended to the file. If orxFALSE is passed, the string overwrites the existing contents.


void AppendToFile(const orxSTRING string, orxBOOL append){
	orxS32 flags = orxFILE_KU32_FLAG_OPEN_APPEND | orxFILE_KU32_FLAG_OPEN_WRITE;
	if (append == orxFALSE){
		flags =  orxFILE_KU32_FLAG_OPEN_WRITE;
	}
	
	orxFILE *file = orxFile_Open (&quot;my_file_on_disk.txt&quot;, flags); 	
	orxFil…</description>
    </item>
</rdf:RDF>
