John

New interactive showcase of game mechanics, algorithms, and effects

Recommended Posts


 

I've just launched a brand new collection of concrete examples for various game mechanics, algorithms, and effects. The examples include platformer movement, lighting, ballistics, gravity, and more. They are all implemented in JavaScript using the Phaser game engine, but the concepts and methods are general and can be adapted to any engine. Each section contains several different examples that progress in sequence from a very basic implementation to a more advanced implementation. Every example is interactive and responds to keyboard or mouse input (or touch).

 

My goal was to provide a helpful resource for other game developers, particularly those who are just getting started. Each example focuses on one concept and includes the source code for the implementation. They are written for clarity so that it is easier to understand the underlying concepts and apply them to your own work in your own engine. The example source code is MIT licensed and the included assets are Creative Commons licensed.

 

This is a work in progress. Contact me if you have questions, corrections, or suggestions. Please spread the word and thank you for visiting!

post-7323-0-46689800-1398092221.png

post-7323-0-01235900-1398092228_thumb.pn

post-7323-0-61678100-1398092229.png

Share this post


Link to post
Share on other sites

I think this is a great idea and your code seems clear and well commented. I think underneath what you have so far,  you should add a more indepth tutorial, breaking each bit down into baby steps. After all your target audience will be completely new and find many of the examples confusing.

Share this post


Link to post
Share on other sites

Really cool! After all these years of game development, I always wondered that there should be a repository for existing game mechanic algorithm.

Is there any way for people to contribute to?

Share this post


Link to post
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...

  • Recently Browsing   0 members

    No registered users viewing this page.