8Observer8 Posted August 24, 2016 Share Posted August 24, 2016 Hi, Please, attach achieves to a free source code of 2D Games in HTML5 (or examples). Or give a link where one could download the source code. Maybe you can give a source code of your games? But I want only with the rendering context of the canvas: "webgl" or "2d" (without using of frameworks like: babylon.js and so on) Free Source Code from books: 2012 - 05 - Core HTML5 Canvas Graphics, Animation, and Game Development - David Gearyhttps://github.com/corehtml5canvas/code 2012 - 06 - WebGL Beginner's Guide - Diego Cantor, Brandon Joneshttps://www.packtpub.com/code_download/9978 2012 - 11 - Foundation Game Design with HTML5 and JavaScript - Rex van der Spuyhttp://www.apress.com/9781430247166 2012 - 12 - Pro HTML5 Games - Aditya Ravi Shankarhttp://www.apress.com/9781430247104 2013 - 03 - The Web Game Developer's Cookbook - Evan Burchardhttps://github.com/EvanBurchard/jsarcade 2013 - 07 - WebGL Programming Guide. Interactive 3D Graphics Programming with WebGL (OpenGL) - Kouichi Matsuda, Rodger Leahttps://sites.google.com/site/webglbook/ 2014 - 02 - Programming 3D Applications with HTML5 and WebGL - Tony Parisihttp://shop.oreilly.com/product/0636920029205.do 2014 - 03 - HTML5 Games Creating Fun with HTML5, CSS3 and WebGL - 2nd Edition - Jacob Seidelinhttp://www.wiley.com/WileyCDA/WileyTitle/productCd-1118855388.html 2014 - 03 - Interactive Computer Graphics - 7th Edition - Edward Angel, Dave Shreinerhttps://github.com/esangel/WebGL 2014 - 04 - WebGL Game Development - Sumeet Arorahttps://www.packtpub.com/code_download/16881 2014 - 05 - WebGL HOTSHOT - Mitch Williamshttps://www.packtpub.com/code_download/15622 2014 - 07 - HTML5 Game Development HOTSHOT - Makzanhttps://www.packtpub.com/code_download/17286 2015 - 03 - Build an HTML5 Game. A Developer's Guide with CSS and JavaScript - Karl Bunyanhttp://buildanhtml5game.com/https://www.nostarch.com/html5game 2015 - 05 - Advanced Game Design with HTML5 and JavaScripthttp://www.apress.com/9781430258001 2015 - 09 - Build your own 2D Game Engine - Kelvin Sunghttp://www.apress.com/9781484209530 2016 - 07 - Mastering HTML5 Game Development - Daniel Albuhttps://www.packtpub.com/code_download/26345 Multiplayer in Node.js + socket.io: 2013 - 02 - Socket.IO Real-time Web Application Development - Rohit Raihttps://www.packtpub.com/code_download/11391 2015 - 05 - Multiplayer Game Development with HTML5 - Rodrigo Silveirahttps://www.packtpub.com/code_download/21527 hotfeet and plicatibu 2 Quote Link to comment Share on other sites More sharing options...
mattstyles Posted August 25, 2016 Share Posted August 25, 2016 https://github.com/mozilla/BrowserQuest It might be old but its still a great example, and its all vanilla, no frameworks (of course, they effectively create their own framework/library, the same as anyone else). 8Observer8 and plicatibu 2 Quote Link to comment Share on other sites More sharing options...
harrywatson Posted August 28, 2016 Share Posted August 28, 2016 http://corehtml5canvas.com/ plicatibu and 8Observer8 2 Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted August 28, 2016 Author Share Posted August 28, 2016 Very good posts! Thanks! I need more examples. I want to find a source code of a planformer game like Bros. Super Mario 2D in WebGL (or 2D context of canvas) I am reading now this very nice book: 2013 - 07 - WebGL Programming Guide. Interactive 3D Graphics Programming with WebGL (OpenGL) - Kouichi Matsuda, Rodger Leahttps://sites.google.com/site/webglbook/ I added more examples from the books to my first post. plicatibu 1 Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted September 2, 2016 Author Share Posted September 2, 2016 This is very good book: 2015 - 10 - Build your own 2D Game Engine and Create Great Web Games This is WebGL. You can download code examples from link above. I will make my own 2D game engine that will base on the game engine discribted in the book. I will also study Unity WebGL, socket.io (node.js) by making little demos. You can test my demo (use RBM for movement): https://green-apps.herokuapp.com/ I make it on the base of this course: Unity Multiplayer Game Development with Node | Pluralsight (April 2016) Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted September 16, 2016 Author Share Posted September 16, 2016 webgl-obj-loader-gh-pages --> click to run Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted October 14, 2016 Author Share Posted October 14, 2016 Very usefull link: https://github.com/DaRaFF/jsgamewiki Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted November 14, 2016 Author Share Posted November 14, 2016 Free mobile HTML5 web games with open source code: http://openhtml5games.com/ Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted May 11, 2017 Author Share Posted May 11, 2017 WebGL2 Examples: https://github.com/omarhuseynov011/GraphicsExperiments Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted June 15, 2017 Author Share Posted June 15, 2017 Snake 2D in WebGL TypeScript from Anton Te Tutorial I translated a code from the Anton's tutorial Writing Snake game in 10 minutes to TypeScript and WebGL 1.0. The original code is made in C++, OpenGL 1.5, FreeGLUT Click to Play Source code on github Quote Link to comment Share on other sites More sharing options...
MasterGuitarist Posted December 25, 2019 Share Posted December 25, 2019 Hi, I am just wondering if there is someone who can give me a link where I can download open source html5 game source codes. I am creating a webview based app. The app is actually not a gaming app but more of a reading app. I just want to add few games on it. I tried searching the internet and I came across the link above (http://openhtml5games.com/) But unfortunately, most results I am getting are for desktop. Some of the html5 source codes will launch but will be useless because there is no onscreen button. If you can help me, please give me a link where I can find a lists of source codes of html5 games that will work on an android phone ( for touchscreen devices ). My reading app has a web portal ( where the users can visit different websites ) and a game portal ( where they can play html5 games anytime ) My target is atleast 15 or 20 games, I only have gotten 4. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
8Observer8 Posted January 21, 2020 Author Share Posted January 21, 2020 (edited) Packtpub broke links like this: https://www.packtpub.com/code_download/15622 Edited January 21, 2020 by 8Observer8 Quote Link to comment Share on other sites More sharing options...
skeptic saiyan Posted May 10, 2020 Share Posted May 10, 2020 On 12/25/2019 at 9:31 AM, MasterGuitarist said: Hi, I am just wondering if there is someone who can give me a link where I can download open source html5 game source codes. I am creating a webview based app. The app is actually not a gaming app but more of a reading app. I just want to add few games on it. I tried searching the internet and I came across the link above (http://openhtml5games.com/) But unfortunately, most results I am getting are for desktop. Some of the html5 source codes will launch but will be useless because there is no onscreen button. If you can help me, please give me a link where I can find a lists of source codes of html5 games that will work on an android phone ( for touchscreen devices ). My reading app has a web portal ( where the users can visit different websites ) and a game portal ( where they can play html5 games anytime ) My target is atleast 15 or 20 games, I only have gotten 4. Thanks in advance. have u found the games free source codes, I am looking for the same. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.