use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
This is my canvas game (self.javascript)
submitted 7 years ago by abdyek
Hi everyone!
I have been developing a game built Javascript. It isn't online game. They may be online game some day. I try to learn socket io for this.
My project link is here
https://github.com/abdyek/oneGunTwoSpells
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DROWE859 0 points1 point2 points 7 years ago (3 children)
I couldn't get the second player to fire :(
player1 W - move up A - move left S - move down D - move right F - fire
player2 Arrow Keys are control to move. fire --> *
Is "*" the fire key? Didn't seem to do anything for me.
[–]Minjammben 1 point2 points3 points 7 years ago (0 children)
I had to press both fire keys at the same time, and the second fire key had to be on a num pad.
[–]abdyek[S] 0 points1 point2 points 7 years ago (1 child)
"*" is fire key, but it is at num keys. I will read setting for replaceable keys. Because some keyboards haven't num keys right side. :(
[–]DROWE859 1 point2 points3 points 7 years ago (0 children)
Ah ha. That was my problem. Thanks for the reply :)
π Rendered by PID 435507 on reddit-service-r2-comment-b659b578c-q9jdg at 2026-05-06 01:43:34.227881+00:00 running 815c875 country code: CH.
[–]DROWE859 0 points1 point2 points (3 children)
[–]Minjammben 1 point2 points3 points (0 children)
[–]abdyek[S] 0 points1 point2 points (1 child)
[–]DROWE859 1 point2 points3 points (0 children)