diff options
| author | raysan5 <[email protected]> | 2021-02-02 11:42:07 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-02-02 11:42:07 +0100 |
| commit | 2347efdb62eb634f581c129593213f90d4975b4a (patch) | |
| tree | 2896d204edf6e6904b5050941042e4785a034573 /common | |
| parent | f3170c82c5e84c00f1354bdb1f60004ffd6a07c2 (diff) | |
| download | raylib.com-2347efdb62eb634f581c129593213f90d4975b4a.tar.gz raylib.com-2347efdb62eb634f581c129593213f90d4975b4a.zip | |
Add new game to web
Diffstat (limited to 'common')
| -rw-r--r-- | common/games.js | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/common/games.js b/common/games.js index 45d2768..3ce9e1f 100644 --- a/common/games.js +++ b/common/games.js @@ -22,7 +22,8 @@ $(document).ready(function() { 'game_wave_collector', 'game_transmission', 'game_roomba', - 'game_repair']; + 'game_repair', + 'game_retro_maze_3d']; var exampleDesc = [ 'arkanoid', @@ -43,7 +44,8 @@ $(document).ready(function() { 'Wave Collector', 'Transmission Mission', 'Cat vs Roomba', - 'RE-PAIR']; + 'RE-PAIR', + 'RETRO MAZE 3D']; for (var i = 0; i < exampleName.length; i++) { @@ -53,17 +55,7 @@ $(document).ready(function() { if (filterType == 'sample') linkTag = '<a class="fancybox fancybox.iframe" href="games/loader.html?name=' + exampleName[i] + '" title="' + exampleDesc[i] + '">'; else if (filterType == 'game') linkTag = '<a target="_blank" href="games/' + exampleName[i].substring(5) + '.html" title="' + exampleDesc[i] + '">'; - else if (filterType == 'user') - { - switch (exampleName[i]) - { - case 'user_super_red_rope': linkTag = '<a target="_blank" href="https://kurnic.itch.io/super-red-rope-puzzles" title="' + exampleDesc[i] + '">'; break; - case 'user_taptojamp': linkTag = '<a target="_blank" href="http://marcmde.github.io/TapToJAmp_v2_0/" title="' + exampleDesc[i] + '">'; break; - case 'user_funwithsat': linkTag = '<a target="_blank" href="http://marcmde.github.io/FunWithSATCollisions_v_1_0_Browser/" title="' + exampleDesc[i] + '">'; break; - default: break; - } - } - + $('#container').append( '<div class="mix f' + filterType + '">' + linkTag + '<img width="400" height="225" src="../games/img/' + exampleName[i] + '.png"><div class="extext"><p>' + exampleDesc[i] + '</p></div></a>' + |
