Jump to content

Free Source Code of 2D/3D Games and examples in HTML5/WebGL


8Observer8
 Share

Recommended Posts

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 Geary
https://github.com/corehtml5canvas/code

2012 - 06 - WebGL Beginner's Guide - Diego Cantor, Brandon Jones
https://www.packtpub.com/code_download/9978

2012 - 11 - Foundation Game Design with HTML5 and JavaScript - Rex van der Spuy
http://www.apress.com/9781430247166

2012 - 12 - Pro HTML5 Games - Aditya Ravi Shankar
http://www.apress.com/9781430247104

2013 - 03 - The Web Game Developer's Cookbook - Evan Burchard
https://github.com/EvanBurchard/jsarcade

2013 - 07 - WebGL Programming Guide. Interactive 3D Graphics Programming with WebGL (OpenGL) -  Kouichi Matsuda, Rodger Lea
https://sites.google.com/site/webglbook/

2014 - 02 - Programming 3D Applications with HTML5 and WebGL - Tony Parisi
http://shop.oreilly.com/product/0636920029205.do

2014 - 03 - HTML5 Games Creating Fun with HTML5, CSS3 and WebGL - 2nd Edition - Jacob Seidelin
http://www.wiley.com/WileyCDA/WileyTitle/productCd-1118855388.html

2014 - 03 - Interactive Computer Graphics - 7th Edition -  Edward Angel, Dave Shreiner
https://github.com/esangel/WebGL

2014 - 04 - WebGL Game Development - Sumeet Arora
https://www.packtpub.com/code_download/16881

2014 - 05 - WebGL HOTSHOT - Mitch Williams
https://www.packtpub.com/code_download/15622

2014 - 07 - HTML5 Game Development HOTSHOT - Makzan
https://www.packtpub.com/code_download/17286

2015 - 03 - Build an HTML5 Game. A Developer's Guide with CSS and JavaScript - Karl Bunyan
http://buildanhtml5game.com/
https://www.nostarch.com/html5game

2015 - 05 - Advanced Game Design with HTML5 and JavaScript
http://www.apress.com/9781430258001

2015 - 09 - Build your own 2D Game Engine - Kelvin Sung
http://www.apress.com/9781484209530

2016 - 07 - Mastering HTML5 Game Development - Daniel Albu
https://www.packtpub.com/code_download/26345

Multiplayer in Node.js + socket.io:

2013 - 02 - Socket.IO Real-time Web Application Development - Rohit Rai
https://www.packtpub.com/code_download/11391

2015 - 05 - Multiplayer Game Development with HTML5 - Rodrigo Silveira
https://www.packtpub.com/code_download/21527

Link to comment
Share on other sites

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 Lea
https://sites.google.com/site/webglbook/

I added more examples from the books to my first post.
 

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 5 weeks later...
  • 5 months later...
  • 1 month later...
  • 2 years later...

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.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...