A physics-inspired 2D browser game for both mobile and desktop that involves an alien swinging from a rope to avoid obstacles in randomly generated, fully destructible levels. Click here to play!
On mobile, touch the screen and hold to swing from the alien's rope. A red disk will appear around the touch position. Move the finger out of this disk to fire bullets in the corresponding direction. Move the finger back on the disk to reload. Release to cut the rope.
Note: Due to the calculations done by the physics library p2.js
for the rope dynamics, the performance may vary on mobile. Pendulum runs smoothly on newer generation iPhones (tested on 6/7).
When playing the game using a desktop browser, press and hold SPACE
to swing from the alien's rope. While the rope is active, click anywhere within the game window to fire bullets in the corresponding direction. Release SPACE
to cut the rope.
Pendulum is based on the HTML5 game framework Phaser. It currently features 100 levels that are randomly generated based on Perlin noise (implemented in Python using the module noise
).
Pendulum uses the physics engine p2.js
to allow for realistic Tarzan-like rope dynamics. It further features fully destructible terrain together with a custom-made collision detection method. This enables the player to shoot tunnels into obstructed levels while swinging from the cave ceiling.
The game Pendulum itself is released under the MIT License. Please note that the Carrier Command bitmap font (PNG and XML files) is not covered by the MIT License. The font is part of the Phaser 2 Examples Repository and is therefore not to be used in commercial games. © 2017 Photon Storm Limited
Furthermore, I would like to attribute the following authors of great game graphics that I used as a basis for the pendulum graphics. The pendulum graphics fall under the MIT License. This is possible as the original graphics were released under the CC0 License.
-
The explosion sprites are based on these game effect sprites by Soluna Software.
-
The player graphics are based on the Platformer Graphics (Deluxe) by Kenney Vleugels.