summaryrefslogtreecommitdiffhomepage
path: root/examples.html
blob: 3f099199fc6120c984f8868b146eddee6af6f531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <title>raylib - examples</title>

        <meta name="title" content="raylib - examples">
        <meta name="description" content="raylib is a simple and easy-to-use library to enjoy videogames programming. Check the full set of raylib examples">
        <meta name="keywords" content="raylib, videogames, programming, C, C++, library, learn, study, simple, easy, free, open source, raysan">
        <meta name="viewport" content="width=device-width">

        <!-- Open Graph metatags for sharing -->
        <meta property="og:title" content="raylib - examples"/>
        <meta property="og:image" content="https://www.raylib.com/common/img/raylib_logo_card.png"/>
        <meta property="og:url" content="https://www.raylib.com" />
        <meta property="og:site_name" content="raylib"/>
        <meta property="og:description" content="Check the full set of raylib examples... they are amazing!"/>

        <link rel="stylesheet" type="text/css" href="common/main.css">
        <link rel="icon" href="favicon.ico" />

        <link rel="stylesheet" type="text/css" href="common/examples.css">

        <!-- NOTE: JavaScript code added at the end of body! -->

        <!-- Enabling HTML5 tags for older IE browsers -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <![endif]-->
    </head>

    <body>
        <script src="common/common.js" defer></script>
        <div class="header-container">
            <div class="header">
                <a id="logo" href="index.html"></a>
                <div class="nav-container">
                    <div id="social">
                        <a id="twitter" href="https://www.twitter.com/raysan5" target="_blank"></a>
                        <a id="discord" href="https://discord.gg/raylib" target="_blank"></a>
                        <a id="twitch" href="https://www.twitch.tv/raysan5" target="_blank"></a>
                        <a id="kofi" href="https://ko-fi.com/raysan5" target="_blank"></a>
                        <a id="itchio" href="https://raysan5.itch.io" target="_blank"></a>
                        <a id="handmade" href="https://raylib.handmade.network/" target="_blank"></a>
                        <a id="reddit" href="https://www.reddit.com/r/raylib/" target="_blank"></a>
                        <a id="youtube" href="https://www.youtube.com/c/raylib" target="_blank"></a>
                        <a id="patreon" href="https://www.patreon.com/raylib" target="_blank"></a>
                        <a id="redbubble" href="https://www.redbubble.com/shop/ap/78130012" target="_blank"></a>
                        <a id="github" href="https://github.com/raysan5/raylib" target="_blank"></a>
                    </div>
                    <div class="menu">
                        <a href="index.html">about</a>
                        <div id="active">examples</div>
                        <a href="games.html">games</a>
                        <a href="cheatsheet/cheatsheet.html">cheatsheet</a>
                        <a id="wiki" href="https://github.com/raysan5/raylib/wiki">wiki</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="page">
            <!--[if lt IE 7]>
                <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> or <a href="https://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
            <![endif]-->

            <div class="content">
                <p>raylib examples are organized by colors depending on the raylib module they focus.</p>
                <p>Click on the module to filter examples:</p>
                <br>

                <!--<div class="filter legendButton" data-filter="all">ALL</div> -->
                <div id="filter_menu">
                    <div class="filter legendButton" id="core" data-filter=".fcore">core</div>
                    <div class="filter legendButton" id="shapes" data-filter=".fshapes">shapes</div>
                    <div class="filter legendButton" id="textures" data-filter=".ftextures">textures</div>
                    <div class="filter legendButton" id="text" data-filter=".ftext">text</div>
                    <div class="filter legendButton" id="models" data-filter=".fmodels">models</div>
                    <div class="filter legendButton" id="shaders" data-filter=".fshaders">shaders</div>
                    <div class="filter legendButton" id="audio" data-filter=".faudio">audio</div>
                </div>

                <!-- Items container, filled when loading -->
                <div id="container"></div>

            </div>

            <div class="footer">
                <p>Webpage hosted in <a href="https://github.com/raysan5/raylib.com">GitHub</a>, for issues and improvements <a href="https://github.com/raysan5/raylib.com">check it out</a>!</p>
            </div>

        </div>

        <!-- Add jQuery library -->
        <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>

        <!-- Add jQuery easing plugin -->
        <script src="common/libs/jquery.easing.1.3.js"></script>

        <!-- Add fancyBox main JS and CSS files -->
        <script src="common/libs/fancybox/jquery.fancybox.js"></script>
        <link rel="stylesheet" type="text/css" href="common/libs/fancybox/jquery.fancybox.css" media="screen" />

        <!-- Add Button helper -->
        <link rel="stylesheet" type="text/css" href="common/libs/fancybox/helpers/jquery.fancybox-buttons.css" />
        <script src="common/libs/fancybox/helpers/jquery.fancybox-buttons.js"></script>

        <!-- Add jQuery Mix-It Up plugin -->
        <script src="https://cdn.jsdelivr.net/jquery.mixitup/latest/jquery.mixitup.min.js"></script>

        <!-- Add own script code -->
        <script src="common/examples.js"></script>

        <!-- Google Analytics tracking code -->
        <script>
            (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
            })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

            ga('create', 'UA-45733555-1', 'raylib.com');
            ga('require', 'linkid', 'linkid.js');
            ga('send', 'pageview');
        </script>
    </body>
</html>