Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Howdy again friend!

I am thinking of using your nswengine to experiment with making a quirky lo-fi platforming game. A fool's errand, to be certain, but it would surely make for an interesting project!

Is there a way to implement the W, A, S, D or arrow keys to select choices? In so doing, one could theoretically use this as a d-pad that is more suitable for a project of this scope and it may even extend the engine in a great way!

No pressure on implementation, just a pipedream of mine and you can take it or leave it--my feelings will remain intact! :)

Nswengine is such an awesome little tool and I am excited to explore it further.

hi Outgrabe! it is a fool’s errand and i can almost smell the suffering you would have to go through to achieve such a thing, but it is not in my power to stop you!

the engine already accepts arrow keys input to select choices, but if you want for it to accept both arrow keys AND wsad input, then do this:

  1. download the current source using the download button on this page
  2. go to this file https://github.com/pebonius/nswengine/blob/wsad_keys/source/nswengine.js
  3. use the “copy raw file” button at the top to copy the content of the file
  4. replace the content of the nswengine.js file in your source with the copied content

when you run the game, it should then accept both arrow keys and wsad input!