Skip to content

A slingshot game created with Matter.js, a 2D physics engine written in JavaScript.

Notifications You must be signed in to change notification settings

emjose/slingshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

previous 100 days of code next

Slingshot Game


Slingshot Game

Table of Contents


#100DaysOfCode

Day 21: March 1, 2021

  • I love playing Angry Birds, and I followed a tutorial on creating a simple slingshot game with Matter.js.

  • Matter.js is a powerful 2D rigid body physics engine written in JavaScript.

  • This engine allows developers to create complex and dynamic interactions within their games and applications, making it a popular choice for game projects.


Installation

1. Git clone and cd into the repo folder:

git clone git@github.com:emjose/slingshot.git && cd slingshot

2. Run the command:

open index.html

3. Operate the slingshot, or directly move the Matter.js bodies with your cursor.


Live Site

Under Construction

• The Slingshot Game is best viewed or played on a desktop or laptop computer browser.

• The Slingshot Game is a progressive web app.

• The stack of shapes can be collapsed with the slingshot, or direct interaction with the mouse.


Resources


Let's Connect!

Twitter badge Linkedin badge Medium badge Instagram badge Gmail badge Portfolio badge Github badge

Back to Top