WEBLEB
Home
AI Editor
Login
Pro
English
English
Français
Español
Português
Deutsch
Italiano
हिंदी
n-gon: Matter.js Physics Side-Scrolling Game
11
iroger7
Open In Editor
Video
Publish Your Code
0
Recommended
27 January 2026
Elastic Face Game HTML: David Li's Interactive Art
31 January 2026
People Playground HTML5 Game Loader
15 January 2026
Baldi's Basics Remastered: WebGL Game Loader
HTML
Copy
n-gon
experiment
training
settings
combat difficulty:
easy
normal
hard
why?
limit frames per second:
no cap
72 fps
60 fps
45 fps
30 fps
randomization seed:
include community maps:
banned levels:
classic n-gon:
mech: 2014
spacetime: 2015
ballistics: 2015
portal: 2016
side scroller: 2016
side scroller: 2016
current version
controls
To change controls click a box
and press an unused key.
FIRE
F
MouseLeft
FIELD
SPACE
MouseRight
JUMP
W
ArrowUp
CROUCH
S
ArrowDown
LEFT
A
ArrowLeft
RIGHT
D
ArrowRight
GUN →
Q
MouseWheel
GUN ←
E
MouseWheel
PAUSE
P
TESTING
T
reset
to default keys
updates
about
Chat about n-gon in the
discord
.
Let me know about ideas, or bugs.
Github
Github
hosts n-gon's 2.5MB source code.
It's written in JavaScript, CSS, and HTML and uses the matter.js 2-D physics library.
Q
W
E
A
S
D
switch
guns
move
fire
field
CSS
Copy
/* Replace with your CSS Code (Leave empty if not needed) */
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */